Skip to content

Restore login account switching #698

Description

@shiny-code-bot

Finish Line

Users can switch the active login account without dropping queued work or stranding the TUI during app-server thread replacement.

Current Status

Deferred from lab.5 by explicit product decision. The release will not restore account switching merely to recover pre-alignment parity. Keep this issue parked for post-release dogfood; resume only if observed use justifies the session-replacement and rollback carrying cost. No implementation should land before lab.5 publication or the first post-release convergence checkpoint.

Acceptance Criteria

  • Restore account-selection event handling.
  • Guard switching while primary-thread events are pending.
  • Preserve separate auth_home behavior and local/app-server backend distinctions.
  • Reuse the reviewed replacement-thread helper from the removal stage.
  • Restore the prior UI and account state on any mid-switch failure.
  • Refresh the accounts view and active account display on success.
  • Cover pending-work rejection, successful switch, and replacement failure.

Relationships

Open Questions

  • Track profile-oriented /login arguments and /logout separately if they remain outside this stage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    planDurable planning issueplan:waitingDurable plan parked pending a decision, event, or non-issue condition; not for PR QA

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions