Skip to content

fix(switching): improve account switching reliability and UX#22

Open
Fzhiyu1 wants to merge 1 commit intoLampese:mainfrom
Fzhiyu1:fix/switch-account-feedback
Open

fix(switching): improve account switching reliability and UX#22
Fzhiyu1 wants to merge 1 commit intoLampese:mainfrom
Fzhiyu1:fix/switch-account-feedback

Conversation

@Fzhiyu1
Copy link

@Fzhiyu1 Fzhiyu1 commented Mar 11, 2026

Summary

  • improve account switching UX with an in-app confirmation modal and a Switch New Sessions Only option
  • ignore Codex.app app-server when detecting blocking Codex foreground processes and surface switching failures in the UI
  • reclaim stale ~/.codex/auth.json.lock files left behind by dead processes

Test Plan

  • node --test --experimental-strip-types tests/switching.test.ts
  • pnpm build
  • cargo test auth::fs_utils::tests::acquire_reclaims_stale_lock_file
  • cargo test commands::account::tests
  • cargo test commands::process::tests

@Fzhiyu1 Fzhiyu1 force-pushed the fix/switch-account-feedback branch from 124adf6 to 20cc287 Compare March 11, 2026 03:16
@Fzhiyu1 Fzhiyu1 changed the title Improve account switching reliability and UX fix(switching): improve account switching reliability and UX Mar 11, 2026
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