Skip to content

test: verify exact #2355 multi-lock dependency review - #2500

Closed
groupthinking wants to merge 6 commits into
codex/npm-multilock-canary-basefrom
codex/npm-multilock-canary-head
Closed

groupthinking wants to merge 6 commits into
codex/npm-multilock-canary-basefrom
codex/npm-multilock-canary-head

Conversation

@groupthinking

@groupthinking groupthinking commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Controlled multi-lock dependency review diagnostic

Refs original #2355 and draft repair #2492. Do not merge this diagnostic. It checks whether the repaired full-tree dependency workflow reports the exact grouped update across the fetch MCP and TypeScript SDK lockfiles. The comparison is off-main and cannot clear #2355's current main-based dependency-review failure.

Temporary base f4f7b6282ca504e0f41d447bae3821548225734d descends from #2492 exact head 979df7f91a0535a0c743e783a21f00e688615e37 and changes only the workflow push filter so GitHub submits snapshots on this temporary base branch. Temporary head dd18e592e18cd89f46086e6b0cafa78f6b314b3d merges exact original #2355 head b63229ebc434d36b4cfc9056e0eb32d3b15ac65d. The base-to-head diff is only #2355's four files, each byte-identical to that PR. No original PR branch or main change is part of this diagnostic.

The exact lockfile audit found 12 npm component changes across two manifests. The hosted dependency-review run 40746775786 passed with both snapshot submissions and the evidence upload successful. Its artifact records 10 changes. An independent GitHub dependency comparison returned HTTP 200 with an empty snapshot-warning header and a byte-identical 10-row response (SHA-256 49b97c5c0025958e609d76d21798819857e5d3148bb36166c7d9f677c5dc6f6f). Each reported row matches a changed lockfile entry and has no reported vulnerability. The GitHub dependency graph omitted two real lockfile rows: the nested brace-expansion development dependency in the fetch lockfile changes from 2.1.4 to 2.1.7. The current recorder validates reported npm rows but does not require all lockfile rows to appear. This is a coverage gap despite the green check and empty snapshot-warning header.

Separate local npm audit --json checks on both exact base and head lockfiles reported 18→14 findings in the fetch package and 10→9 in the TypeScript SDK package. Neither updated lockfile gained a newly reported advisory; brace-expansion is no longer flagged in either updated package. Local clean npm installs and builds passed in both packages, and fetch Jest passed 10/10. These supplemental checks cover the omitted nested update in this controlled comparison, but are not yet a durable hosted completeness guard for other PRs.

This PR is an off-main diagnostic only. It does not clear original #2355's current main-based dependency-review failure or prove the shared repair is ready for main. Close it unmerged and delete both temporary remote branches after preserving this result. The shared repair #2492 must record the completeness gap and obtain an appropriate guard or explicit review before main rollout.

dependabot Bot and others added 6 commits October 7, 2026 02:49
Bumps the npm_and_yarn group with 4 updates in the /docs/knowledge_prototypes/mcp-servers/fetch-mcp directory: [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk), [brace-expansion](https://github.com/juliangruber/brace-expansion), [fast-uri](https://github.com/fastify/fast-uri) and [proxy-addr](https://github.com/jshttp/proxy-addr).
Bumps the npm_and_yarn group with 1 update in the /sdk/typescript directory: [brace-expansion](https://github.com/juliangruber/brace-expansion).


Updates `@modelcontextprotocol/sdk` from 1.26.0 to 1.31.0
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](modelcontextprotocol/typescript-sdk@v1.26.0...1.31.0)

Updates `brace-expansion` from 1.1.18 to 1.1.21
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v1.1.18...v1.1.21)

Updates `brace-expansion` from 2.1.4 to 2.1.7
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v1.1.18...v1.1.21)

Updates `fast-uri` from 3.1.7 to 3.1.8
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.7...v3.1.8)

