Skip to content

Unify tree recovery action labels - #1088

Merged
Tomasz Naumowicz (tnaum-ms) merged 3 commits into
mainfrom
copilot/unify-tree-recovery-action-labels
Nov 16, 2026
Merged

Tomasz Naumowicz (tnaum-ms) merged 3 commits into
mainfrom
copilot/unify-tree-recovery-action-labels

Conversation

@tnaum-ms

@tnaum-ms Tomasz Naumowicz (tnaum-ms) commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Tree recovery actions now use consistent, direct labels and a fixed troubleshooting order: configuration and targeted repairs, diagnosis and inspection, shell, destructive recovery, then Retry always last.

What changed

  • Cluster recovery: Put saved-connection repairs before diagnosis and shell, with Update connection string before Update credentials whenever both are available. Shorten the tree action to Diagnose connection….
  • Kubernetes sources: Put Edit kubeconfig or View kubeconfig before Retry, including sources with no contexts. Default sources still offer only Retry.
  • Atlas discovery: Show healthy organizations/clusters first and the single classified recovery action last, in both tree and list modes.
  • Quick Start: Show the setup log, optional Delete container action, then Retry setup. Preserve existing targeted actions for missing containers, unavailable credentials, and preflight states.
  • Labels: Unify sentence case and ellipses across retry, credential, shell, kubeconfig, and setup actions. Use ellipses for workflows and confirmations, not immediate retries or file/log actions.
  • Preserved behavior: Keep command routing and arguments, availability, recovery classification, and error-state caching unchanged. Preserve the distinction between Atlas credential-only, transient-only, and mixed failures; leave the unreachable legacy provider unchanged.

The fixed ordering makes recovery read as “fix or investigate, then try again”; failure classification determines availability rather than dynamically changing action position. The accepted ordering and rationale are recorded in Connections tree design, with related feature documentation and the tree architecture skill updated.

Validation

  • Case 1: npm run build; focused Vitest run across six recovery-related test files — 113 passed.
  • Case 2: npm run l10n, npm run prettier-fix, npm run l10n:check, npm run lint, npm run build, npm run typecheck:tests, npx vitest run, and npm run package — all passed.
  • Full runtime suite: 414 files passed; 9,438 tests passed; 1 skipped. An initial unrelated Fluent UI stylesheet-import test timed out; it subsequently passed in isolation and in the full rerun, without source changes.
  • VSIX packaging passed. No manual installed-extension walkthrough was performed for this ordering change.

Review status

Remains a draft. The formal AI pre-review and committed author-disposition review file required by CONTRIBUTING §6 are still outstanding before requesting human review.

Fixes #1058

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@tnaum-ms Tomasz Naumowicz (tnaum-ms) changed the title [WIP] Unify tree recovery action labels after Diagnose connection ships Unify tree recovery action labels Nov 16, 2026
Keep repairs, diagnosis, shell, and destructive recovery in a fixed order with Retry always last. Render healthy Atlas results before recovery and shorten the diagnosis label. Preserve command wiring, action availability, and failure caching.

Co-authored-by: Copilot <[email protected]>
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

✅ CI passed: standard tier (ready PR)

Commit 523184b, workflow run.

Layer Result Ran or skipped because
Static checks ✅ passed every push
Unit tests ✅ passed every push
npm packages: verify tarballs ⏭️ skipped no change to packages/**, package-lock.json or the CI workflow
VSIX: inspect contents ✅ passed ready PR
VSIX: self-test of the checks ⏭️ skipped no change to build/verification/**, build/vite/**, the Vite configs, package-lock.json or the CI workflow
VSIX: activate in VS Code ✅ passed ready PR
VSIX: self-test of the activation check ⏭️ skipped no change to build/verification/**, build/vite/**, the Vite configs, package-lock.json or the CI workflow
Webview host in unbundled extensions ⏭️ skipped no change to packages/vscode-ext-webview/**, package-lock.json or the CI workflow
E2E ⏭️ not available yet arrives with the E2E iteration (full tier)

Full run: add the ci:full-requested label to run every layer once on the current commit.
No full run yet.

Code quality

Check Status How to fix
Localization (l10n) ✅ Passed Nothing to fix
ESLint ✅ Passed Nothing to fix
Prettier formatting ✅ Passed Nothing to fix

Build size

No page, activation, VSIX or other bundle size changed by 5% or 50 KiB or more against main. VSIX: 9.0 MiB.

Artifacts: VSIX | Bundle-reports-43877420383 | L1-manifest-report-43877420383

All graphs (exact bytes)
Graph PR bytes Base bytes Delta bytes Delta %
Collection View page (collectionView) 6,037,227 6,037,227 ✅ 0 0.0%
Document View page (documentView) 4,809,730 4,809,730 ✅ 0 0.0%
Local Quick Start page (localQuickStart) 1,580,391 1,580,391 ✅ 0 0.0%
Atlas Credentials page (atlasCredentials) 1,510,123 1,510,123 ✅ 0 0.0%
Cluster Dashboard page (clusterDashboard) 1,551,835 1,551,835 ✅ 0 0.0%
Diagnose Connection page (connectionDiagnostics) 1,533,014 1,533,014 ✅ 0 0.0%
Activation (mainStartup) 3,814,170 3,814,269 ⬇️ -99 -0.0%
Extension host (main) 10,341,672 10,341,771 ⬇️ -99 -0.0%
Playground worker (playgroundWorker) 5,405,385 5,405,385 ✅ 0 0.0%
VSIX (vsix) 9,390,148 9,390,173 ⬇️ -25 -0.0%
playgroundTsPlugin 6,175 6,175 ✅ 0 0.0%
viewsEntry 1,457,561 1,457,561 ✅ 0 0.0%
viewsAssets 80,340 80,340 ✅ 0 0.0%
editorWorker 259,528 259,528 ✅ 0 0.0%
jsonWorker 389,389 389,389 ✅ 0 0.0%

Packaged bytes. Shared chunks count in every graph that loads them, so rows do not add up.

Updated in place on every run.

@tnaum-ms
Tomasz Naumowicz (tnaum-ms) merged commit e892242 into main Nov 16, 2026
24 checks passed
@tnaum-ms
Tomasz Naumowicz (tnaum-ms) deleted the copilot/unify-tree-recovery-action-labels branch November 16, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Unify tree recovery action labels after Diagnose connection ships

3 participants