Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
336 commits
Select commit Hold shift + click to select a range
2c84c94
fix(webview): keep committed mode switches out of the reconcile rollback
easonliang28 Oct 13, 2026
876197a
fix(webview): commit the mode-switch guard at the activation write
easonliang28 Oct 13, 2026
fd39717
fix(webview): announce aborted mode switches only while their commit …
easonliang28 Oct 13, 2026
82774d2
fix: clear newly-unused bindings surfaced by main unused-vars re-enable
easonliang28 Oct 14, 2026
f51bc83
chore: drop Stryker suppression comments per AGENTS.md policy
easonliang28 Oct 14, 2026
8bb31fb
fix: re-point tracked tab through disposal on init failure and preser…
easonliang28 Oct 14, 2026
b3ce135
fix: exclude shared provider settings from getConfiguration when a vi…
easonliang28 Oct 15, 2026
24a8b7e
fix: validate setValues mode against custom modes carried in the same…
easonliang28 Oct 15, 2026
7824e7d
chore: retrigger CI (e2e-mock env timeout flake)
easonliang28 Oct 15, 2026
3afaa22
fix: harden provider disposal and keep the shared provider fallback
easonliang28 Oct 15, 2026
fc72a66
fix: restore the shared provider fallback when a profile sets apiProv…
easonliang28 Oct 15, 2026
2c3a848
fix: restore mode on registration failure and cover all disposal in f…
easonliang28 Oct 15, 2026
e5650ac
fix: read the prior mode through contextProxy in createTask
easonliang28 Oct 15, 2026
b6954c5
fix: roll back the shared mode and the view pin independently
easonliang28 Oct 15, 2026
2fbebfd
fix(f6): validate test-API global-state keys, drop stale view-state l…
easonliang28 Oct 15, 2026
08ce371
fix(f6): exclude credential path fields from the flattened configuration
easonliang28 Oct 16, 2026
7d29080
fix(f6): refuse credential-bearing keys in the test global-state API
easonliang28 Oct 16, 2026
ca99e9f
chore: retrigger CI (workflow trigger missed)
easonliang28 Oct 16, 2026
f992e72
fix(f6): keep viewStates out of configuration round trip and guard mo…
easonliang28 Oct 16, 2026
ae98d5a
fix: re-point closed-view pins on rename, undo half-finished renames,…
easonliang28 Oct 16, 2026
c48391f
chore: drop husky-generated LFS hook scripts under .husky/_ (regenera…
easonliang28 Oct 16, 2026
b58316f
fix(webview): harden rename re-points, view ids, global-state keys, a…
easonliang28 Oct 16, 2026
a3c41cc
fix(api): persist parsed global-state values and build activation wri…
easonliang28 Oct 17, 2026
64944ea
fix(webview): close rename compensation gaps and reject colliding tar…
easonliang28 Oct 17, 2026
3891a70
test(webview): repoint manager doubles for the profile read-back cont…
easonliang28 Oct 17, 2026
1b05911
test(webview): assert the fallback storage key and payload
easonliang28 Oct 17, 2026
4e7c03b
fix(provider): fail closed on unverified profile saves and compensate…
easonliang28 Oct 17, 2026
4b8ce97
test(extension): name the private fileLog in the spy without a union-…
easonLiangWorldedtech Oct 22, 2026
b786a8b
style: apply repo Prettier to the merge resolution
easonLiangWorldedtech Oct 22, 2026
cdcdc86
chore: drop accidental local tooling artifacts from the branch
easonLiangWorldedtech Oct 22, 2026
33722a1
chore(knip): mark the test-only view-identity seams @internal
easonLiangWorldedtech Oct 22, 2026
13c10cb
chore: drop accidentally committed local merge/preflight transcripts
easonLiangWorldedtech Oct 22, 2026
b61ee37
fix(config): roll failed durable writes back to the durable record, n…
easonliang28 Sep 28, 2026
291cbbf
test(config): move the post-reset secret rollback test into the store…
easonliang28 Sep 28, 2026
50a2edf
fix(config): guard durable write completions with a reset generation
easonliang28 Sep 28, 2026
1c06bc8
fix: roll back task-side mode writes when the view mode pin write fails,
easonLiangWorldedtech Oct 13, 2026
9005316
fix(webview): gate deleted-profile re-pin task writes on the task's o…
easonliang28 Oct 13, 2026
bb080d2
test(webview): repair duplicated re-pin comment in parallel-mode spec
easonliang28 Oct 13, 2026
567716b
chore: drop Stryker suppression comments per AGENTS.md policy
easonliang28 Oct 14, 2026
587b7ef
fix: exclude shared provider settings from getConfiguration when a vi…
easonliang28 Oct 15, 2026
b4137ce
fix: deregister the provider in a finally path and keep the shared pr…
easonliang28 Oct 15, 2026
75e47fb
fix: restore the shared provider fallback when a profile sets apiProv…
easonliang28 Oct 15, 2026
19ca8dd
fix(f5): exclude non-ApiKey credential fields from getConfiguration a…
easonliang28 Oct 15, 2026
675be30
fix(f5): compensate the first shared write and exclude credential pat…
easonliang28 Oct 16, 2026
2be432f
fix(f5): settle every configuration write before rejecting setValues
easonliang28 Oct 16, 2026
0fd30ce
chore: retrigger CI (workflow trigger missed)
easonliang28 Oct 16, 2026
d50c49c
fix(f5): relocate plaintext provider keys and keep view caches consis…
easonliang28 Oct 16, 2026
e0d97c2
fix: re-point closed-view pins on rename, undo half-finished renames,…
easonliang28 Oct 16, 2026
f16bab1
chore: drop husky-generated LFS hook scripts under .husky/_ (regenera…
easonliang28 Oct 16, 2026
3e41a64
fix(webview): harden rename re-points, view ids, global-state keys, l…
easonliang28 Oct 16, 2026
8a07f6b
fix(api): serialize setConfiguration, await mode writes before compen…
easonliang28 Oct 17, 2026
a0c3a32
style: apply repo Prettier to the merge resolution
easonLiangWorldedtech Oct 22, 2026
cd8b24c
chore: drop accidental local tooling artifacts from the branch
easonLiangWorldedtech Oct 22, 2026
838a449
chore: drop accidentally committed local merge/preflight transcripts
easonLiangWorldedtech Oct 22, 2026
8dabae1
fix(api, types): skip the headless readiness wait when no view exists…
easonLiangWorldedtech Oct 22, 2026
675a99a
fix(api): keep the readiness barrier when a webview already launched
easonLiangWorldedtech Oct 22, 2026
0b82634
fix(api): report failed configuration compensation and prove the opti…
easonLiangWorldedtech Oct 22, 2026
a3683a1
fix(api): dispose a new-tab provider whose task never started
easonLiangWorldedtech Oct 22, 2026
b2d1cef
fix(api): fail closed on a readiness timeout and report every compens…
easonLiangWorldedtech Oct 22, 2026
1b711f5
style: apply prettier formatting to the new api specs
easonLiangWorldedtech Oct 22, 2026
92a470e
fix(webview): separate store generations and restore deleted-profile …
easonLiangWorldedtech Oct 26, 2026
c296498
fix(webview): restore the apiConfiguration overlay on deleted-profile…
easonLiangWorldedtech Oct 26, 2026
27ef0e7
test(webview): import StringCache in the extension state spec
easonLiangWorldedtech Nov 2, 2026
8eeec5f
test(webview): mark the unused view-state helpers as intentionally un…
easonLiangWorldedtech Nov 2, 2026
c1ab8a0
fix(merge): keep the webviewHeartbeat case outside the webviewDidLaun…
easonLiangWorldedtech Nov 3, 2026
a85b334
fix(merge): restore the postActions helper dropped by the upstream merge
easonLiangWorldedtech Nov 3, 2026
eeca859
test(webview): drop unused scaffolding from the context spec
easonLiangWorldedtech Nov 3, 2026
3b89cd2
test(activate): pin the history lookup to the re-pointed tracked panel
easonliang28 Sep 28, 2026
4220127
fix(webview): validate the webview-supplied view state id before adop…
easonliang28 Oct 13, 2026
7a27def
fix: clear newly-unused bindings surfaced by main unused-vars re-enable
easonliang28 Oct 14, 2026
39b09d4
fix(f4): keep live reset invalidation independent of the durable clear
easonliang28 Oct 15, 2026
959af8d
test(f4): use a valid view type for the sibling instance
easonliang28 Oct 16, 2026
67d8037
fix(f4): keep view-state cache, pins, and rename re-point consistent
easonliang28 Oct 16, 2026
b88e95c
chore: drop husky-generated LFS hook scripts under .husky/_ (regenera…
easonliang28 Oct 16, 2026
eee60a0
fix(webview): build activation writes from the stored record and roll…
easonliang28 Oct 17, 2026
ef53a63
fix(provider): let the reset broadcast own the per-view state clear
easonliang28 Oct 17, 2026
3d2a700
fix(provider): fail closed on unverified profile saves and compensate…
easonliang28 Oct 17, 2026
9d57dd6
style: apply repo Prettier to the merge resolution
easonLiangWorldedtech Oct 22, 2026
792fcda
chore: drop accidental local tooling artifacts from the branch
easonLiangWorldedtech Oct 22, 2026
90766ef
chore: drop accidentally committed local merge/preflight transcripts
easonLiangWorldedtech Oct 22, 2026
8d20f61
fix(webview, task): wait for a timed-out mode switch and keep sibling…
easonLiangWorldedtech Oct 22, 2026
b7a559c
test(task): assert the delivery is pending while the settle is deferred
easonLiangWorldedtech Oct 22, 2026
e12b322
fix(activate): preserve the tab init error through cleanup
easonLiangWorldedtech Oct 22, 2026
08027b8
test(webview): import StringCache in the extension state spec
easonLiangWorldedtech Nov 2, 2026
a56683a
merge upstream/main (a4f774b17) into vps2/f4-cross-instance-reset
easonLiangWorldedtech Nov 2, 2026
544f8b7
fix(webview): handle the webviewHeartbeat message so the watchdog see…
easonLiangWorldedtech Nov 2, 2026
3c50ef8
fix(merge): keep the webviewHeartbeat case outside the webviewDidLaun…
easonLiangWorldedtech Nov 3, 2026
8e26b0e
fix(activate): restore the title-bar command handlers an earlier merg…
easonLiangWorldedtech Nov 3, 2026
46e2005
test(webview): drop unused scaffolding from the context spec
easonLiangWorldedtech Nov 3, 2026
5bf1c25
fix(webview): make the profile rename check, save, and rollback one c…
easonLiangWorldedtech Nov 3, 2026
b65025b
fix(webview): close the load/dispose/delivery gaps and prove the in-f…
easonLiangWorldedtech Nov 3, 2026
455e876
test(webview-ui): restore the stale-push task-identity coverage
easonLiangWorldedtech Nov 3, 2026
a28be60
fix(webview): check the mode and delete custom modes inside the profi…
easonLiangWorldedtech Nov 3, 2026
f70511b
fix(activate): share one in-flight tab creation and abort a shared wr…
easonLiangWorldedtech Nov 3, 2026
cd49196
fix(webview): tolerate a pin that names a deleted profile in the sibl…
easonLiangWorldedtech Nov 3, 2026
943a6e7
fix(activate): join the in-flight tab creation before reusing the tra…
easonLiangWorldedtech Nov 4, 2026
3fb75f5
fix(webview): join the cross-instance profile section for the shared …
easonLiangWorldedtech Nov 4, 2026
1d3e424
fix(webview-ui): mint a view id only through a callable crypto.random…
easonLiangWorldedtech Nov 4, 2026
688a292
fix(webview): release pending diagnostics requests when teardown throws
easonLiangWorldedtech Nov 4, 2026
d605d65
fix(webview): snapshot sibling overlays before the shared settings write
easonLiangWorldedtech Nov 4, 2026
6ab8535
fix(activate): close the failed tab when webview resolution rejects
easonLiangWorldedtech Nov 4, 2026
18b5ecf
test(webview): pin the activation-list refresh and the sibling overla…
easonliang28 Sep 28, 2026
a0c6ba2
test(core): pin profile snapshot, delete re-pin, panel re-point, and …
easonliang28 Sep 28, 2026
160db06
fix(activate): register tab panel disposal before webview resolution
Sep 28, 2026
09eff0b
fix(activate): dispose the provider when tab webview resolution rejects
Sep 28, 2026
e991530
fix(webview): complete provider release when dispose cleanup rejects
Sep 28, 2026
222fc87
test(webview): cover the dispose() cleanup branches on the changed lines
Sep 28, 2026
dbd3592
test(webview): cover the falsy entry in the dispose loop guard
Sep 28, 2026
7db3910
fix(webview): validate the webview-supplied view state id before adop…
easonliang28 Oct 13, 2026
5a7fb31
fix(webview): make mode-switch failures atomic and scope profile-save…
easonliang28 Oct 13, 2026
2e68c23
chore: drop Stryker suppression comments per AGENTS.md policy
easonliang28 Oct 14, 2026
eb8e90b
fix(f3): keep view-state cache, pins, and mode writes consistent
easonliang28 Oct 16, 2026
d9d83d2
fix: re-point closed-view pins on rename, undo half-finished renames,…
easonliang28 Oct 16, 2026
1c5fbdc
chore: drop husky-generated LFS hook scripts under .husky/_ (regenera…
easonliang28 Oct 16, 2026
fcbb062
fix(webview): protect sibling profiles from flat provider writes
easonliang28 Oct 17, 2026
48a8bf5
test(extension): expect the saved-profile option in setValues calls
easonliang28 Oct 17, 2026
3ceaede
fix(provider): serialize sibling overlay commits and align the save name
easonliang28 Oct 17, 2026
77247a6
fix(api): roll the configuration round trip back as one transaction
easonliang28 Oct 17, 2026
2f9902c
test(api): teach the set-configuration double the transactional reads
easonliang28 Oct 17, 2026
1e6ae8a
fix(api): make the configuration rollback existence-aware and complete
easonliang28 Oct 17, 2026
a45bc41
fix(api): replay the restored profile to its pinned overlays
easonliang28 Oct 17, 2026
ad84e83
fix(api): make the overlay replay the last rollback refresh
easonliang28 Oct 17, 2026
e1d8ca6
fix(api): replay the previous profile's record to its pinned overlays
easonliang28 Oct 17, 2026
48b3c30
style: apply repo Prettier to the merge resolution
easonLiangWorldedtech Oct 22, 2026
73a27f4
chore: drop accidental local tooling artifacts from the branch
easonLiangWorldedtech Oct 22, 2026
a37dba6
chore: drop accidentally committed local merge/preflight transcripts
easonLiangWorldedtech Oct 22, 2026
2b892df
chore: remove committed local check transcripts
easonLiangWorldedtech Oct 22, 2026
c93da47
fix(api, package): hide the sidebar title-bar commands from the palet…
easonLiangWorldedtech Oct 22, 2026
a79fb14
test(api): drive the accepted and rejected hasConfig paths in setConf…
easonLiangWorldedtech Oct 22, 2026
ba5bf7a
chore: retrigger CI (compile and check-translations check-runs stayed…
easonLiangWorldedtech Oct 22, 2026
e4ccce3
fix(view): post the view re-pin and tighten the profile-write tests
easonLiangWorldedtech Oct 22, 2026
ae0f56b
chore(lint): prune the stale no-explicit-any suppressions after the m…
easonLiangWorldedtech Nov 2, 2026
e14bff2
test(webview): import StringCache in the extension state spec
easonLiangWorldedtech Nov 2, 2026
766e16c
fix(webview): handle the webviewHeartbeat message so the watchdog see…
easonLiangWorldedtech Nov 2, 2026
6109b63
fix(merge): keep the webviewHeartbeat case outside the webviewDidLaun…
easonLiangWorldedtech Nov 3, 2026
e797ee4
test(webview): drop unused scaffolding from the context spec
easonLiangWorldedtech Nov 3, 2026
c3d62f3
test(webview): await the on-demand locale fetch instead of timing it
easonLiangWorldedtech Nov 4, 2026
598d47e
fix(provider): classify profile lookups by presence, not by swallowed…
easonLiangWorldedtech Nov 4, 2026
ed4ca01
fix(provider): roll task history back when a mode switch fails after …
easonLiangWorldedtech Nov 4, 2026
dccab45
fix(provider): snapshot sibling overlays before the delete's shared w…
easonLiangWorldedtech Nov 4, 2026
7543813
fix(provider): scope the shared rollback to keys this call wrote, and…
easonLiangWorldedtech Nov 4, 2026
f8f65f5
fix(provider): re-resolve the profile for a pin that moved during the…
easonLiangWorldedtech Nov 4, 2026
a28407f
fix(activate): re-run a pending tab creation whose provider was dispo…
easonLiangWorldedtech Nov 4, 2026
17e158d
fix(webview): clear sign-out tokens through the provider so pinned vi…
easonLiangWorldedtech Nov 4, 2026
22eda07
fix(webview): close the profile-write and view-restore review threads…
easonLiangWorldedtech Nov 5, 2026
3e5f1e5
fix(extension,webview): keep host-owned view states out of the API wr…
easonLiangWorldedtech Nov 5, 2026
3c77bdd
Four findings from the review pool on this head, one reply-only (D, t…
easonLiangWorldedtech Nov 5, 2026
f54b1ad
fix(extension): read the prior mode mapping before the cross-instance…
easonLiangWorldedtech Nov 5, 2026
0a9917d
fix(webview): run each provider release once and drop the dispose-tim…
easonLiangWorldedtech Nov 5, 2026
a66f630
fix(activate,extension): keep a live tab and the snapshot profile thr…
easonLiangWorldedtech Nov 5, 2026
40af1b9
chore(core): drop the unread write tokens, durable records and genera…
easonLiangWorldedtech Nov 5, 2026
87ab752
fix(webview): route the custom-mode writes through the provider
easonLiangWorldedtech Nov 5, 2026
89b5f19
docs(webview): name what the deleted-profile check covers
easonLiangWorldedtech Nov 5, 2026
3d22b8e
fix(webview): keep a view's mode pin when a different mode is deleted
easonLiangWorldedtech Nov 5, 2026
c75780f
fix(extension,activate): re-check task registration, target the creat…
easonLiangWorldedtech Nov 7, 2026
4830b9f
feat(webview): render the saved value in the [saveViewState] log line
Nov 8, 2026
4fd1d81
test(activate): reset the tab suite's instance lookup before each test
easonLiangWorldedtech Nov 9, 2026
82322b6
Move parallelMode and sticky-mode mode-profile seeds to the #2110 win…
easonLiangWorldedtech Nov 17, 2026
73bc46b
Use the typed fixtures in Task and registerCommands tests and assert …
easonLiangWorldedtech Nov 18, 2026
3a70534
Snapshot sibling overlays once per activation so a late pin cannot ab…
easonLiangWorldedtech Nov 18, 2026
167b2b3
Replay every written key on rollback and restore the window mode mapp…
easonLiangWorldedtech Nov 18, 2026
09b1f97
Narrow the sibling read filter so the profile-list assertion typechecks
easonLiangWorldedtech Nov 18, 2026
ed185b3
fix(webview,extension): restore window-local mode mapping from its ow…
easonLiangWorldedtech Nov 18, 2026
5a7d9e3
fix(extension): compare-and-set the profile record rollback
easonLiangWorldedtech Nov 18, 2026
68ca668
fix(webview): close the review round on activation and mode-write fai…
easonLiangWorldedtech Nov 18, 2026
6688363
test(webview): narrow the profile read by name or id in the new guard…
easonLiangWorldedtech Nov 18, 2026
765f33d
fix(extension): confirm the record outcome after a failed compensatio…
easonLiangWorldedtech Nov 18, 2026
3ce452a
fix(webview): read the setter rollback value after the sibling snapshot
easonLiangWorldedtech Nov 18, 2026
945fec8
test(extension): drive the rollback case through the real settings se…
easonLiangWorldedtech Nov 18, 2026
a299af6
fix(profiles): roll a landed profile save back when the sibling overl…
easonLiangWorldedtech Nov 18, 2026
035d4d1
fix(webview): close the four hunk-class findings at 6d1ce95ec2
easonLiangWorldedtech Nov 20, 2026
760769d
fix: drop members orphaned by upstream drift (lint gate)
easonLiangWorldedtech Nov 29, 2026
3d4984b
fix(merge): rebuild registerCommands and ClineProvider via native thr…
easonLiangWorldedtech Nov 29, 2026
4a1d2cd
fix(merge): rebuild sticky-mode spec and webviewMessageHandler via na…
easonLiangWorldedtech Nov 29, 2026
735c5c1
fix(merge): rebuild remaining spec and package files via native three…
easonLiangWorldedtech Nov 29, 2026
66c90b8
test(config): model the durable record the failed-write rollback read…
easonLiangWorldedtech Nov 29, 2026
c72bcec
test(webview): restore the cross-instance section member on the manag…
easonLiangWorldedtech Nov 29, 2026
faed27b
test(webview): seed the window mode map the switch reads before asser…
easonLiangWorldedtech Nov 29, 2026
db1c2f2
fix(types): align the rebuilt tree with the provider retirement main …
easonLiangWorldedtech Nov 29, 2026
e26eee4
fix(types): align the rebuilt tree with the provider retirement main …
easonLiangWorldedtech Nov 29, 2026
51ccd7c
test(e2e): restore the typed extension handle the suite declares for …
easonLiangWorldedtech Nov 29, 2026
4e8df23
test(webview): re-apply the unit rows the rebuild dropped onto main
easonLiangWorldedtech Nov 29, 2026
8591b27
chore(lint): align the eslint suppressions record with the counts the…
easonLiangWorldedtech Nov 29, 2026
0bba240
test(core): restore the three switch-mode cells the rebuild dropped o…
easonLiangWorldedtech Nov 29, 2026
3306538
test(webview): restore the two storage assertions the rebuild dropped…
easonLiangWorldedtech Nov 29, 2026
394cbfb
fix(core): drop the six stryker directives the unit removed and resto…
easonLiangWorldedtech Nov 29, 2026
6fff02f
test(webview): restore the global property descriptors the storage st…
easonLiangWorldedtech Nov 29, 2026
a47cb07
test(extension): check every recorded write for the leaked view state…
easonLiangWorldedtech Nov 29, 2026
6881aa9
test(core): prove the view is still registered while disposal is in f…
easonLiangWorldedtech Nov 29, 2026
bce7bd9
test(core): read the secret back inside the write owner window after …
easonLiangWorldedtech Nov 29, 2026
7cdb7ff
test(core): prove the invalid mode slug went through the mode lookup …
easonLiangWorldedtech Nov 29, 2026
b8051ca
test(core): show the mode switch is issued while history restoration …
easonLiangWorldedtech Nov 29, 2026
e7651a9
test(core): check both final store values when a multi-key shared wri…
easonLiangWorldedtech Nov 29, 2026
a7e3f2f
test(core): name the delayed acknowledgment cells and add their late-…
easonLiangWorldedtech Nov 29, 2026
d199fb9
test(core): give the constructor registration a temporary entry to re…
easonLiangWorldedtech Nov 29, 2026
8f01c94
test(core): give the cloud double the off method teardown needs and s…
easonLiangWorldedtech Nov 29, 2026
9bab3aa
fix(webview): report cleared browser storage as absent when the read …
easonLiangWorldedtech Nov 29, 2026
1a5dcc1
fix(core): keep the mode selection when a deleted override leaves the…
easonLiangWorldedtech Nov 29, 2026
d83fc7b
fix(webview): refresh the mode list without waiting on the notice dis…
easonLiangWorldedtech Nov 29, 2026
08553b7
fix(webview): run the profile delete through the shared cross-instanc…
easonLiangWorldedtech Nov 29, 2026
2563e12
fix(core): roll the mode back to what setValues saw at its own write …
easonLiangWorldedtech Nov 29, 2026
d648b1b
fix(core): re-check the view pin before a deletion re-pin overwrites …
easonLiangWorldedtech Nov 29, 2026
a3154bd
fix(core): report a missing profile to the pin tolerance as a typed s…
easonLiangWorldedtech Nov 29, 2026
17a6d0d
fix(extension): settle a started re-pin before compensating a timed-o…
easonLiangWorldedtech Nov 29, 2026
d7ccbee
fix(extension-host): roll back the mode pin the settings write actual…
easonLiangWorldedtech Nov 29, 2026
05b6a32
fix(extension-host): choose the replacement profile while holding the…
easonLiangWorldedtech Nov 29, 2026
32ae3cc
fix(extension-host): read the extension state only when the mode defa…
easonLiangWorldedtech Nov 29, 2026
6d75511
fix(extension-host): refresh the task of a view that follows a saved …
easonLiangWorldedtech Nov 29, 2026
c762449
test: pin the mode write decision in the persisted-view-state createT…
easonLiangWorldedtech Nov 30, 2026
73fc903
test: pin the queue save success in the unrelated-view control cell
easonLiangWorldedtech Nov 30, 2026
faf4f95
test: pin the rebuild payload in the activation-failure task cells
easonLiangWorldedtech Nov 30, 2026
4d78833
test: arm the post-commit read failure at its commit seam
easonLiangWorldedtech Nov 30, 2026
1f95fd8
test: order release, settle, drain, then dispose in the deletion fina…
easonLiangWorldedtech Nov 30, 2026
b991482
test: release the mode-pin gates in the 021 finallys so createTask se…
easonLiangWorldedtech Nov 30, 2026
6db6318
test: run profile save round trips through the real settings manager
easonLiangWorldedtech Nov 30, 2026
9d48464
test: judge both sticky-view cells at the storage seam the review named
easonLiangWorldedtech Nov 30, 2026
40fe8fa
test(webview): roll the deleted profile back before a sibling view re…
easonLiangWorldedtech Nov 30, 2026
182f859
fix(webview): restore the live state a rolled-back deletion moved in …
easonLiangWorldedtech Nov 30, 2026
8147787
fix(webview): capture the sibling re-pin prior pin after the queued n…
easonLiangWorldedtech Dec 1, 2026
0504d2f
fix(webview): make the profile deletion rollback replay only the pins…
easonLiangWorldedtech Dec 1, 2026
29e2cb1
fix(webview): keep a committed profile deletion committed when only i…
easonLiangWorldedtech Dec 1, 2026
7c44fdc
fix(webview): assert the stored pin a profile deletion stops rewriting
easonLiangWorldedtech Dec 1, 2026
12d275c
fix(webview): observe the queued profile selection this cell awaits i…
easonLiangWorldedtech Dec 1, 2026
9fdc95d
fix(webview): cover the stored task pin a profile deletion rollback r…
easonLiangWorldedtech Dec 1, 2026
52101e9
fix(webview): drop the unused spy binding in the profile deletion ref…
easonLiangWorldedtech Dec 1, 2026
6cdccf6
fix(webview): roll back a deleted profile pin only on proof of ownership
easonLiangWorldedtech Dec 1, 2026
7abab15
fix(webview): leave a view alone when its own write took the pin back
easonLiangWorldedtech Dec 1, 2026
307a89e
test(webview): pin the cache to storage after a rejected rollback write
easonLiangWorldedtech Dec 1, 2026
6a1d58a
Leave a selection the user finished while a profile deletion waited
easonLiangWorldedtech Dec 1, 2026
7cb44e0
Keep a closed view own selection out of the deletion rollback
easonLiangWorldedtech Dec 1, 2026
b505c31
Aim the rejected view pin write at the sibling it names
easonLiangWorldedtech Dec 1, 2026
202d1c2
Let the deletion cells exercise the real manager and the real registry
easonLiangWorldedtech Dec 1, 2026
14a550c
Give the rollback storage seam the two readings VS Code keeps apart
easonLiangWorldedtech Dec 1, 2026
a37b23f
Name unrecovered view pins and let a rollback undo its own write
easonLiangWorldedtech Dec 1, 2026
7065ac0
[cell 5] make the memento double snapshot what it is given
easonLiangWorldedtech Dec 1, 2026
2b9daba
[cell 6] exercise profile deletion rollback through the real profile …
easonLiangWorldedtech Dec 1, 2026
58f5595
pins the claim each re-point replaced when a deletion rolls back
easonLiangWorldedtech Dec 1, 2026
5c4b89c
restore the stored value of every key a settings write touched
easonLiangWorldedtech Dec 1, 2026
a27a614
attempt every provider disposal in the suite cleanup and report errors
easonLiangWorldedtech Dec 1, 2026
6232ce4
fix(webview): decide a durable view pin restore from the id-keyed claim
easonLiangWorldedtech Dec 1, 2026
bc308c4
fix(webview): keep a blocked view pin rollback until its blocker unwinds
easonLiangWorldedtech Dec 1, 2026
3263302
fix(webview): drop a deferred pin rollback when a newer writer claims…
easonLiangWorldedtech Dec 1, 2026
03c286e
test(webview): hold a cleanup disposal open to show the helper awaits it
easonLiangWorldedtech Dec 1, 2026
21000c3
test(webview): await the suite cleanup so a rejection fails the row
easonLiangWorldedtech Dec 1, 2026
f416ee4
test(webview): drain every deletion a row started before disposing it…
easonLiangWorldedtech Dec 1, 2026
649279a
test(webview): make the newer live selection name the pin its deletio…
Dec 2, 2026
4a2b6c8
fix(webview): run the profile delete inside the shared section
easonLiangWorldedtech Dec 2, 2026
0cb901b
fix(webview): return the deleting view when a delete rolls back
easonLiangWorldedtech Dec 2, 2026
4564895
test(webview,extension): pin mode compensation dropping the local entry
easonLiangWorldedtech Dec 2, 2026
57547a6
fix(webview): read the view profile fields before getState awaits
easonLiangWorldedtech Dec 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,10 @@ qdrant_storage/
plans/

roo-cli-*.tar.gz*
.merge-*
.zdt-*
.eslint-*.txt
.fix-commit*.txt
.prettier-check.txt
.suites*.txt
.tsc.txt
14 changes: 14 additions & 0 deletions apps/vscode-e2e/fixtures/modes.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@
}
]
}
},
{
"match": {
"userMessage": "Use the `switch_mode` tool to switch to debug mode."
},
"response": {
"toolCalls": [
{
"name": "switch_mode",
"arguments": "{\"mode_slug\":\"debug\",\"reason\":\"User requested to switch to debug mode.\"}",
"id": "call_modes_switch_002"
}
]
}
}
]
}
95 changes: 95 additions & 0 deletions apps/vscode-e2e/src/fixtures/view-state.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
import type { ChatCompletionRequest, ChatMessage, LLMock } from "@copilotkit/aimock"

