Repository navigation
Conversation
The ubuntu-26.04 runner image has Temurin 11, 17, 21 and 25, but not 8. On it, "apt remove temurin-8-jdk temurin-11-jdk temurin-17-jdk" fails with "Unable to locate package temurin-8-jdk" and removes none of them, so every job with that step fails at the start. The step now removes only the listed JDKs that dpkg knows about. Port of 672889b by Mattias Reichel (jruby#9952) to ruby-4.1. This branch already has the shared bootstrap action, so the change goes there and in the two ci.yml steps that still have their own copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
I think what I just merged into 10.0 and master addresses this. I'll merge it forward. |
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.
Port of #9952 (672889b by Mattias Reichel) to
ruby-4.1.Every PR against
ruby-4.1currently fails almost all of its Linux jobs at the first step:The
ubuntu-26.04runner image no longer has Temurin 8, and anapt removethat names a missing package fails without removing anything.master(#9952) andjruby-10.0(cadb2db) already remove only the JDKs thatdpkgknows about.ruby-4.1was last synced on Nov 11, so it still has the old command. Open PRs on this branch (#10116, #10117, #10118, #10125, #10127, #10128) show roughly 100 failed checks each because of it.Change
sudo apt remove temurin-8-jdk temurin-11-jdk temurin-17-jdkbecomes the same linemasteruses:That's in
.github/actions/bootstrap/action.ymland in the twoci.ymljobs that still have their own copy of the step. The original commit doesn't cherry-pick cleanly, because it edited 12 copies inci.ymlbefore the bootstrap action existed. These three lines are now identical tomaster's.Merging
masterintoruby-4.1would also fix this, along with #10047's retry changes. This PR is the minimal fix in case that merge isn't planned soon.🤖 Generated with Claude Code