Repository navigation
fix(deps): unblock Dependabot's pnpm resolve (release age and trust checks) - #346
Conversation
|
@codex review |
|
@codex security review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
Security findingsAdvisory findings (1)ℹ️ 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. |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
🛡️ Codex Security Review
Here are some automated security review suggestions for this pull request.
Reviewed commit: ea51d97120
ℹ️ About Codex security reviews in GitHub
This is an experimental Codex feature. Security reviews are triggered when:
- You comment "@codex security review"
- A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review
Once complete, Codex will leave suggestions, or a comment if no findings are found.
|
@codex review |
|
@codex security review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review |
|
@codex security review |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
Review record for the merge decision.
Generated with |
Why
#176 moved the repo to pnpm so that Dependabot can update dependencies. After it merged, Dependabot's first npm version-update run on main failed every update with
update_not_possible. GitHub Actions updates worked (#341 to #345), but no npm update PR opened.Two pnpm checks block Dependabot's resolve. Dependabot runs
pnpm update <dep> --lockfile-only --config.minimum-release-age=10080(its 7-day cooldown) on an empty pnpm store, and pnpm applies both checks to every locked package, not only the one being updated:@coder/libghostty-vt-node@0.1.0-beta.7was published 2 days ago:ERR_PNPM_NO_MATURE_MATCHING_VERSION ... does not meet the minimumReleaseAge constraint. This is the error in the Dependabot log.ERR_PNPM_TRUST_DOWNGRADEonsemver@5.7.2. That 2023 backport has no provenance and was published after semver 7.5.1, which has it. release-please reaches it through conventional-changelog-writer > meow > read-pkg-up > read-pkg > normalize-package-data. A store that already holds the locked packages skips the trust check, so this error shows only on an empty store.What changed
pnpm-workspace.yaml:minimumReleaseAgeExclude: ['@coder/libghostty-vt-node@0.1.0-beta.7']. Only that exact locked release skips the age check. A newer release of the package stays behind both the 1-day local age and the 7-day cooldown.trustPolicyExcludegainssemver@5.7.2, next to the existing@octokit/endpoint@9.0.6entry..github/dependabot.yml: the cooldown comment explains both checks. A change to this file also makes Dependabot run again on main right after the merge..agents/skills/verify-agent-tty/scripts/dependabot-resolve.sh, listed in the skill's Helpers table. It replays Dependabot's resolve on copies ofpackage.json,pnpm-lock.yamlandpnpm-workspace.yamlagainst an empty store, prints one line per dependency and a count line, and exits 1 when one fails. It exits 2 on a setup error, including a pnpm whose version differs from thepackageManagerpin.The lockfile does not change:
pnpm install --frozen-lockfilepasses and leavespnpm-lock.yamlunchanged.Validation
dependabot-resolve.sh commander@lateston main'spnpm-workspace.yaml: FAIL with the release-age error (exit 1).commander@latest,zod@latest,vitest@4.1.12andtypescript@latestresolve (4 of 4, exit 0).--no-save -r) for 8 direct dependencies: 16 of 16 pass. Without thesemver@5.7.2entry it fails with the trust downgrade, and without the age entry it fails with the age error.pnpm install --frozen-lockfile,mise run --force format-checkandmise run --force workflow-lintpass.BEGIN_COMMIT_OVERRIDE
fix(deps): unblock Dependabot's pnpm resolve (release age and trust checks)
END_COMMIT_OVERRIDE
Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:high