Skip to content

pin-override: re-resolve in range before writing any resolution - #30

Merged
lucas-d-ramos merged 1 commit into
mainfrom
pin-override/re-resolve-in-range
Sep 11, 2026
Merged

pin-override: re-resolve in range before writing any resolution#30
lucas-d-ramos merged 1 commit into
mainfrom
pin-override/re-resolve-in-range

Conversation

@lucas-d-ramos

Copy link
Copy Markdown
Contributor

Most of what Dependabot leaves open never needed a resolution. It needed the
lockfile re-resolved inside the ranges the tree already declares, which is
yarn up -R <pkg> with no version: every copy moves to the newest its own
parent allows, package.json untouched. Dependabot cannot do that — it targets
one exact version for a name across the tree and gives up when any copy cannot
reach it, so brace-expansion at 1.x, 2.x and 5.x under three minimatch parents
was "unfixable" to it while each copy sat one patch from clear. It also cannot
touch a fix a hand-closed PR taught it to ignore; this pass never asks it.

Measured across the fleet on 2026-09-11 in scratch worktrees: 220 audit
findings to 102, no manifest changed anywhere. fundraiser-api's axios, 29
advisories held for a month behind a closed PR, moved 1.9.0 -> 1.20.0 inside
its own ^1.3.6.

The pass keeps only what cleared an advisory (two runs: discover, then keep),
abandons itself if package.json ever changes, and the resolution pass runs on
whatever survives with a re-read tree. New bumped output for the PR body;
changed is true when either pass did something. Dry run skips the pass, as it
cannot preview it without writing the lockfile.

Release

Minor: cut v14.6.0 and move v14. Consumers pick it up with no PR. The template in dependency-policy is updated alongside to render the new bumped output.

🤖 Generated with Claude Code

Most of what Dependabot leaves open never needed a resolution. It needed the
lockfile re-resolved inside the ranges the tree already declares, which is
`yarn up -R <pkg>` with no version: every copy moves to the newest its own
parent allows, package.json untouched. Dependabot cannot do that — it targets
one exact version for a name across the tree and gives up when any copy cannot
reach it, so brace-expansion at 1.x, 2.x and 5.x under three minimatch parents
was "unfixable" to it while each copy sat one patch from clear. It also cannot
touch a fix a hand-closed PR taught it to ignore; this pass never asks it.

Measured across the fleet on 2026-09-11 in scratch worktrees: 220 audit
findings to 102, no manifest changed anywhere. fundraiser-api's axios, 29
advisories held for a month behind a closed PR, moved 1.9.0 -> 1.20.0 inside
its own ^1.3.6.

The pass keeps only what cleared an advisory (two runs: discover, then keep),
abandons itself if package.json ever changes, and the resolution pass runs on
whatever survives with a re-read tree. New `bumped` output for the PR body;
`changed` is true when either pass did something. Dry run skips the pass, as it
cannot preview it without writing the lockfile.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@lucas-d-ramos
lucas-d-ramos merged commit df36a86 into main Sep 11, 2026
2 checks passed
@lucas-d-ramos
lucas-d-ramos deleted the pin-override/re-resolve-in-range branch September 11, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant