Repository navigation
Simplify connection recovery and end retained sessions safely - #1149
Merged
Tomasz Naumowicz (tnaum-ms) merged 63 commits intoDec 1, 2026
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
✅ CI passed: standard tier (ready PR)Commit
Full run: add the Code quality
Build sizeNo size data for Artifacts: VSIX | Bundle-reports-46756927245 | L1-manifest-report-46756927245 All graphs (exact bytes)
Packaged bytes. Shared chunks count in every graph that loads them, so rows do not add up. Updated in place on every run. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The existing bounded connectionFailureKind now reports signInRequired for an Entra account mismatch, preserving the binding until explicit sign-in recovery instead of evicting or replaying it. An actual identity change remains terminal. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Tomasz Naumowicz (tnaum-ms)
marked this pull request as ready for review
December 1, 2026 22:10
Tomasz Naumowicz (tnaum-ms)
merged commit Dec 1, 2026
d872792
into
feature/connection-lifecycle
13 of 23 checks passed
Tomasz Naumowicz (tnaum-ms)
deleted the
dev/tnaum/connection-lifecycle-simplification
branch
December 1, 2026 22:16
This was referenced Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Keep the same tab usable through token expiry, dropped sockets and same-account sign-in repair, without a separate Retry-to-unlock step or automatic operation replay.
Explicit Disconnect, Remove and Disconnect-before-update end the old session permanently. Kept tabs remain read-only; X dismisses only their notice for copying. Reconnecting opens fresh views. Connection edits use ordinary teardown first, and delayed commands, query generation and Playground/Shell handoffs cannot adopt a replacement connection.
Why and scope
Implements approved package P and decisions 0030–0032. This is stacked on
feature/connection-lifecycle, notmain, as part of #1136. Related: #1102, #1059 and #566.Preserves physical-client recovery, worker account pins, startup cancellation, active-transfer guards, dirty-content protection and visible partial-save failures. It does not add multi-identity rebinding, revive explicitly disconnected tabs or broaden network/tunnel recovery.
Manual-test feedback follow-ups
TDD: CollectionNameCachefixture was updated with explicit operator approval; every behavior assertion is unchanged.Validation
npm run build; 587 focused tests across 25 files. Earlier integrated coverage also passed 1,157 tests and 47 browser-manifest tests. Manifest tests validate fixtures, not rendered behavior.f8da433c084d298bdecfe09a8003408dd7dcd708:npm run l10nnpm run prettier-fixnpm run l10n:checknpm run lintnpm run buildnpm run typecheck:tests— strict package-test type checks passed separately.npx vitest run— 459/459 files passed; 10,501 passed, 1 skipped, no failures.npm run packageCandidate for manual testing
f8da433c084d298bdecfe09a8003408dd7dcd708.vscode-documentdb-1.1.1-alpha.4.vsix, version1.1.1-alpha.4, 9,269,838 bytes.683b89d8155c6a8bbd067ad84b44cce6c95787613e474e3c5857d9af7cc1fcd6.This PR intentionally remains draft. Pending manual checks do not prevent publication or Case 2 execution, but they are not waived and are not represented as passed.
Manual tests still pending
The implementation handoff and detailed A–H runbook contains prerequisites, ordered steps, pass/fail/uncertain criteria and a copyable result template.
retryWrites=false: Save is the first database operation, with no warm-up read; preserve the draft and inspect actual submission/server effects.Authorized live infrastructure and a dedicated sleep/wake environment are unavailable to the agent. Each applicable live/workbench result remains NOT RUN / blocked until evidence is returned for the identified candidate.
Design and evidence
Final AI pre-review/author decisions and required live evidence remain readiness gates; per-item advisor reviews do not imply those gates passed.