-
-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introducing breaking changes without bumping major version #541
Comments
I shared my opinion in #539 (comment). IMO it's far more work to update hundreds of thousands workflows to I will not do v2, because I do not have time to maintain multiple branches and then users on v1 (i.e. all current users) would not get newer Ruby versions, while they didn't do anything wrong.
That seems a reasonable solution if node20 cannot easily be installed on your self-hosted runners for some reason. |
Some more thoughts on this:
|
Ensure the following before filing this issue
I verified it reproduces with the latest version with
- uses: ruby/setup-ruby@v1
(see Versioning policy)I tried to reproduce the issue locally by following the workflow steps (including all commands done by
ruby/setup-ruby
, except forDownloading Ruby
&Extracting Ruby
),and it did not reproduce locally (if it does reproduce locally, it's not a ruby/setup-ruby issue)
Are you running on a GitHub-hosted runner or a self-hosted runner?
self-hosted runner
Link to the failed workflow job (must be a public workflow job, so the necessary information is available)
N/A, GHE instance is not exposed to the public web
Any other notes?
Most common actions have been rolling out the newest change that uses node20 as the default runtime. As they do this, they have released it as a new major version, due to the fact that many users are running with self hosted runners that may not be running the latest version of the action runner.
Examples:
In addition, Github themselves had to quickly release a new version reverting this change as it broke so many workflows for users, see actions/runner#2918.
They finally added it via an environment variable
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION
to support both cases, see actions/runner#2844The newly release
setup-ruby
action from earlier today has broken many jobs on my enterprise instance, and our teams had to quickly edit their workflows to update fromruby/setup-ruby@v1
toruby/setup-ruby@v1.158.0
.I would highly recommend adopting a process that uses semver properly to avoid introducing breaking changes.
The text was updated successfully, but these errors were encountered: