You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d940174
Browse filesBrowse the repository at this point in the historyBrowse files
authored
[Fix] Mode profile choices leak between VS Code windows (#2110)
* fix(profiles): keep mode profile choices per window
The mode -> provider profile map lives in shared extension storage, so a
profile selected in one VS Code window leaked into subtasks and mode
switches in other windows. Prefer this window's own choices and fall back
to the shared map.
Fixes#2109
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* test: give delegation test doubles the window-local mode lookup
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fix(webview): snapshot mode profile choices per window and clear them on reset
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fix(profiles): keep unseen modes window-local, drop stale choices, roll back failed writes
* fix: preserve window-local mode defaults after imports and API updates
* fix: preserve newer local profile choices during stale ID cleanup
* test: cover mode profile selection during pending snapshot
* fix: isolate mode profiles on snapshot failure and serialize writes
* fix: preserve mode profile ordering during imports and stop cancelled lookups
* fix: preserve imported mode profiles when overlapping writes fail
* fix: preserve mode defaults when opening snapshot fails
* fix: share mode profile choices across window tabs and preserve shared defaults
* fix: coordinate profile reset with queued mode writes
* fix: avoid shared writes during mode restoration and cancel queued profile writes
* fix: report cancelled mode writes and abort profile activations on disposal
* test: assert precise mode profile cancellation errors
* test: expect cancellation signal in mode profile activation
* fix: coordinate profile mutations with settings reset
* fix: finish committed profile persistence after disposal
* fix: await committed profile outcomes and share window storage locking
* fix: drain mode-switch writes before releasing disposed tabs
* fix: finish inactive profile saves after tab disposal
* fix: finish committed mode and profile history together
* fix(profiles): remove write queue and locking from mode profile fix
* fix(profiles): preserve cache integrity and route API mode choices locally
* fix(profiles): refresh window mode choices when profiles are imported
* test(profiles): retain imported choices after another provider writes
* fix(profiles): keep unmapped modes isolated from later shared choices
* fix(profiles): keep implicit mode defaults local to the provider
* fix(profiles): avoid persisting mappings when switching modes
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Elliott de Launay <edelauna@gmail.com>
0 commit comments