Skip to content

fix(providers): reflect rejected sign-ins in readiness - #1422

Merged
nixuuu merged 3 commits into
devfrom
fix/codex-auth-status
Nov 28, 2026
Merged

nixuuu merged 3 commits into
devfrom
fix/codex-auth-status

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

What changed

  • Providers Summary now excludes workers whose instance account is reported as expired or signed out. Other workers with an available instance still count toward readiness. The worker detail shows the specific sign-in state.
  • A failed turn uses the worker's instance to show the correct sign-in confirmation before starting the existing CLI flow. If in-place sign-in is unavailable, the error links to that worker and instance in Providers.
  • The gateway-to-worker regression test now checks the readiness summary before the mock Codex turn fails, after the gateway reports the rejected sign-in, and after successful sign-in.

Thanks to @marcinniewinski for reporting the mismatch.

Fixes: #696

Verification

  • Locally on Linux, revision 1c80c45f2: formatting, lint, and whitespace checks passed for the changed files.
  • Chromium on b73bfc848 at 375 px and 1100 px with synthetic state and a mocked login endpoint: mixed worker readiness, scoped confirmation and request, and the scoped settings link passed. A long worker name wrapped in the confirmation.
  • GitHub CI runs the full static checks, the gateway-to-worker regression, and applicable builds.

Copy audit

  • The Ready labels now reflect the account state. The worker detail uses the existing “Sign-in expired” and “Not signed in” labels.
  • The fallback link reads “Open provider settings” and the hint describes the next step. The in-place confirmation keeps the existing action label and names the login store it affects.
  • Text conveys the status independently of colour. The synthetic narrow and wide checks covered the confirmation text and actions.

Use the thread's worker and instance to describe the existing sign-in action.

Fixes: #760
@nixuuu
nixuuu enabled auto-merge (squash) November 28, 2026 10:00
@nixuuu
nixuuu merged commit 610e52d into dev Nov 28, 2026
25 checks passed
@nixuuu
nixuuu deleted the fix/codex-auth-status branch November 28, 2026 10:14
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