Skip to content

[regression fix] Run CI on ubuntu-24.04 instead of ubuntu-latest - #217

Closed
apiology wants to merge 1 commit into
masterfrom
pin-ci-runners-to-ubuntu-24-04
Closed

apiology wants to merge 1 commit into
masterfrom
pin-ci-runners-to-ubuntu-24-04

Conversation

@apiology

Copy link
Copy Markdown
Owner

Title: [regression fix] Run CI on ubuntu-24.04 instead of ubuntu-latest

Claude: This PR was written by Claude Code on behalf of @apiology.

Problem:

Since ubuntu-latest became Ubuntu 26.04, CI fails before running any repo code:

Image: ubuntu-26.04
# rspec (3.2 .. 4.0), rubocop, typecheck, plugins: Set up Ruby / Install gems
checking for -lgit2... *** extconf.rb failed ***
mkmf.rb:490:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
An error occurred while installing rugged (1.9.6), and Bundler cannot continue.
  undercover was resolved to 0.8.5, which depends on rugged

# rspec (3.1, 3.10.4)
Error: Unavailable version 3.1.7 for ruby on ubuntu-26.04

Every Ruby check fails on every PR, whatever it changes.

Solution:

Name ubuntu-24.04 as the runner for every job, where all of these jobs passed on 2026-10-19.

Not done instead:

Moving to 26.04 can follow once rugged builds there and 3.1 leaves the matrix.

GitHub moved ubuntu-latest to Ubuntu 26.04 starting 2026-10-19, and
every Ruby job broke there before reaching repo code:

- rugged 1.9.6 (needed by undercover) fails its native build at
  "checking for -lgit2" with "The compiler failed to generate an
  executable file" under GCC 15; rugged's own CI fails the same way
  on 26.04 (libgit2/rugged#1016).
- ruby/setup-ruby has no Ruby 3.1 build for 26.04, since 3.1 does not
  compile with GCC 15 (ruby/setup-ruby#922).

Neither is fixed by a newer setup-ruby: the failing jobs already ran
v1.331.0. Name the runner image so CI stays on 24.04 until rugged
builds on 26.04 and 3.1 leaves the matrix.
@apiology
apiology marked this pull request as ready for review October 20, 2026 12:29
@apiology
apiology marked this pull request as draft October 20, 2026 12:29
@apiology apiology closed this Oct 20, 2026
apiology added a commit that referenced this pull request Oct 21, 2026
Resolve the workflow conflicts by taking master, which now carries
castwide#1436 for Ubuntu 26.04 runners, so the
#217 runner pin is no longer needed here.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wo4FerFK9aaxrGrmVE9ncZ
apiology added a commit that referenced this pull request Oct 21, 2026
Take master workflow files: castwide#1436 supersedes the
ubuntu-24.04 runner pin merged in from #217.
apiology added a commit that referenced this pull request Oct 21, 2026
Resolve the workflow conflicts by taking master, which now carries
castwide#1436 for Ubuntu 26.04 runners, so the
#217 runner pin is no longer needed here.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wo4FerFK9aaxrGrmVE9ncZ
apiology added a commit that referenced this pull request Oct 21, 2026
Take master workflow files: castwide#1436 supersedes the
ubuntu-24.04 runner pin merged in from #217.
apiology added a commit that referenced this pull request Oct 21, 2026
Resolve the workflow conflicts by taking master, which now carries
castwide#1436 for Ubuntu 26.04 runners, so the
#217 runner pin is no longer needed here.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wo4FerFK9aaxrGrmVE9ncZ
apiology added a commit that referenced this pull request Oct 25, 2026
Take master workflow files: castwide#1436 supersedes the
ubuntu-24.04 runner pin merged in from #217.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant