Repository navigation
fix(pr-pipeline): install resolve-config before the pr-unblock suite - #10950
Conversation
The ownerAdoption test (feedback-dispatch.test.mjs) imports .github/actions/resolve-config/resolve-config.mjs, which needs ajv, but pr-unblock's package.json declared no file: dependency on resolve-config, so run-outside-node-suites.sh never ran its npm ci. The test passed only when another selected package installed it first, and failed on a pull request whose selection ran pr-unblock alone. Declare the dependency, as collect-base-activity does, so the runner installs it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security issues found. The change adds one test-time dependency,
critical-findings: 0 |
|
claude-review reviewed No findings. The change adds What I checked by reading the files:
I did not run the suite. The PR's reported results (973 tests passing, the failing run on #10948) are the author's claims and I have not confirmed them. Trusted paths: none of the changed files matches the trusted-path globs. The change adds a local No manifest, |
No related issue: a CI test-dependency fix found when #10948's test-node failed on main's code.
Summary
test-nodefails on any pull request whose test selection runs thepr-unblocksuite without another package that installsresolve-config. TheownerAdoptiontest in.github/scripts/pr-unblock/feedback-dispatch.test.mjsimports.github/actions/resolve-config/resolve-config.mjs, which needsajv, andpr-unblocknever declared that dependency.Fix
.github/scripts/pr-unblock/package.jsondeclares"resolve-config": "file:../../actions/resolve-config", ascollect-base-activityandcheck-wip-capalready do.scripts/run-outside-node-suites.shrunsnpm cifor eachfile:dependency with a lockfile before the package's tests, soajvis installed.Verification
test-nodeon814554c963(run 40882823673):ownerAdoption reads the base adoption section ...fails atassert.ok(Number.isInteger(adoption.idleHours)), becauseownerAdoptioncatches the missingajvand returns no adoption.scripts/run-outside-node-suites.sh --pathsnaming the suite prints "npm ci in .github/actions/resolve-config, a file: dependency of .github/scripts/pr-unblock", thentests 973, pass 973, fail 0.Related
🤖 Generated with Claude Code