Remember selected native chat session#950
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 9, 2026, 12:53 AM ET / 04:53 UTC. Summary Reproducibility: no. high-confidence live Windows reproduction was run in this read-only review. The linked issue at #944 plus current-main source inspection provide a credible source-level path: select a non-default native chat session, close/reopen the chat surface, and observe main/first-session fallback. Review metrics: 2 noteworthy metrics.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the focused persistence fix after current-head Windows native chat proof shows a non-default selection surviving close-to-tray/reopen and a removed saved session falling back correctly. Do we have a high-confidence way to reproduce the issue? No high-confidence live Windows reproduction was run in this read-only review. The linked issue at #944 plus current-main source inspection provide a credible source-level path: select a non-default native chat session, close/reopen the chat surface, and observe main/first-session fallback. Is this the best way to solve the issue? Yes, the PR direction is the narrow maintainable fix: persist the explicit dropdown selection and keep it pending until sessions.list confirms whether it still exists. The remaining blocker is real Windows behavior proof, not a different code direction. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against c3371d66f72d. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (6 earlier review cycles)
|
789f4cb to
28f2269
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review |
28f2269 to
e59459c
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
shanselman
left a comment
There was a problem hiding this comment.
Reviewed with >90% confidence. Scope is small and focused; local focused chat/provider test run passed (223 tests); GitHub CI is green. The remembered-session logic is guarded against stale saved selections and stale debounced writes.
|
Volks, thank you! |
Closes #944.
Summary
Validation
Real behavior proof
agent:main:reviewmakes it the next snapshot default; removing that session reverts the default toagent:main:main.agent:main:review, a models.list snapshot before sessions.list keepsagent:main:reviewas the default, preserves it in memory, and keeps the delayedlast-chat-state.jsonwrite on that session.agent:main:reviewis selected, the debounce window elapses, and the persistedlast-chat-state.jsonremains onagent:main:review.