const TASKS = ["A", "B", "C"] as const
const ROUNDS = 10

const MODE_SEQUENCES: Record<(typeof TASKS)[number], string[]> = {
A: ["ask", "debug", "architect", "orchestrator", "code", "ask", "debug", "architect", "orchestrator", "code"],
B: ["debug", "architect", "orchestrator", "code", "ask", "debug", "architect", "orchestrator", "code", "ask"],
C: ["architect", "orchestrator", "code", "ask", "debug", "architect", "orchestrator", "code", "ask", "debug"],
}

const markerFor = (taskName: (typeof TASKS)[number]) => `FOLLOWUP_MODE_ISOLATION_${taskName}`
const answerFor = (taskName: (typeof TASKS)[number], round: number) => `${taskName} follow-up round ${round}`
const callIdFor = (taskName: (typeof TASKS)[number], round: number) =>
`call_followup_mode_${taskName.toLowerCase()}_${String(round).padStart(2, "0")}`

const lastToolResultContains = (req: ChatCompletionRequest, toolCallId: string, expected: string[]) => {
const messages = Array.isArray(req?.messages) ? req.messages : []
const toolMessage = messages.filter((message: ChatMessage) => message?.role === "tool").at(-1)
const content = toolMessage?.content

return (
toolMessage?.tool_call_id === toolCallId &&
typeof content === "string" &&
expected.every((text) => content.includes(text))
)
}

