chore(ci): pin toys to ~> 0.22.0 to restore green CI - #74
Merged
Merged
Conversation
toys 0.23.0 removed the `alias_tool` DSL directive as part of its 1.0 release-candidate refactor, and 0.24.0 followed two days later. CI installs toys unpinned (`gem install --no-document toys`), so every leg has failed with `undefined method 'alias_tool'` since that release published -- at unchanged SHAs, with no code change of our own. `tool "yard", delegate_to: "yardoc"` is accepted by both 0.22 and 0.24, so this needs no version gate.
toys 0.23.0 and 0.24.0 each introduced an independent breaking change that reds this repo's CI at unchanged SHAs, since toys was installed unpinned. 0.23.0 broke the `build` tool with "Could not find a gemspec"; 0.24.0 additionally removed the `alias_tool` directive. Verified matrix: toys 0.22.0 alias_tool PASS build PASS toys 0.23.0 alias_tool PASS build FAIL toys 0.24.0 alias_tool FAIL build FAIL 0.22.0 is therefore the only fully working release, so there is no intermediate version to pin to.
quartzmo
approved these changes
Sep 17, 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.
What happened
CI installs
toysunpinned, so the nightly scheduled run picks up whatever is newest on RubyGems. On 2026-09-11 that became 0.24.0, and every leg has died at tool-load since — at an unchanged SHA (745df42), with no commit from us.From last night's run:
Installed at 09:50:31, dead 31s later, before a single test ran. The line responsible:
Why 0.22.0
0.23 and 0.24 each broke us, in different ways:
alias_toolbuildCould not find a gemspec0.22.0 is the only fully working release.
This PR
~> 0.22.0— note~> 0.22.0, not~> 0.22, which would still admit 0.23 and 0.24.alias_tool :yard, :yardoc→tool "yard", delegate_to: "yardoc", which works on all three versions.7/7 CI legs green.
.toys.rbisn't inspec.files, so no gem contents change and no release.