Skip to content

Preserve OAuth connection IDs during vault migration - #484

Merged
czpython merged 1 commit into
mainfrom
codex/vault-connection-ids
Sep 8, 2026
Merged

Preserve OAuth connection IDs during vault migration#484
czpython merged 1 commit into
mainfrom
codex/vault-connection-ids

Conversation

@czpython

@czpython czpython commented Sep 8, 2026

Copy link
Copy Markdown
Owner

The vault migration assigned new IDs to OAuth grants. Inbox Manager and X Me retain the old connection IDs, so their accounts lose access after an upgrade. Preserve each OAuth connection ID when inserting its vault row.

Verified the full upgrade on a production database copy: all five OAuth IDs and refresh tokens survive, both app account references resolve, and all vault entries decrypt. Ruff lint and diff checks pass. The format check reports existing formatting outside this change. No tests added or run.

Fixes DRU-495.

@czpython
czpython merged commit ea8f21a into main Sep 8, 2026
2 checks passed
@czpython
czpython deleted the codex/vault-connection-ids branch September 8, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant