Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
408 commits
Select commit Hold shift + click to select a range
28fa2e6
fix: classify Query Insights metadata startup (PR5 R19)
tnaum-ms Nov 24, 2026
cf7c713
fix: propagate terminal index advisor stats failures (PR5 R8)
tnaum-ms Nov 24, 2026
3ac77a1
fix: clear interrupted collection markers after a successful read (PR…
tnaum-ms Nov 24, 2026
4f97ace
fix: settle Dashboard delete progress after cancellation (PR5 R14)
tnaum-ms Nov 24, 2026
18c4e02
fix: retain the acknowledged document ID without replacing newer edit…
tnaum-ms Nov 24, 2026
238337c
fix: clear abandoned query generation progress (PR5 R17)
tnaum-ms Nov 24, 2026
ea03b33
fix: block Collection View transfers in copy-only mode (PR5 R18)
tnaum-ms Nov 24, 2026
eff9c1d
test: verify the uncached Dashboard action path (PR5 R13)
tnaum-ms Nov 24, 2026
5d1ccb0
docs: record PR5 Copilot review dispositions and verification
tnaum-ms Nov 24, 2026
35153c5
fix: satisfy PR5 lint and formatting checks
tnaum-ms Nov 24, 2026
10952ce
PR5: Keep open views bound to their connection identity (#1121)
tnaum-ms Nov 24, 2026
f44c05c
Merge the verified PR5 into PR6
tnaum-ms Nov 24, 2026
0933652
chore: clean up PR6 verification after syncing PR5
tnaum-ms Nov 24, 2026
71c646b
chore: version the PR6 operator VSIX as 1.1.1-alpha.4
tnaum-ms Nov 24, 2026
9744b24
fix: polish the Disconnect recovery dialog after OP-5 (WI-7)
tnaum-ms Nov 25, 2026
0037a23
fix: resume the Dashboard after tree reconnect (WI-8)
tnaum-ms Nov 25, 2026
762f49e
chore: regenerate localization and format PR6 OP-5 follow-ups
tnaum-ms Nov 25, 2026
b315acc
fix: scope Disconnect to connected DocumentDB cluster nodes
tnaum-ms Nov 25, 2026
c731703
fix: keep Playground results when teardown stops a worker
tnaum-ms Nov 25, 2026
931e7c9
docs: record the PR6 Close all review decision
tnaum-ms Nov 25, 2026
9ec3b7e
fix: recover rejected credentials after an unchanged save
tnaum-ms Nov 25, 2026
41ee7a7
fix: preserve cancellation through removal telemetry
tnaum-ms Nov 25, 2026
de79774
fix: let retained views retry after a failed removal
tnaum-ms Nov 25, 2026
952e94b
fix: suppress disconnected shell worker errors
tnaum-ms Nov 25, 2026
fcdf301
fix: discard shell paste after disconnect
tnaum-ms Nov 25, 2026
03e9099
fix: reset rejected disconnected shell input
tnaum-ms Nov 25, 2026
e08e33f
fix: clear tree failure state on disconnect
tnaum-ms Nov 25, 2026
416cb5c
test: use an allowed type for the Playground mock
tnaum-ms Nov 25, 2026
efd3cf2
style: format the Disconnect tree regression test
tnaum-ms Nov 25, 2026
d38df54
fix: pin shell and playground worker authentication relays
tnaum-ms Nov 25, 2026
8c2ca3f
fix: handle worker authentication failures in surfaces
tnaum-ms Nov 25, 2026
f997696
docs: record WI-2 pre-review findings for author decisions
tnaum-ms Nov 25, 2026
e7a7c7b
docs: record approved fixes for WI-2 pre-review
tnaum-ms Nov 25, 2026
72fb52d
fix: preserve healthy shells across host-only invalidation
tnaum-ms Nov 25, 2026
8faa1ba
fix: honor the epoch established by worker sign-in
tnaum-ms Nov 25, 2026
25e686f
fix: cancel invalidated token relays on attached workers
tnaum-ms Nov 25, 2026
f5b79a3
fix: honor explicit playground connection re-pick
tnaum-ms Nov 25, 2026
fce9000
docs: record verification of the four WI-2 review fixes
tnaum-ms Nov 25, 2026
27af82b
feat: measure post-startup Entra token renewal (WI-9)
tnaum-ms Nov 25, 2026
390cbec
PR6: Disconnect clusters without stranding open views (#1130)
tnaum-ms Nov 25, 2026
9c73b7d
docs: document connection lifecycle (WI-10)
tnaum-ms Nov 26, 2026
668ead8
docs: record lifecycle docs preview and pending ingestion
tnaum-ms Nov 26, 2026
c785240
docs: record PR7 pre-review findings for author decisions
tnaum-ms Nov 26, 2026
e1e0f31
chore: prepare worker relay formatting and localization for review
tnaum-ms Nov 26, 2026
2741008
fix: require a verified host identity for worker sign-in
tnaum-ms Nov 26, 2026
50cb05d
fix: report Playground sign-in recovery separately from the run
tnaum-ms Nov 26, 2026
2967db6
fix: compare worker auth mechanisms using their wire types
tnaum-ms Nov 26, 2026
a5ce99b
fix: retain the playground Entra pin after startup failure
tnaum-ms Nov 26, 2026
1e9fc14
fix: follow playground worker bindings across Save As
tnaum-ms Nov 26, 2026
56b5143
fix: preserve destination telemetry across warm Playground runs
tnaum-ms Nov 26, 2026
f9dbc4e
fix: bind worker token relay to audience environment
tnaum-ms Nov 26, 2026
a42fa23
fix: validate worker environment after rejected lookup
tnaum-ms Nov 26, 2026
1a48106
chore: fix worker token relay lint
tnaum-ms Nov 26, 2026
de06cca
test: verify sovereign worker recovery fails closed
tnaum-ms Nov 26, 2026
8a70988
docs: record the PR6a Copilot review dispositions
tnaum-ms Nov 26, 2026
6ab3abd
style: format the PR6a review fixes
tnaum-ms Nov 26, 2026
8e86157
docs: record completed PR6a handoff checks
tnaum-ms Nov 26, 2026
2998e4a
Merge PR6a worker review fixes into PR7
tnaum-ms Nov 26, 2026
fe91067
docs: compare only stable RPC failure signatures and count verified e…
tnaum-ms Nov 26, 2026
f7607d0
docs: clarify when Disconnect and Dashboard recovery need another action
tnaum-ms Nov 26, 2026
9a4d23a
docs: record PR7 review fixes and handoff validation status
tnaum-ms Nov 26, 2026
276adff
style: format PR7 for handoff
tnaum-ms Nov 26, 2026
724127d
PR6a: Renew Shell and Playground sign-in without interruption (#1133)
tnaum-ms Nov 26, 2026
0b2e6f9
Merge branch 'feature/connection-lifecycle' into dev/tnaum/connection…
tnaum-ms Nov 26, 2026
9164b2b
Clarify what a returned worker relay outcome means
tnaum-ms Nov 26, 2026
b5d414d
Describe the tree expansion metric by entry generation
tnaum-ms Nov 26, 2026
380a663
Defer the incomparable cross-release failure metric
tnaum-ms Nov 26, 2026
09848fc
Document how workers resume after an unchanged reconnect
tnaum-ms Nov 26, 2026
3f6f4d6
Distinguish saved-edit behavior for views and workers
tnaum-ms Nov 26, 2026
31195bf
Fence Entra renewal telemetry with the current lookup epoch
tnaum-ms Nov 26, 2026
e70ab7c
Format the connection lifecycle decision table
tnaum-ms Nov 26, 2026
d2e0695
PR7: Measure and document connection recovery (#1135)
tnaum-ms Nov 26, 2026
5fb2efd
Key in-memory connection fingerprints per extension host
tnaum-ms Nov 26, 2026
478cc96
PR7 follow-up: Key in-memory connection fingerprints (#1137)
tnaum-ms Nov 26, 2026
9800654
Document the connection fingerprint CodeQL exception
tnaum-ms Nov 26, 2026
9ee6c87
Document how to record CodeQL alert dismissals
tnaum-ms Nov 26, 2026
559c2f8
PR7 follow-up: Document the fingerprint CodeQL exception (#1138)
tnaum-ms Nov 26, 2026
1d58fdd
docs: Accept PR #1136 final review findings
tnaum-ms Nov 26, 2026
00f9297
docs: Clarify accepted review handoff scope
tnaum-ms Nov 26, 2026
7afc8e3
docs: Plan the accepted connection lifecycle review fixes
tnaum-ms Nov 26, 2026
10badbc
docs(WI-10/F2): Require expiry validation with a first write
tnaum-ms Nov 26, 2026
ad8b9cf
docs(WI-10/WI-12): Record validation and no-change dispositions
tnaum-ms Nov 26, 2026
6eb089a
fix(WI-01/F1): Retire clients after an OIDC callback rejects
tnaum-ms Nov 26, 2026
42dfc23
fix(WI-03/F3): Record bounded webview unavailability reasons
tnaum-ms Nov 26, 2026
0a5f15b
docs(WI-01/WI-03): Record callback and RPC verification
tnaum-ms Nov 26, 2026
b324be7
fix(WI-02/F4): Classify and observe OIDC callback timeouts
tnaum-ms Nov 26, 2026
d676501
fix(WI-04/F5): Surface partial Azure subscription listings
tnaum-ms Nov 26, 2026
5cfb3de
fix(WI-05/F6): Meter otherwise silent connection failures
tnaum-ms Nov 26, 2026
b10fa6e
docs(WI-11): Record bounded lifecycle telemetry changes
tnaum-ms Nov 26, 2026
aed4918
docs(WI-02/WI-04/WI-05/WI-11): Record Case 1 evidence
tnaum-ms Nov 26, 2026
5f8b528
fix(WI-08/F8): Explain when to retry a Collection View query
tnaum-ms Nov 26, 2026
5b120ea
docs(WI-08): Record truthful query retry validation
tnaum-ms Nov 26, 2026
42d23a0
refactor(WI-06/O1): Share bound-webview connection recovery
tnaum-ms Nov 26, 2026
47e1a93
fix(WI-07/F7): Keep Retry and Save errors visible if explanation fails
tnaum-ms Nov 26, 2026
95def37
refactor(WI-09/O2): Keep rejected credential retry policy on the node
tnaum-ms Nov 26, 2026
74d5d17
docs(WI-06/WI-07/WI-09): Record final draft verification and operator…
tnaum-ms Nov 26, 2026
e8a2cb6
chore: l10n, prettier-fix
tnaum-ms Nov 27, 2026
2ad5d56
refactor(SKILL.md): Clarify endpoint definitions and planning consult…
tnaum-ms Nov 27, 2026
a45a422
fix: linting errors
tnaum-ms Nov 27, 2026
402b8e0
Address the connection lifecycle final review (#1139)
tnaum-ms Nov 27, 2026
e254d38
docs: prepare connection lifecycle UX review
tnaum-ms Nov 27, 2026
bb1a392
docs: walk through lifecycle messages for UX review
tnaum-ms Nov 27, 2026
ac2655c
docs: record first connection lifecycle UX decisions
tnaum-ms Nov 27, 2026
dd11ca7
docs: record implementaiton plan for ux issues
tnaum-ms Nov 27, 2026
1d8b12a
docs: record iteration 2 WI-0 operator approvals
tnaum-ms Nov 27, 2026
5d00558
fix: WI-4 clarify retained-content and saved-password wording
tnaum-ms Nov 27, 2026
e4a6ad3
fix: WI-5 unify readable connection and worker statistics
tnaum-ms Nov 27, 2026
e586744
docs: record WI-4 WI-5 outcomes and WI-1 expansion deferral
tnaum-ms Nov 27, 2026
2e3a74a
docs: align WI-4 copy and index approved lifecycle UX decisions
tnaum-ms Nov 27, 2026
57f96b2
fix: WI-1b keep tree command failures in one modal
tnaum-ms Nov 27, 2026
6a1de16
docs: record WI-1b and first lifecycle batch verification
tnaum-ms Nov 27, 2026
773b055
docs: record WI-6 parsing approval and WI-3 runtime control constraint
tnaum-ms Nov 27, 2026
a2eba52
fix: WI-2a clarify retained Shell and Playground recovery guidance
tnaum-ms Nov 27, 2026
08e591e
docs: record WI-2a outcome and approved Retry and completion scopes
tnaum-ms Nov 27, 2026
6d2e107
fix: WI-3 keep Retry feedback and actions within the unavailable episode
tnaum-ms Nov 27, 2026
515a011
docs: record WI-3 sticky Retry outcome and recovery guidance
tnaum-ms Nov 27, 2026
c77ba21
fix: WI-1c-tree refresh and explain explicit stale recovery actions
tnaum-ms Nov 27, 2026
b928ee4
docs: record WI-1c-tree outcome and preserved worker guards
tnaum-ms Nov 27, 2026
aea0810
feat: WI-6 open an unauthenticated diagnostic Shell from failure rows
tnaum-ms Nov 27, 2026
e57fe68
docs: record WI-6 outcome and anonymous recovery boundaries
tnaum-ms Nov 27, 2026
0a01a24
fix: WI-1c-worker explain failed stale recovery on its own surface
tnaum-ms Nov 27, 2026
039c1cb
test: WI-3 fixture acknowledge Document View dirty-state reports
tnaum-ms Nov 27, 2026
92d6896
docs: record worker recovery outcome and browser fixture repair
tnaum-ms Nov 27, 2026
6959c70
chore: update localization for lifecycle UX changes
tnaum-ms Nov 27, 2026
9d43473
fix: WI-2b separate disconnect status from retained Shell input
tnaum-ms Nov 27, 2026
e3d425f
docs: finalize lifecycle UX work items, verification and usage
tnaum-ms Nov 27, 2026
6a8ad87
chore: format lifecycle UX changes for Case 2
tnaum-ms Nov 27, 2026
9553a38
Fix lint scope for nested Git worktrees
tnaum-ms Nov 27, 2026
feb640c
fix: resolve scoped Case 2 lint diagnostics
tnaum-ms Nov 27, 2026
dec9ac6
docs: record Case 2 verification and lint worktree fixes
tnaum-ms Nov 27, 2026
405b200
docs: record accepted PR1146 refinements and deferred C01/C02
tnaum-ms Nov 27, 2026
70c095b
docs: include C01/C02 after operator scope correction
tnaum-ms Nov 27, 2026
233fe56
docs: record advised PR1146 implementation mapping
tnaum-ms Nov 27, 2026
1fdcfd4
fix(C04): keep stale Playground feedback on its owning connection
tnaum-ms Nov 27, 2026
2688f86
fix(C06): keep genuine sign-in dismissal quiet after supersession
tnaum-ms Nov 27, 2026
5742662
docs: record C04/C06 verification and per-thread replies
tnaum-ms Nov 27, 2026
476e651
fix(C01): allow diagnostic auth holds through worker startup
tnaum-ms Nov 27, 2026
7c1dd1a
docs: record C01 startup verification and thread reply
tnaum-ms Nov 27, 2026
61f09ff
fix(C11): avoid duplicate modals for index command failures
tnaum-ms Nov 27, 2026
6f03170
docs: record C11 feedback ownership verification and reply
tnaum-ms Nov 27, 2026
e3bd77b
fix(C02): bind VM diagnostic Shell to the attempted endpoint
tnaum-ms Nov 27, 2026
c952e96
fix(C03): explain stale diagnostic Shell actions from current state
tnaum-ms Nov 27, 2026
bd70e32
fix(C08): keep anonymous Shell startup failures in the terminal
tnaum-ms Nov 27, 2026
3ed042b
docs: record C02 C03 C08 verified outcomes and thread replies
tnaum-ms Nov 27, 2026
ce2cf8d
fix(C07): restore the cursor with retained Shell input
tnaum-ms Nov 27, 2026
30645a8
docs: record C07 cursor verification and link the refinement review
tnaum-ms Nov 27, 2026
0adff1a
docs: clarify C09 async feedback render-origin sequence
tnaum-ms Nov 27, 2026
ba0820e
docs: record individual C05 C10 C12 no-code thread outcomes
tnaum-ms Nov 27, 2026
b32d0a0
fix(C09): preserve Shell input during asynchronous sign-in feedback
tnaum-ms Nov 27, 2026
b89c031
docs: record completed refinement checks and lead usage
tnaum-ms Nov 27, 2026
e33bb7b
chore: format accepted refinements for Case 2
tnaum-ms Nov 27, 2026
2589ec7
test(C11): keep primitive and cleanup fixtures lint-safe
tnaum-ms Nov 27, 2026
209a162
docs: record successful Case 2 refinement verification
tnaum-ms Nov 27, 2026
0b81b3a
Refine connection lifecycle recovery UX (#1146)
tnaum-ms Nov 27, 2026
cd3b994
Merge origin/main into feature/connection-lifecycle
tnaum-ms Nov 27, 2026
1e36240
test: fix collection view router mock after merge
tnaum-ms Nov 27, 2026
ef876cf
wip: complexity reduction
tnaum-ms Nov 30, 2026
3d66aa9
wip: complexity reduction
tnaum-ms Nov 30, 2026
17225d6
docs: record lifecycle simplification baseline (WI-R/W)
tnaum-ms Nov 30, 2026
62848a7
docs: map approved lifecycle checkpoints to implementation slices
tnaum-ms Nov 30, 2026
af8ace1
docs: record R/W/F dispatch and pending live gates
tnaum-ms Nov 30, 2026
b58b745
fix: keep tree recovery pinned to the original account (WI-R)
tnaum-ms Nov 30, 2026
d6be5ea
docs: record WI-R review and the WI-W test blocker
tnaum-ms Nov 30, 2026
4c5ff5f
test: fence worker replies and evaluation replay across teardown (WI-W)
tnaum-ms Nov 30, 2026
8c4854f
docs: record WI-W pass and bounded WI-F1 correction
tnaum-ms Nov 30, 2026
dce388d
docs: record passing host baselines and WI-F1 technical gate
tnaum-ms Nov 30, 2026
b7fd8bf
fix: permanently end retained host lifetimes on teardown (WI-F1)
tnaum-ms Nov 30, 2026
21c5442
docs: record approved WI-F1 boundary and final evidence
tnaum-ms Nov 30, 2026
a0cb190
docs: record WI-F2/E/H1 dispatch after boundary approval
tnaum-ms Nov 30, 2026
95cd11d
fix: fence namespace writes at the last host boundary (WI-H1)
tnaum-ms Nov 30, 2026
b322b74
docs: record WI-H1 pass and scoped E/U/F2 corrections
tnaum-ms Nov 30, 2026
7417e01
fix: isolate frozen Dashboard actions by panel session (WI-F2)
tnaum-ms Nov 30, 2026
1d971f4
fix: complete ordinary Disconnect before editing settings (WI-E)
tnaum-ms Nov 30, 2026
52a70c0
docs: record committed WI-F2/E passes and remaining corrections
tnaum-ms Nov 30, 2026
54e8908
fix: cancel stale query sampling and model sends (WI-H2)
tnaum-ms Nov 30, 2026
674ab9c
fix: keep recovery live and frozen notices copy-only (WI-U1)
tnaum-ms Nov 30, 2026
a76f7cd
docs: record WI-H2/U1 evidence and start guarded handoffs
tnaum-ms Nov 30, 2026
1a1c6ce
docs: align lifecycle guidance with recovery and one-way teardown (WI-P)
tnaum-ms Nov 30, 2026
c640d44
fix: preserve origin lifetimes across Playground handoffs (WI-H3)
tnaum-ms Nov 30, 2026
efd802c
docs: record WI-H3 pass and dispatch final protocol removal
tnaum-ms Nov 30, 2026
9222ec8
docs: add executable manual lifecycle test runbook (WI-P)
tnaum-ms Nov 30, 2026
6bcf634
refactor: remove Retry-unlock protocol and keep close-only RPCs (WI-U2)
tnaum-ms Nov 30, 2026
c4cc00e
docs: record integrated Case 1 and completed U2 evidence
tnaum-ms Nov 30, 2026
37917fc
chore: regenerate localization and format lifecycle changes
tnaum-ms Nov 30, 2026
2dbafd6
test: repair strict lint imports and preserve wizard mock exports (WI-P)
tnaum-ms Nov 30, 2026
2f704aa
docs: record draft handoff, Case 2 repairs and outstanding gates
tnaum-ms Nov 30, 2026
e175711
fix: explain why connection edits require Disconnect (FUP-1)
tnaum-ms Nov 30, 2026
dcbf37f
fix: close clean disconnected views without confirmation (FUP-2)
tnaum-ms Nov 30, 2026
39be627
fix: refresh Playground indicators after explicit Disconnect (FUP-3)
tnaum-ms Nov 30, 2026
ced74e6
docs: record manual feedback fixes and retest steps
tnaum-ms Nov 30, 2026
117e9cc
chore: localize and format manual-feedback fixes
tnaum-ms Nov 30, 2026
da75c7e
test: supply latch subscription in schema contract mock (FUP-3)
tnaum-ms Nov 30, 2026
a9d540c
docs: record follow-up Case 2 fixture approval
tnaum-ms Nov 30, 2026
107efc1
test: type the latch-event mock without getter-spy overloads
tnaum-ms Nov 30, 2026
f8da433
docs: record follow-up test typing correction
tnaum-ms Nov 30, 2026
1b98521
docs: checkpoint PR #1149 review decisions
tnaum-ms Dec 1, 2026
09a1f35
docs: record C01, C08 and C12 review replies
tnaum-ms Dec 1, 2026
5e39ca7
fix: bind Dashboard collection opens to their origin (C04)
tnaum-ms Dec 1, 2026
651a00c
docs: record C04 Dashboard origin acceptance
tnaum-ms Dec 1, 2026
d013208
fix: retire prior connection lifetimes on idle edits (C02)
tnaum-ms Dec 1, 2026
29b899b
docs: record C02 idle-edit acceptance
tnaum-ms Dec 1, 2026
2e01db6
fix: invalidate Playground handoffs from closed Shells (C03)
tnaum-ms Dec 1, 2026
2fe876e
docs: record C03 closed-Shell acceptance
tnaum-ms Dec 1, 2026
94d6287
fix: let Generate Query recover an evicted client (C05)
tnaum-ms Dec 1, 2026
393c441
docs: record C05 query recovery acceptance
tnaum-ms Dec 1, 2026
82723db
fix: keep Entra account rejection recoverable (C07)
tnaum-ms Dec 1, 2026
9917b40
docs: record C07 Entra recovery acceptance
tnaum-ms Dec 1, 2026
0b81b83
fix: settle interrupted Dashboard collections loads (C09)
tnaum-ms Dec 1, 2026
066758f
docs: record C09 Dashboard interruption acceptance
tnaum-ms Dec 1, 2026
eb57981
fix: clear Playground selections after connection removal (C06)
tnaum-ms Dec 1, 2026
a133a26
docs: record C06 Playground removal acceptance
tnaum-ms Dec 1, 2026
700c6d1
fix: resume failed index polling only on Refresh (C10)
tnaum-ms Dec 1, 2026
723a7f7
docs: record C10 index polling acceptance
tnaum-ms Dec 1, 2026
dc4a95b
fix: show localized connection recovery notices (C11)
tnaum-ms Dec 1, 2026
e847964
docs: record C11 acceptance and lifecycle guidance
tnaum-ms Dec 1, 2026
754098c
chore: format connection lifecycle review fixes
tnaum-ms Dec 1, 2026
f1dd44e
docs: record integrated advisor review and index refresh decision
tnaum-ms Dec 1, 2026
4f39971
chore: format C09 follow-up documentation
tnaum-ms Dec 1, 2026
269d371
test: match Dashboard callback ref pattern in C09 regression
tnaum-ms Dec 1, 2026
caaa6b2
docs: record passing integrated Case 2 verification
tnaum-ms Dec 1, 2026
fd20185
Address connection lifecycle review feedback (#1154)
tnaum-ms Dec 1, 2026
d872792
Simplify connection recovery and end retained sessions safely (#1149)
tnaum-ms Dec 1, 2026
1a2b791
Merge main into feature/connection-lifecycle
tnaum-ms Dec 2, 2026
c292e87
Keep Dashboard Connection Diagnostics available in disconnected views
tnaum-ms Dec 2, 2026
7a94f2c
Merge main to preserve Table mouse Back alongside connection lifecycle
tnaum-ms Dec 2, 2026
2591cf6
docs: record PR1136 Copilot review decisions and C01-C03 outcomes
tnaum-ms Dec 2, 2026
f8a6ece
fix: explain Entra provider changes instead of claiming expiry (C04)
tnaum-ms Dec 2, 2026
bd7cbee
fix: record Stage 3 outcome before its terminal event (C05)
tnaum-ms Dec 2, 2026
7a1a7f5
docs: record C04 and C05 acceptance for PR1136 Copilot review
tnaum-ms Dec 2, 2026
9fbfe60
docs: record accepted PR1136 scope reductions
tnaum-ms Dec 2, 2026
c5ac040
test: cover shared recovery boundaries once (WI-1)
tnaum-ms Dec 2, 2026
75f330c
docs: record shared recovery test verification (WI-1)
tnaum-ms Dec 2, 2026
0159d11
fix: give obsolete recovery actions one explanation (WI-2)
tnaum-ms Dec 2, 2026
6a98ffc
docs: record unified obsolete-action guidance (WI-2)
tnaum-ms Dec 2, 2026
c99753d
fix: keep one terminal outcome for retired bindings (WI-3)
tnaum-ms Dec 2, 2026
640ee78
docs: record retired-session behavior and Case 1 verification (WI-3)
tnaum-ms Dec 2, 2026
868cfe9
chore: satisfy scope reduction formatting, localization, and lint checks
tnaum-ms Dec 2, 2026
cb4d141
docs: record Case 2 verification for draft PR1169
tnaum-ms Dec 2, 2026
01590e0
Simplify stale recovery actions and ended connection sessions (#1169)
tnaum-ms Dec 2, 2026
60933a1
docs: condense connection lifecycle plans and review history
tnaum-ms Dec 2, 2026
1e12d20
Condense the connection lifecycle plans and review history (#1170)
tnaum-ms Dec 2, 2026
c50dd2a
fix: complete connection lifecycle telemetry sweep
tnaum-ms Dec 2, 2026
f4da3a4
fix: confirm discard for editable documents on teardown (C06)
tnaum-ms Dec 3, 2026
da40261
fix: settle recoverable Query Insights stream failures (C07)
tnaum-ms Dec 3, 2026
2b0ee05
docs: describe recoverable and ended connection states (C08)
tnaum-ms Dec 3, 2026
bc26954
chore: keep developer commands discoverable without exposing test hel…
tnaum-ms Dec 3, 2026
4799480
feat: make developer session reports easier to scan
tnaum-ms Dec 3, 2026
d06b65d
style: format developer command registration test
tnaum-ms Dec 3, 2026
b75564d
Merge main into feature/connection-lifecycle
tnaum-ms Dec 3, 2026
04bb8c3
test: Fix formatting and lint in Collection View controller tests
tnaum-ms Dec 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions .github/codeql-exceptions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# CodeQL exceptions

This file records the rationale for individual alert dismissals. It is not consumed by
CodeQL and does not disable any rule. Dismiss only the matching alert in GitHub.

## Alert 40: In-memory connection fingerprint

- **Finding:** [Alert 40](https://github.com/microsoft/vscode-documentdb/security/code-scanning/40),
`js/insufficient-password-hash`, in [connectionFingerprint.ts](../src/documentdb/connectionFingerprint.ts).
- **Disposition:** False positive for password verification. The fingerprint compares connection
identities inside one running extension host. It is not used to verify a password. The helper omits
the URI authority password; other URI options can still contain credentials. HMAC-SHA-256 uses a
random host-local key, and neither the fingerprint nor the key is persisted, logged, or sent outside
that host.
- **Revisit if:** The fingerprint or key is persisted or shared, or the fingerprint is used for
password verification.

See [decision 0021](../docs/ai-and-plans/features/connection-lifecycle/decisions.md#0021-key-the-in-memory-connection-fingerprint-per-extension-host)
for the implementation rationale.
3 changes: 3 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ activation, such as a development-only command, must be listed with its reason i
- Never log passwords, tokens, or connection strings
- Use VS Code's secure storage for credentials
- Validate all user inputs
- Follow [the CodeQL dismissal process](../CONTRIBUTING.md#44-codeql-alert-dismissals). Only dismiss
individual alerts with maintainer approval, and record the rationale in
[the CodeQL exception register](codeql-exceptions.md).

## Cluster ID Architecture (Dual ID Pattern)

Expand Down
36 changes: 36 additions & 0 deletions .github/skills/error-translation/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,36 @@ for, and errors that are already obsolete by the time they appear.
Anything with a side effect belongs at the call site, which alone knows whether the user is
watching, whether the operation was a read or a write, and which surface is right.

## Connection-lifecycle errors

The lifecycle uses four typed error families. Preserve their classes and original `cause`; C-2
types are contracts, not prose to infer from a message:

| Error | Meaning |
| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `EntraSignInRequiredError` | Silent acquisition returned no session or the configured authentication provider changed; `reason` is `noSession` or `providerChanged`. |
| `EntraIdentityMismatchError` | Interactive acquisition returned a different Microsoft account from the pinned one. |
| `TokenCallbackError` | Any other OIDC callback throw for Microsoft Entra ID or managed identity. Its bounded `authMethod` records which one, and `cause` retains the original failure. |
| `ConnectionUnavailableError { reason }` | A bound client cannot be used. The reason is `signInRequired`, `credentialsRejected`, `credentialsMissing`, `credentialsUpdating`, `credentialsChanged`, `identityChanged`, `userDisconnected`, `connectionRemoved`, `unreachable`, or `sessionEnded`. |

Register `EntraSignInRequiredErrorExplainer` with provider id `entraSignInRequired` before the
general Entra explainer because the first explanation wins. That provider follows cyclic-safe
`cause` links and `MongoServerSelectionError.reason.servers[*].error`, and recognizes only the
typed sign-in-required and identity-mismatch errors. It explains those failures without exposing
private causes and asks the user to sign in with the original account when identities differ.

Do not translate `ConnectionUnavailableError` through an infrastructure provider. The call site
knows whether the right response is a tree recovery action, a disabled webview dialog, or bounded
shell or playground output. Preserve the `reason`. For recoverable operation failures, tell users
how to address the cause, then let them explicitly rerun the operation; there is no separate
view-unlock step and failed operations are never replayed automatically. For terminal retired
views, use
`isTerminalUnavailable()` from
[connectionUnavailable.ts](../../../src/webviews/_integration/connectionUnavailable.ts) to
classify the reason and show a dismissible **Close view** notice. **Close view** closes the tab;
**X** dismisses the notice so retained content can be selected and copied, but never restores
database access.

## Adding a provider

Implement `ErrorExplanationProvider` and register it in
Expand Down Expand Up @@ -143,6 +173,11 @@ A cluster item's first-connect catch must render through `showClusterConnectFail
it **before** evicting `CredentialCache` or deleting the client: the Entra and Atlas providers read
the cached credentials.

The failure-row anonymous diagnostic Shell must not ask credential-backed explainers about a
different saved authentication context. Its pre-terminal failures use one modal directly at the
command call site; later driver failures stay in the terminal. Preserve the raw safe server
rejection, never reinterpret it as rejected saved credentials or fall back to saved authentication.

### Do not call it from background paths

Background work shows nothing, so translating there costs I/O for no benefit. Leave these alone:
Expand Down Expand Up @@ -193,5 +228,6 @@ l10n.t('The container was removed outside VS Code.')

- [errorExplanationService.ts](../../../src/services/errorExplanationService.ts)
- [connectionReachabilityService.ts](../../../src/services/connectionReachabilityService.ts) prepares a connection _before_ connecting; this service explains a failure _afterwards_
- [EntraSignInRequiredErrorExplainer.ts](../../../src/documentdb/auth/entraErrors/EntraSignInRequiredErrorExplainer.ts)
- [tree-cluster-architecture](../tree-cluster-architecture/SKILL.md) for `clusterId` versus `treeId`
- [telemetry-instrumentation](../telemetry-instrumentation/SKILL.md)
63 changes: 48 additions & 15 deletions .github/skills/lead/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ and in the final report. Never resolve an always-ask question yourself.

A step a work item states explicitly (for example `npm run l10n`) overrides the Case 1 limits.

**Endpoint.** At intake, identify what the operator asked to receive: local work, a draft PR, or a
review handoff. Finishing the work items, passing local verification, reporting CI and marking a PR
ready are separate endpoints; none implies the others. Wording such as "defer Case 2 until all work
items are complete" sets the earliest point Case 2 may start; it does not authorize starting it.
Ask only when the endpoint is genuinely unclear and the answer would change your next action. If
the operator cannot be asked, stop at the narrowest endpoint the request supports and say so. See
Checks for what each endpoint requires.

## Delivery continuity

The approved delivery plan remains the parent task until it is complete or the operator explicitly
Expand Down Expand Up @@ -252,18 +260,31 @@ Use one subagent per work item, except for coupled follow-ups and chains (above)

## Advisor

**Initial planning consultation.** If the operator asks the advisor to analyze or revise the plan
and prepare work items, do that before coding. Include the source plan, accepted decisions,
constraints and the Models rules in the first packet. Ask for a numbered breakdown with each
item's goal, scope, dependencies, interfaces where needed, acceptance criteria, tests, and a
**recommended coding model (full model ID) with a short reason**. The advisor must assign a model
to every item, not leave model selection as a later leader-only step.

Keep the response concise per item; the 250-word verdict limit below applies to ordinary decision
packets, not the whole planning breakdown. Present and record the proposed items and model
assignments with the plan. Preserve accepted decisions, operator-specified models, model permission
gates and the Input approval rules; asking for plan analysis alone is not approval to implement
new or changed scope.
**Initial planning consultation.** When the operator asks for one, or the item-breakdown gate below
applies, run it before coding. Include the source document, accepted decisions, constraints and the
Models rules in the first packet. Scale its depth to how settled the plan is:

- **Accepted plan or review:** the document is the source of truth. Ask for a compact work-item
mapping: each item's scope, dependencies and file overlap, acceptance checks and the tests that
pin them, and a **recommended coding model (full model ID) with a short reason**. Ask for exact
interfaces only where they are needed. Ask for targeted source or dependency reads only where
the evidence could change the fix: uncertain driver or library behaviour, lifecycle or
concurrency invariants, cross-module contracts, or a real conflict with an accepted decision.
Spot-check straightforward items against the code without reopening their rationale. Blockers
and material assumptions need file:line evidence. Stop once the implementation questions are
answered.
- **Unapproved plan, conflicting decisions, or unsettled design:** ask for a full numbered
breakdown: each item's goal, scope, dependencies, interfaces where needed, acceptance criteria,
tests and recommended coding model with a short reason, plus options and a recommendation where
the design is open. Conflicts with recorded decisions go to the operator (see Decisions).

The advisor must assign a model to every item, not leave model selection as a later leader-only
step. Keep the response concise per item; the 250-word verdict limit below applies to ordinary
decision packets, not the whole planning breakdown. Present and record the proposed items and model
assignments with the plan. A lighter consultation narrows the investigation, not the review
standard: the advisor stays read-only, and the advisor gates, logic reviews, accepted decisions,
operator-specified models, model permission gates and the Input approval rules all still apply.
Asking for plan analysis alone is not approval to implement new or changed scope.

**Advisor gates.** Consult the advisor, whatever your confidence, for:

Expand Down Expand Up @@ -402,8 +423,18 @@ Use the two verification cases in `copilot-instructions.md`. You decide when to
run checks after every commit.**

- **Case 1** (build plus focused Vitest runs): run it after larger items or after a batch of items.
- **Case 2:** run the full list **once, at the end**, when the work is being handed over for
review, or when the PR is already out of draft.
It is the only case for local work and for draft-only delivery.
- **Local or draft-only endpoint:** once the requested work passes Case 1, push the draft head if
the operator authorized it, report the CI status for that head and stop. Do not wait for CI
unless asked. Completing every work item does not authorize Case 2 or marking the PR ready. If
pushing was not authorized, stop after the last permitted local step.
- **Case 2:** only for an explicit review handoff, or when the PR is already out of draft. Run
the full list **once**, at the point `copilot-instructions.md` and the prepare-pull-request
skill specify, even if another handoff requirement is still missing. "Run Case 2 but leave the
PR in draft" is a valid endpoint: run it, report the results, and leave the PR in draft.
Marking a PR ready needs the operator's authorization (see Decisions) and every readiness gate:
Case 2 passed and the AI pre-review file committed with the author's decisions. Report manual,
workbench or live checks as pending unless they were actually performed.
- Track `vscode.l10n.t` strings added or removed; if any, remind the operator that Case 2 needs
`npm run l10n`.
- If a check changes files (prettier, l10n), commit those changes separately (`chore: …`).
Expand All @@ -416,9 +447,11 @@ Before the report, check that the user documentation and the feature README stil
changed behaviour. Search them for statements about what the items changed, not only for quoted
strings, and fix them in a docs-only commit.

End with a short report:
End with a short report, then stop:

- items that still need a workbench check, listed first, with the steps to try;
- the endpoint reached (local, draft pushed, Case 2 run, ready) and, for a pushed head, its SHA
and CI status at report time;
- each work item, its commit SHA, and its model;
- the decisions made, who made each, with confidence;
- the questions you escalated and the questions you parked;
Expand Down
51 changes: 49 additions & 2 deletions .github/skills/tree-cluster-architecture/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,38 @@ Rules:
- Never assume a stable ID is also a tree path unless the provider explicitly guarantees `clusterId === treeId`.
- Never change tree construction without checking reverse lookup from `clusterId`.

## Connection Binding Contract

A long-lived surface binds to `{ clusterId, fingerprint, generation }`, not to a `ClustersClient`
instance. Resolve the client for every operation through that shared binding with
`ClustersClient.resolveBoundClient()` or `runWithClient()`. Never retain a `ClustersClient` in view,
router, shell, playground, task, or clipboard state.

- A normal replacement advances the physical client generation while keeping the fingerprint.
An operation bound to the old generation must not attribute its late failure to the replacement,
but a later explicit operation may use the replacement for the same identity.
- Explicit Disconnect, Remove or Disconnect-before-update retires the logical host lifetime once.
That cutoff is one-way: same-account `Reconnect` creates a new live session but does not revive
retained views or canceled handoffs from the retired lifetime.
- A different fingerprint is an identity or settings change. Never rebind an existing surface.
- Use one shared per-operation resolution path. Assert binding/latch state after client resolution,
and capture the originating lifetime or cancellation signal across async handoffs. Check it
again immediately before external side effects, replies and Playground/model sends.
- An operation may hold the resolved client only for the duration of that operation. A stale reply
must not mutate the new connection or replay a failed write.
- Shell and Playground workers may keep their own connection, but pin the originating identity and
use equivalent renewal, cancellation and lifetime checks when they respawn.
- Ordinary token, sign-in or network repair is not retirement. Keep the same tab usable and show
an actionable error for a failed operation; require no Retry-to-unlock step and no automatic
replay. A retained tab after explicit teardown is permanently read-only: dismissing its notice
exposes only copyable contents, and closing it requires the normal dirty confirmation.

The failure-row **Open shell without authentication** entry is separate from normal authenticated
Shell startup. It binds to a sanitized endpoint and re-reads it with epoch/latch checks, without
`CredentialCache`, an authentication pin or a token relay. Only credential-rejection/sign-in/missing
credential holds may be bypassed; Disconnect, removal and updates still block it. Keep local
completion behavior, but exclude shared authenticated metadata and credential-backed explainers.

## Design Rendering and Lookup Together

When adding a cluster hierarchy or a tree/list mode, specify these four functions before coding:
Expand Down Expand Up @@ -187,17 +219,26 @@ If a command is intentionally unavailable, gate it explicitly with context value
The tree shows **actions, never error or information rows**. When expanding a cluster fails, the
reason goes in a **modal** (`showErrorMessage(..., { modal: true, detail })`, translated through
`ErrorExplanationService` where available). The children are only recovery actions:
"Diagnose connection…", "Open shell" (on every failure, so experts can debug
"Diagnose connection…", "Open shell without authentication" (on every failure, so experts can debug
in the shell even when connecting or sign-in failed), and provider-owned
actions such as "Update credentials…" via `errorRecoveryActions`
(`ClusterItemBase.createErrorRecoveryChildren`).

Keep a fixed relative order: configuration/targeted repairs, diagnosis/inspection, shell,
destructive recovery, and **Retry always last** (including "Retry setup…").
Providers prepend repairs; Update connection string precedes Update credentials when both exist.
Providers prepend repairs; **Update connection string** precedes **Update credentials** when both
exist. Then `ClusterItemBase` renders **Retry sign-in** when a verified Entra identity can recover,
followed by **Diagnose connection…** and **Open shell without authentication**. **Retry** is last. When **Retry sign-in** or
the stored-credential rejection action replaces Retry, do not add an ordinary Retry row too.
Failure classification changes availability, never ordering. When healthy resources coexist with
recovery actions, render the healthy resources first and the recovery block last.

A connected cluster's `TreeItem.contextValue` includes the `connected` tag while a client exists
and no lifecycle latch blocks it. Preserve the base context value and use this tag to gate
Disconnect. A user-disconnected cluster renders its single **Reconnect** action instead of database
children; Remove and rejected credentials use their own states and must not be exposed as
user-disconnected.

Do not add a child whose purpose is to show a message (an error label, a "sign-in required" row,
a tooltip-only info node), even with an icon. Better wording belongs in the modal and in the
Diagnose connection panel, not in the tree.
Expand All @@ -210,10 +251,16 @@ Before approving a cluster tree change, answer yes to all:
- [ ] Base cluster context tag is preserved.
- [ ] `clusterId`, `treeId`, and `viewId` have documented owners.
- [ ] Credentials and clients use `clusterId` only.
- [ ] Long-lived surfaces retain bindings, not `ClustersClient` instances.
- [ ] Normal same-fingerprint generation replacement remains separate from one-way lifetime retirement.
- [ ] Per-operation resolution uses the shared path and checks the binding after resolution.
- [ ] Async handoffs fence external side effects with the captured lifetime or cancellation.
- [ ] Every rendered layout has a reverse lookup strategy.
- [ ] Cluster and collection lookup share one resolver.
- [ ] Synthetic ownership is exact and isolated from stored lookup.
- [ ] IDs are collision-safe beyond display names.
- [ ] A real render-to-lookup round-trip test covers every layout.
- [ ] Standard cluster commands work or are explicitly gated off.
- [ ] Failures show a modal; tree children are recovery actions only, never error or info rows.
- [ ] Recovery actions keep provider repairs first, diagnosis and shell next, and Retry last.
- [ ] The `connected` context tag gates Disconnect and disappears while a lifecycle latch applies.
Loading
Loading