Skip to content

Update aged dependencies to resolve 1.1.0 security alerts - #1087

Merged
Tomasz Naumowicz (tnaum-ms) merged 15 commits into
mainfrom
dev/tnaum/sec-and-quality-nov-2026
Nov 16, 2026
Merged

Tomasz Naumowicz (tnaum-ms) merged 15 commits into
mainfrom
dev/tnaum/sec-and-quality-nov-2026

Conversation

@tnaum-ms

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

Copy link
Copy Markdown
Collaborator

Summary

Update the DocumentDB extension's runtime and development dependencies to aged,
patched versions for the 1.1.0 security maintenance release.

Implemented with one commit per approved dependency family:

  • proxy-addr 2.0.8
  • Azure Identity 4.14.1 / MSAL Node 7.1.0; remove uuid 8.3.2
  • tmp 0.2.7 and markdown-it 14.3.3
  • Vite 8.1.6 / Rolldown 1.1.5 / source-map-js 1.2.2
  • basic-ftp 6.2.6 scoped under get-uri, verified with a local FTP compatibility smoke

No application behavior changes or unrelated dependency updates are intended.
Exact scoped pins prevent fresh transitive versions; every newly introduced version
must be more than seven days old, with no unknown publication times or lookup failures.

Dependabot alerts

These are security alerts, not GitHub issues; the links below provide traceability
without incorrectly using Closes #NNN against unrelated issues. GitHub evaluates
alert closure after patched dependencies reach the default branch.

Validation

All requested local commands passed:

  • Case 1: npm run build; eight focused auth/shell/playground files, 236 tests.
  • Case 2: npm run prettier-fix, npm run l10n:check, npm run lint,
    npm run build, exact npm run typecheck:tests, npx vitest run
    (414 files, 9,431 passed, one skipped), npm run package.
    No product strings changed, so localization generation was not needed.
  • Additional: verification tools (147 Node and 121 browser tests), VSIX
    inspection, and isolated installed-VSIX activation. Missing Linux GUI libraries
    were extracted into task-local scratch only; no system packages changed.
  • FTP smoke: a read-only loopback FTP server served a PAC file through
    [email protected] with [email protected]. Exact bytes, cache ENOTMODIFIED,
    missing-file ENOTFOUND and numeric FTP error 550 all passed.
  • L2-dev: unchanged /collectionView/default/dark helper passed ready,
    zero errors and all eight assertions in an isolated visible headless browser.
    The integrated hidden tab initially received no animation frames; no
    application code, fixtures or assertions were changed to bypass this.
  • Final dependency skill: both complete lockfiles contain zero fresh
    versions and zero lookup failures. Four unknown publication times are unchanged
    local workspaces. All 36 newly introduced versions have known publication times
    older than seven days, with zero unknowns or lookup failures.
  • Full CI passed:
    static checks, unit tests, package tarballs, VSIX build/inspection/activation
    and merge gate. CodeQL and API typings also passed.
  • Committed AI pre-review:
    Opus 5.5 initial review, Sol different-vendor validation and independent sweep;
    no defects found.

Manual packaged-VSIX checks passed: the operator confirmed "manual tests
passed" on 2026-11-16 at 12:15 UTC, covering the listed Entra ID sign-in, Azure
discovery tree, Collection View and shell-session smoke checks.
A separate proof of loading the lazy packaged Identity SDK remains unverified
and needs an operator decision; the manual-test report does not imply that this
additional test ran. The planned wasm-runtime override resolved correctly
without a scope change. The PR was already ready for review when this result
was recorded; that state is unchanged.

Plan and inline implementation evidence:
dependency remediation plan.

@tnaum-ms Tomasz Naumowicz (tnaum-ms) added this to the 1.1.0 milestone Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

✅ CI passed: standard tier (ready PR)

Commit 5db2d22, workflow run.

Layer Result Ran or skipped because
Static checks ✅ passed 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 ✅ passed ready PR
VSIX: self-test of the activation check ✅ passed build/verification/**, build/vite/**, the Vite configs, package-lock.json or the CI workflow changed
Webview host in unbundled extensions ✅ passed packages/vscode-ext-webview/**, package-lock.json or the CI workflow changed
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.
Last full run: ✅ passed on 400f1c1, requested by Tomasz Naumowicz (@tnaum-ms), run.

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

Sizes that changed by 5% or 50 KiB or more against main (warning only):

Graph PR Base Delta Delta %
Extension host (main) 10.0 MiB 9.9 MiB ⚠️ ⬆️ +104.6 KiB +1.0%
  • Extension host (main), biggest package changes (approx., before minification): @azure/msal-node +82.0 KiB, @azure/core-process 43.4 KiB (entered top 60), @azure/identity +35.0 KiB

Only each graph's 60 largest packages are tracked; the rest are counted as (other), so "entered/left top 60" can mean a package crossed that line, not that it was added or removed.

To find out why, compare the chunks (bytes, moduleIds) in host.json and views.json from Bundle-reports-43865161201 with the same reports from a main build.

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

All graphs (exact bytes)
Graph PR bytes Base bytes Delta bytes Delta %
Collection View page (collectionView) 6,037,196 6,037,227 ⬇️ -31 -0.0%
Document View page (documentView) 4,809,693 4,809,730 ⬇️ -37 -0.0%
Local Quick Start page (localQuickStart) 1,580,447 1,580,391 ⬆️ +56 +0.0%
Atlas Credentials page (atlasCredentials) 1,510,179 1,510,123 ⬆️ +56 +0.0%
Cluster Dashboard page (clusterDashboard) 1,551,887 1,551,835 ⬆️ +52 +0.0%
Diagnose Connection page (connectionDiagnostics) 1,533,091 1,533,014 ⬆️ +77 +0.0%
Activation (mainStartup) 3,773,608 3,814,269 ⬇️ -40,661 -1.1%
Extension host (main) 10,448,902 10,341,771 ⬆️ +107,131 +1.0%
Playground worker (playgroundWorker) 5,410,436 5,405,385 ⬆️ +5,051 +0.1%
VSIX (vsix) 9,416,856 9,390,173 ⬆️ +26,683 +0.3%
playgroundTsPlugin 6,175 6,175 ✅ 0 0.0%
viewsEntry 1,457,617 1,457,561 ⬆️ +56 +0.0%
viewsAssets 80,340 80,340 ✅ 0 0.0%
editorWorker 259,570 259,528 ⬆️ +42 +0.0%
jsonWorker 389,427 389,389 ⬆️ +38 +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) added the ci:full-requested Requests a full run of CI checks. label Nov 16, 2026
@github-actions github-actions Bot removed the ci:full-requested Requests a full run of CI checks. label Nov 16, 2026
@tnaum-ms
Tomasz Naumowicz (tnaum-ms) marked this pull request as ready for review November 16, 2026 12:01
@tnaum-ms
Tomasz Naumowicz (tnaum-ms) merged commit c69c2c0 into main Nov 16, 2026
15 checks passed
@tnaum-ms
Tomasz Naumowicz (tnaum-ms) deleted the dev/tnaum/sec-and-quality-nov-2026 branch November 16, 2026 13:54
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.

2 participants