Updates `proxy-addr` from 2.0.7 to 2.0.8
- [Release notes](https://github.com/jshttp/proxy-addr/releases)
- [Changelog](https://github.com/jshttp/proxy-addr/blob/master/HISTORY.md)
- [Commits](jshttp/proxy-addr@v2.0.7...v2.0.8)

Updates `brace-expansion` from 1.1.13 to 1.1.21
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v1.1.18...v1.1.21)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.31.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: brace-expansion
  dependency-version: 1.1.21
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: brace-expansion
  dependency-version: 2.1.7
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: fast-uri
  dependency-version: 3.1.8
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: proxy-addr
  dependency-version: 2.0.8
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: brace-expansion
  dependency-version: 1.1.21
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Oct 28, 2026 6:37pm UTC

@github-actions github-actions Bot added documentation Improvements or additions to documentation javascript Pull requests that update javascript code labels Oct 28, 2026
@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/@modelcontextprotocol/sdk 1.32.2 UnknownUnknown
npm/brace-expansion 1.1.21 🟢 7
Details
CheckScoreReason
Maintained🟢 1017 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Code-Review⚠️ 1Found 3/16 approved changesets -- score normalized to 1
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Security-Policy🟢 10security policy file detected
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Pinned-Dependencies🟢 10all dependencies are pinned
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 9license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/fast-uri 3.1.9 🟢 8.1
Details
CheckScoreReason
Code-Review🟢 3Found 9/28 approved changesets -- score normalized to 3
Maintained🟢 1030 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Binary-Artifacts🟢 10no binaries found in the repo
Security-Policy🟢 10security policy file detected
Dependency-Update-Tool🟢 10update tool detected
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Pinned-Dependencies🟢 5dependency not pinned by hash detected -- score normalized to 5
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Vulnerabilities🟢 100 existing vulnerabilities detected
Signed-Releases⚠️ -1no releases found
License🟢 9license file detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST🟢 9SAST tool is not run on all commits -- score normalized to 9
Fuzzing⚠️ 0project is not fuzzed
CI-Tests🟢 1011 out of 11 merged PRs checked by a CI test -- score normalized to 10
Contributors🟢 10project has 33 contributing companies or organizations
npm/proxy-addr 2.0.8 🟢 7.3
Details
CheckScoreReason
Maintained🟢 810 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 8
Binary-Artifacts🟢 10no binaries found in the repo
Dependency-Update-Tool🟢 10update tool detected
Code-Review🟢 5Found 4/7 approved changesets -- score normalized to 5
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Pinned-Dependencies🟢 5dependency not pinned by hash detected -- score normalized to 5
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Vulnerabilities🟢 100 existing vulnerabilities detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
SAST🟢 8SAST tool detected but not run on all commits
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Fuzzing⚠️ 0project is not fuzzed
Packaging⚠️ -1packaging workflow not detected
Security-Policy🟢 9security policy file detected
Contributors🟢 10project has 6 contributing companies or organizations
CI-Tests🟢 619 out of 29 merged PRs checked by a CI test -- score normalized to 6
npm/brace-expansion 1.1.21 🟢 7
Details
CheckScoreReason
Maintained🟢 1017 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Code-Review⚠️ 1Found 3/16 approved changesets -- score normalized to 1
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Security-Policy🟢 10security policy file detected
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Pinned-Dependencies🟢 10all dependencies are pinned
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 9license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • docs/knowledge_prototypes/mcp-servers/fetch-mcp/package-lock.json
  • sdk/typescript/package-lock.json

@groupthinking
groupthinking deleted the codex/npm-multilock-canary-head branch October 28, 2026 18:43
groupthinking added a commit that referenced this pull request Oct 29, 2026
## Current status — approved exact-head repair

Head `85f1815ddb7ec121680d067d165e18eb40d90eda` targets `main` at merge
commit `e010c9f3cec5ae72be16814d0841578ea9f8ded2`, after
[#2487](#2487) merged at
exact head `148cbf55fdce412255d2a61780459143521fa4c4`. The verified
merge commit has the same tree as that head, so this PR's seven-file
diff is unchanged. It adds complete npm lockfile coverage, preserves the
scoped `uv.lock` classification, and combines both lock types into one
manual snapshot so GitHub's pinned review action can compare the full
base and head graphs. The controlled
[#2501](#2501) test
passed on an exact four-file dependency update. This has **not** yet
produced a passing dependency comparison against the current `main` or
cleared the original review queue.

The exact-head [dependency review run
40760369080](https://github.com/groupthinking/EventRelay/actions/runs/40760369080)
succeeded through its **code-only no-delta** path: the full-tree and
combined lock submissions were correctly skipped because this PR changes
workflow code and tests, not dependency inputs. Before the automatic
base retarget, all 30 hosted checks at this same code head finished:
**27 successful, 3 skipped, zero failed or pending**. The retarget did
not run a new dependency comparison. A green no-delta check does not
substitute for the controlled #2501 dependency test or a postmerge real
PR test. A description-only edit may rerun metadata checks.

## Canonical issue

Fixes #2505 on merge under the repository's issue-link rule. Parent
#2490 stays open until a repaired `main` snapshot and a refreshed real
dependency PR pass the full comparison. #2487 merged at the approved
head, and GitHub automatically retargeted this draft to `main` at
`e010c9f3cec5ae72be16814d0841578ea9f8ded2`. The head and seven-file diff
remain unchanged. Hayden approved marking this exact head ready and
merging it. Main-based dependency comparison remains a required
postmerge verification.

## Changes

- Remove focused one-ecosystem snapshot staging from
`.github/workflows/dependency-review.yml`. Submit the same full-tree
component-detection scan on `main` pushes and same-repository dependency
PR heads at the exact commit SHA and ref. Keep the verified upstream
component-detection v0.2.0 pin from #2397 and the existing severity,
license and advisory policy.
- Treat Dependabot configuration changes as configuration, and compare a
PR head to its merge base when detecting new dependency inputs. A stale
branch cannot turn a change made only on `main` into a dependency update
in that PR. Real changed manifests and locks remain subject to review.
- Include **every distinct name/version** from the tracked npm
lockfiles, including nested second versions that component detection can
omit. Group duplicate installed paths with runtime scope if any path is
runtime. Submit those npm manifests and the scoped root `uv.lock`
manifest in **one** manual snapshot after the full-tree scan. The scoped
uv manifest treats packages reached only through `dev` or `docs` as
development. The evidence recorder rejects missing, extra,
wrong-manifest, wrong-version or wrong-scope rows against the exact
changed lockfiles.
- Increase the bounded per-file Python `PipReport` scan from 120 to 240
seconds and the job window to 30 minutes after an observed timeout
produced unrelated requirements-file removals. A timeout still falls
back to declared dependencies and can omit transitive packages; the
guard rejects unrelated graph drift. Keep the 600-second
snapshot-warning retry and warning rejection.
- Add regression coverage for workflow selection, stale branches, npm
nested versions and duplicate scope, combined one-request submission,
scoped uv reachability, and exact evidence validation.

## Changed paths

- `.github/workflows/dependency-review.yml`
- `scripts/ci/record_dependency_review.py`
- `scripts/ci/submit_npm_lock_snapshot.py`
- `scripts/ci/submit_uv_lock_snapshot.py`
- `tests/unit/test_dependency_review_workflow.py`
- `tests/unit/test_submit_npm_lock_snapshot.py`
- `tests/unit/test_submit_uv_lock_snapshot.py`

## Validation

- Focused workflow, recorder, npm and uv snapshot suite: `uv run
--no-project --with pytest --with pyyaml python -m pytest -q -o
addopts='' tests/unit/test_submit_npm_lock_snapshot.py
tests/unit/test_submit_uv_lock_snapshot.py
tests/unit/test_dependency_review_workflow.py` — **31 passed in 3.10s**
at the source head. `uv run --no-project --with ruff ruff check` and
`ruff format --check` on those affected Python files, plus `git diff
--check`, passed.
- Controlled uv
[#2499](#2499) used the
exact `uv.lock` delta from original #2486 on matching off-main branches.
Final [hosted run 40738274345, attempt
2](https://github.com/groupthinking/EventRelay/actions/runs/40738274345)
passed policy, recorder and upload with **65 exact rows** (34 additions,
31 removals), correct package names, versions, manifests and development
scopes, and no reported vulnerabilities. `ddtrace-internal` had unknown
license metadata. The first attempt raced the base snapshot; the
unchanged rerun passed. #2499 was closed unmerged.
- Earlier controlled
[#2500](#2500) used
original #2355's exact two npm lockfile changes and exposed a **10/12
coverage gap** in component detection: nested development
`brace-expansion` 2.1.4→2.1.7 was missing. Independent local npm audits
of both lockfiles found no new advisory and fewer findings after the
update (fetch 18→14; SDK 10→9). That green hosted check was
insufficient; #2500 was closed unmerged.
- Final controlled
[#2501](#2501) used the
exact four-file #2355 patch between base
`eb6e556ef9eb8df80250613291c73abfb59b9f0e` and head
`050f211b9715918f52c488a912d3ae797e76d68e`. [Base run
40759330706](https://github.com/groupthinking/EventRelay/actions/runs/40759330706)
submitted the full-tree and combined lock snapshots; [head run
40759346059](https://github.com/groupthinking/EventRelay/actions/runs/40759346059)
passed policy, recorder and upload. Its artifact and independent GitHub
comparison contain **all 12 exact lock changes**, only from the two
changed npm locks, with the nested `brace-expansion` row, correct
scopes, zero added vulnerabilities, and added licenses MIT or
BSD-3-Clause. GitHub's comparison with the review action's `per_page=5`
request is also warning free. #2501 was closed unmerged; its temporary
refs were deleted.
- The final #2501 success followed two diagnosed issues: an unchanged
Python requirements file generated 83 false removals after a 120-second
fallback, and the pinned review action's five-item API page returned a
**0-base/3-head** warning when full-tree, uv and npm were submitted
separately (six snapshots across both sides). The same comparison with a
larger page was warning free and had the correct 12 rows. Combining uv
and npm manifests leaves two submissions per side and yielded the
passing hosted result. Earlier #2493–#2496 diagnostics documented the
initial main snapshot mismatch, the upstream manifest mapping update and
scope validation; those results remain historical evidence, not a
main-based pass.

## Remaining gates

- [x] #2487 merged at its approved head; this draft automatically
retargeted to `main`, and its unchanged seven-file diff was reviewed.
- [x] Complete npm lock coverage and correct uv scope demonstrated in
controlled hosted canaries, with the five-item review comparison warning
free on #2501.
- [x] Exact-head #2492 code-only dependency check and other hosted
checks passed or skipped before the base retarget (27 successful, 3
skipped). This does not prove a main-based dependency update comparison.
- [x] Hayden approved marking exact head
`85f1815ddb7ec121680d067d165e18eb40d90eda` ready and merging #2492 after
review of the main snapshot uncertainty.
- [ ] After the merge, confirm the new `main` full-tree and combined
lock submission, refresh one original manifest-changing PR onto that
main, and require a warning-free hosted policy verdict plus complete
artifact matching its actual dependency files. Then refresh and recheck
the remaining original dependency PRs. Do not claim the original 21
dependency failures are resolved until this passes.
- [ ] Resolve any outstanding review findings and merge decisions for
the original PRs independently of this shared repair.

This branch was successfully deployed

1 active deployment
Preview — dd18e592 Deployed Oct 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant