Skip to content

Add --cooldown flag to bundle lock and bundle cache - #9725

Merged
hsbt merged 3 commits into
masterfrom
claude/modest-swirles-85fd69
Jul 29, 2026
Merged

Add --cooldown flag to bundle lock and bundle cache#9725
hsbt merged 3 commits into
masterfrom
claude/modest-swirles-85fd69

Conversation

@hsbt

@hsbt hsbt commented Jul 28, 2026

Copy link
Copy Markdown
Member

bundle lock and bundle cache both resolve, but neither accepted --cooldown, so the resolver's failure hint suggesting --cooldown 0 was not actionable on bundle lock --update. This adds the flag to both commands with the same validation and settings propagation as bundle install, and documents it in bundle-lock(1) and bundle-cache(1). bundle cache resolves through bundle install internally, so the flag applies on both paths.

A second commit pins existing resolver behavior in an e2e spec. Cooldown exclusion is keyed on gem name and version ignoring platform, so a fresh platform-specific build pushed under an already-ripe version number cannot slip past the cooldown.

Generated with Claude Code

hsbt and others added 3 commits July 28, 2026 16:27
Both commands resolve, but only install, update, add and outdated
accepted the flag, so the resolver's failure hint suggesting
`--cooldown 0` was not actionable on `bundle lock --update`.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Exclusion is keyed on [name, version] and deliberately ignores
platform, so pushing a fresh platform-specific build under an
already-ripe version number cannot slip new code past the cooldown.
No spec covered that behavior.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
On x86_64-linux hosts `--cooldown 0` resolves to the platform-specific
build, so `include_gems` failed expecting the ruby platform.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@hsbt
hsbt merged commit e23b4a7 into master Jul 29, 2026
110 checks passed
@hsbt
hsbt deleted the claude/modest-swirles-85fd69 branch July 29, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant