Skip to content

fix: reuse retained subscription slots on reauth - #4028

Merged
wgqqqqq merged 2 commits into
openBitFun:mainfrom
wgqqqqq:wgq/fix-codex-logout-slot
Nov 23, 2026
Merged

wgqqqqq merged 2 commits into
openBitFun:mainfrom
wgqqqqq:wgq/fix-codex-logout-slot

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Reuse a retained signed-out subscription slot when signing in from the provider card.
  • Keep the explicit Add account flow available for creating a genuinely new slot.
  • Prevent Codex reauthentication from creating a duplicate slot and triggering the same-account rejection.

Verification

  • pnpm --dir src/web-ui run test:run src/app/scenes/settings/pages/ai/subscriptionServices.test.ts src/app/scenes/settings/pages/ai/ModelSettingsPage.loading.test.tsx
  • git diff --check

This PR was prepared with AI assistance.

@wgqqqqq
wgqqqqq merged commit c7adda8 into openBitFun:main Nov 23, 2026
12 checks passed
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