(BOLT-136) Bump ruby_task_helper upper bound to < 2.0.0#18
Merged
david22swan merged 2 commits intoMay 13, 2026
Conversation
This was referenced May 13, 2026
Merged
Merged
ruby_task_helper is now at 1.0.1, which violates the existing < 1.0.0 upper bound and breaks Bolt module dependency resolution (BOLT-136). Bump the upper bound to < 2.0.0 to unblock 1.x while guarding against a hypothetical breaking 2.x release.
- Upgrade actions/checkout and actions/setup-ruby to v4 - Use ruby/setup-ruby with bundler-cache (replaces manual gem caching) - Bump Ruby from 2.5 to 3.1 - Fix push trigger branch: master → main - Fix pull_request trigger key: type → types
fd9fe60 to
a9fa063
Compare
david22swan
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps the
ruby_task_helperdependency upper bound inmetadata.jsonfrom< 1.0.0to< 2.0.0, keeping the original lower bound:>= 0.4.0 < 1.0.0→>= 0.4.0 < 2.0.0. Also modernizes the CI workflow to use current GitHub Actions and Ruby 3.1.Background — BOLT-136
Bolt 5.x ships
ruby_task_helper 1.0.1(pinned in bolt-private's Puppetfile). Modules that declare an upper bound of< 1.0.0onruby_task_helpercause a dependency resolution failure when users runbolt module install:This blocks Puppet 8 / Bolt 5 users from installing any module bundle that includes this module alongside
ruby_task_helper >= 1.0.0.Changes
1. Dependency constraint (metadata.json)
The upper bound is bumped to
< 2.0.0(SemVer-aligned) to unblockruby_task_helper1.x while still guarding against a hypothetical breaking 2.x release.2. CI modernization (tests.yaml)
The existing CI workflow was broken due to deprecated/removed actions and EOL Ruby:
actions/checkout@v1→actions/checkout@v4actions/setup-ruby@v1→ruby/setup-ruby@v1(withbundler-cache: true)actions/cache@v1→ removed (replaced byruby/setup-ruby's built-in bundler cache)2.5.x(EOL since March 2021) →3.12.1.4(Ruby 3.1 ships with a modern bundler)master→main(matches actual default branch)pull_requesttrigger:type→typesHow it was tested
1. Constraint verification (before fix)
Confirmed the constraint violation exists with the published Forge version:
2. Cross-module Puppetfile resolution
Verified that all 5 affected modules resolve cleanly together with
ruby_task_helper 1.0.1using bolt's Puppetfile resolver. This confirms no remaining constraint conflicts across the module set.Related PRs
This is one of 5 coordinated PRs across affected modules:
puppetlabs-http_request(this PR)All apply the same change: bump the
ruby_task_helperupper bound from< 1.0.0to< 2.0.0.