You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
Bug FixesKind: in v2.1.312,
Bug FixesSection of the release
What
The commands that manage background sessions (logs, attach, respawn, rm and stop) and starting a session with --bg now wait for any sign-in token refresh in progress to finish before they exit. Before, they exited as soon as Claude Code had finished sending its usage data.
Why
A freshly refreshed sign-in is less likely to be lost when one of these commands exits.