mirror of
https://github.com/jwadow/kiro-gateway.git
synced 2026-04-25 01:15:57 +03:00
[GH-ISSUE #78] bug(docker): kiro-cli SQLite volume mounted as read-only breaks token persistence #50
Labels
No labels
bug
bug
enhancement
enhancement
fixed
fixed
invalid
needs-info
needs-testing
pull-request
question
upstream
wontfix
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/kiro-gateway-jwadow#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kilhyeonjun on GitHub (Feb 12, 2026).
Original GitHub issue: https://github.com/jwadow/kiro-gateway/issues/78
Bug Description
When using
KIRO_CLI_DB_FILEauthentication with Docker, the documentation anddocker-compose.ymlrecommend mounting the kiro-cli SQLite database as read-only (:ro). However,auth.pywrites refreshed tokens back to the SQLite database via_save_credentials_to_sqlite(), which fails silently with:Impact
Connection errororHTTP 504Affected Files
All documentation recommends
:rofor kiro-cli SQLite mount:docker-compose.ymlL52README.mdL343AGENTS.mdL200docs/ja/README.mdL343docs/ru/README.mdL343docs/pt/README.mdL343docs/zh/README.mdL343docs/ko/README.mdL343docs/id/README.mdL343docs/es/README.mdL343Code Reference
kiro/auth.py:_save_credentials_to_sqlite()— writes refreshed tokens to SQLiteExpected Behavior
kiro-cli SQLite volume should be mounted as
:rw(or without flag, which defaults to rw) so that refreshed tokens can be persisted.Suggested Fix
Change kiro-cli SQLite mount from
:roto:rwin all documentation anddocker-compose.yml.