Skip to content

Update dependencies and require VS Code 1.125 - #1177

Open
Tomasz Naumowicz (tnaum-ms) wants to merge 5 commits into
mainfrom
dev/tnaum/dependency-updates
Open

Tomasz Naumowicz (tnaum-ms) wants to merge 5 commits into
mainfrom
dev/tnaum/dependency-updates

Conversation

@tnaum-ms

Copy link
Copy Markdown
Collaborator

What changed

  • Raise the extension minimum to VS Code 1.125 and the contributor/CI toolchain to Node 24.15, matching the Cosmos DB extension baseline. The standalone npm packages keep their existing consumer requirements.
  • Clear the reported npm audit findings in both the extension and the separate API project. Update VSCE and jsdom to versions used in the Cosmos DB preview; use targeted dependency updates and scoped overrides rather than npm audit fix --force. Document when the API Extractor override can be removed.
  • Fix the TypeScript lint errors exposed by the tooling upgrade without disabling lint rules.
  • Make stable and prerelease VSIX packaging use the same cross-platform runner without spawning a shell. Fix the Collection View AI prompt so the Fluent UI underline stays hidden while the progress indicator is active. Clean up noisy Inventory and Collection View test fixtures and remove routine Query Insights debug logs without suppressing real failures.

Scope and follow-ups

Validation

  • On the final branch: Node 24.15 build passed; 179 targeted suites, 3,644 tests passed, 1 skipped.
  • Earlier local validation: clean install and both npm audits reported zero findings; API build and declaration rollup passed. Follow-up sessions report lint passed on affected files, and Linux smoke checks passed for both stable and prerelease packaging commands.
  • Full Case 2 verification is deferred until review handoff. Still to verify on the final branch: full test suite, VSIX packaging and activation on VS Code 1.125, and a Windows packaging smoke check.

Resolve the extension and API audit findings, and align the build and extension baselines with Node 24.15 and VS Code 1.125.

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>
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

❌ CI failed: standard tier (ready PR)

Commit 60ca55a, workflow run.

Layer Result Ran or skipped because
Static checks ❌ failed every push
Unit tests ✅ passed every push
npm packages: verify tarballs ✅ passed packages/**, package-lock.json or the CI workflow changed
VSIX: inspect contents ✅ passed ready PR
VSIX: self-test of the checks ✅ passed build/verification/**, build/vite/**, the Vite configs, package-lock.json or the CI workflow changed
VSIX: activate in VS Code ❌ failed ready PR
VSIX: self-test of the activation check ⚠️ not run an earlier job or step failed
Webview host in unbundled extensions ⚠️ not run an earlier job or step failed
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 ❌ Failed Run npm run prettier-fix to auto-format, then commit.

PR change stats

Area Files changed Lines added Lines removed Net lines
Production code 8 6 45 -39
Tests and fixtures 55 189 184 +5
Other Markdown 2 16 13 +3
Planning and review notes 0 0 0 0
Generated files and lockfiles 2 1,020 2,422 -1,402
Other files 4 89 20 +69

Whole PR since the merge base. Net is added minus removed. Moves between areas count in both.

Review hotspots: most changed code and test files
  • src/documentdb/shell/ShellTerminalLinkProvider.test.ts: +24 / -24
  • src/webviews/documentdb/collectionView/components/queryEditor/queryEditor.scss: +0 / -35
  • src/documentdb/auth/oidcDestination.harness.test.ts: +10 / -11
  • src/commands/connections-view/moveItems/VerifyNoConflictsStep.test.ts: +9 / -9
  • src/tree/documentdb/CollectionItem.test.ts: +7 / -11

Build size

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

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

All graphs (exact bytes)
Graph PR bytes Base bytes Delta bytes Delta %
Collection View page (collectionView) 5,043,234 5,043,689 ⬇️ -455 -0.0%
Document View page (documentView) 4,481,672 4,481,971 ⬇️ -299 -0.0%
Local Quick Start page (localQuickStart) 1,247,146 1,247,445 ⬇️ -299 -0.0%
Atlas Credentials page (atlasCredentials) 1,175,622 1,175,921 ⬇️ -299 -0.0%
Cluster Dashboard page (clusterDashboard) 1,225,672 1,225,971 ⬇️ -299 -0.0%
Diagnose Connection page (connectionDiagnostics) 1,198,583 1,198,882 ⬇️ -299 -0.0%
Activation (mainStartup) 3,393,877 3,393,877 ✅ 0 0.0%
Extension host (main) 9,972,091 9,971,191 ⬆️ +900 +0.0%
Playground worker (playgroundWorker) 5,447,038 5,417,400 ⬆️ +29,638 +0.5%
VSIX (vsix) 9,105,641 9,112,238 ⬇️ -6,597 -0.1%
playgroundTsPlugin 6,175 6,175 ✅ 0 0.0%
viewsEntry 1,122,677 1,122,976 ⬇️ -299 -0.0%
viewsAssets 80,340 80,340 ✅ 0 0.0%
editorWorker 259,570 259,570 ✅ 0 0.0%
jsonWorker 389,427 389,427 ✅ 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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant