Repository navigation
fix(accounts): key imported credentials by workspace - #865
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a81c814b7b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
a81c814 to
4256aa6
Compare
4256aa6 to
21dcebf
Compare
21dcebf to
c03317b
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c03317ba4b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
c03317b to
4acd470
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4acd470e95
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
4acd470 to
7760f45
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7760f45c23
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
7760f45 to
847d926
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 847d9263fc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
847d926 to
af2cd5e
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: af2cd5ec4a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
af2cd5e to
c47d550
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Hermes owner-review blocker for PR #865:
Non-blocking follow-up: the usage-refresh mismatch guard currently returns |
|
Hermes owner-review blocker for current head
CI/OpenSpec/Codex are currently green, but these are semantic/product blockers from the folded changes, so I would hold merge until addressed. |
- refresh account tokens before force-probe requests and recover rate_limited accounts after fresh usage - invalidate account/API-key routing caches after OAuth identity-slot persistence - honor backend duplicate indicators across account/dashboard surfaces - preserve privacy blur and accessible labels in the auth export dialog - align unified auth export OpenSpec token field casing
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8e1647b9ea
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Keep deterministic-id workspace rows attached to their learned workspace metadata when a later OAuth reauth payload lacks workspace claims. This updates the existing slot instead of creating an unknown-workspace copy and preserves workspace label/seat metadata while still refreshing credentials and plan/status fields. Add an integration regression for the deterministic-id legacy row path flagged by Codex review.
|
@codex review |
Merge the account workspace identity migration with the request-log failure metadata head from current main so PR Soju06#865 keeps Alembic at a single head after updating the branch.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 944341e4d1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- Treat same-email/same-workspace rows as occupied only when the incoming credential has no ChatGPT identity or the existing row has no identity fallback - Preserve distinct ChatGPT identities in the same workspace during workspace discovery - Return a structured dashboard conflict when account probe token refresh fails instead of surfacing a 500 - Cover both Codex review regressions with integration tests
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Key imported ChatGPT credentials by workspace so one email can hold distinct personal, team, and workspace credential slots Preserve workspace metadata across import, OAuth, token refresh, summaries, usage refresh, and account auth export flows Add targeted per-account force probe recovery and regression coverage for workspace slot reconciliation, duplicate handling, export privacy/accessibility, and probe refresh failures Validation: GitHub CI green at a65a70e, latest Codex review clean, unresolved review threads 0
Summary
Folded PRs
main031df675dd8dfb3bffa80203b994177fda6d0f4b031df675dd8dfb3bffa80203b994177fda6d0f4bValidation
uv run pytest tests/unit/test_accounts_repository_locks.py tests/integration/test_repositories.py::test_accounts_upsert_merge_by_chatgpt_identity_does_not_clear_workspace_on_workspace_less_reauth tests/integration/test_repositories.py::test_accounts_upsert_merge_by_chatgpt_identity_workspace_less_reauth_uses_unknown_row tests/integration/test_repositories.py::test_accounts_upsert_merge_by_chatgpt_identity_prefers_matching_workspace_row -quv run pytest tests/unit/test_accounts_service_probe.py tests/integration/test_accounts_api_probe.py -quv run ruff check app/modules/accounts/repository.py tests/integration/test_repositories.py tests/unit/test_accounts_repository_locks.pyuv run ruff format --check app/modules/accounts/repository.py tests/integration/test_repositories.py tests/unit/test_accounts_repository_locks.pyuv run ty check app/modules/accounts tests/integration/test_repositories.py tests/unit/test_accounts_repository_locks.pyFixes #355