const followupToolCall = (taskName: (typeof TASKS)[number], round: number) => ({
name: "ask_followup_question",
arguments: JSON.stringify({
question: `Task ${taskName}: choose mode for round ${round}`,
follow_up: [
{
text: answerFor(taskName, round),
mode: MODE_SEQUENCES[taskName][round - 1],
},
],
}),
id: callIdFor(taskName, round),
})

export const getFollowupModeIsolationPlan = () =>
TASKS.map((taskName) => ({
taskName,
marker: markerFor(taskName),
rounds: MODE_SEQUENCES[taskName].map((mode, index) => ({
round: index + 1,
answer: answerFor(taskName, index + 1),
mode,
})),
}))

export function addViewStateFixtures(mock: InstanceType<typeof LLMock>) {
for (const taskName of TASKS) {
mock.addFixture({
match: {
userMessage: markerFor(taskName),
},
response: {
toolCalls: [followupToolCall(taskName, 1)],
},
})

for (let round = 1; round < ROUNDS; round++) {
mock.addFixture({
match: {
predicate: (req) =>
lastToolResultContains(req, callIdFor(taskName, round), [answerFor(taskName, round)]),
},
response: {
toolCalls: [followupToolCall(taskName, round + 1)],
},
})
}

mock.addFixture({
match: {
predicate: (req) =>
lastToolResultContains(req, callIdFor(taskName, ROUNDS), [answerFor(taskName, ROUNDS)]),
},
response: {
toolCalls: [
{
name: "attempt_completion",
arguments: JSON.stringify({
result: `Task ${taskName} completed ${ROUNDS} follow-up mode switches.`,
}),
id: `call_followup_mode_${taskName.toLowerCase()}_complete`,
},
],
},
})
}
}
37 changes: 37 additions & 0 deletions apps/vscode-e2e/src/runTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import {
removeScenarioWorkspace,
} from "./restart/scenarioWorkspace"
import { runRestartScenario } from "./restart/vscodeCoordinator"
import { toolResultContains } from "./fixtures/tool-result"
import { addViewStateFixtures } from "./fixtures/view-state"

function getCliFlagValue(flag: string) {
return process.argv.find((arg, index) => process.argv[index - 1] === flag)
Expand Down Expand Up @@ -157,6 +159,41 @@ async function main() {
addUseMcpToolResultFixtures(mock)
addWriteToFileResultFixtures(mock)
addDeepSeekV4Fixtures(mock)
addViewStateFixtures(mock)

// Model-agnostic predicate fixtures for the view-state suite's post-switch
// turns. They coexist with the legacy model-scoped regex fixture below
// (shared response id call_modes_post_switch_001) so the modes suite keeps
// its OpenRouter-scoped match while view-state runs under any default model.
mock.addFixture({
match: {
predicate: (req) => toolResultContains(req, "call_modes_switch_001", []),
},
response: {
toolCalls: [
{
name: "attempt_completion",
arguments: JSON.stringify({ result: "Switched to ❓ Ask mode as requested." }),
id: "call_modes_post_switch_001",
},
],
},
})

mock.addFixture({
match: {
predicate: (req) => toolResultContains(req, "call_modes_switch_002", []),
},
response: {
toolCalls: [
{
name: "attempt_completion",
arguments: JSON.stringify({ result: "Switched to 🪲 Debug mode as requested." }),
id: "call_modes_post_switch_002",
},
],
},
})

// The modes test (switch_mode → ask) triggers a second API call whose last
// user message starts with <environment_details> directly — no <user_message>
Expand Down
8 changes: 6 additions & 2 deletions apps/vscode-e2e/src/suite/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import Mocha from "mocha"
import { glob } from "glob"
import * as vscode from "vscode"

import { RooCodeEventName, type RooCodeAPI } from "@roo-code/types"
import { RooCodeEventName, type RooCodeAPI, type RooCodeTestOnlyApi } from "@roo-code/types"

// In the e2e host the extension activates in test mode, so the exports object
// carries the production-gated test-only surface on top of RooCodeAPI.
type E2eApi = RooCodeAPI & RooCodeTestOnlyApi

import { isCompletedAsk, waitFor } from "./utils"
import { authenticatedMockFetch } from "../mock-auth"
Expand All @@ -19,7 +23,7 @@ export async function run() {
)
}

const extension = vscode.extensions.getExtension<RooCodeAPI>("ZooCodeOrganization.zoo-code")
const extension = vscode.extensions.getExtension<E2eApi>("ZooCodeOrganization.zoo-code")

if (!extension) {
throw new Error("Extension not found")
Expand Down
Loading
Loading