Skip to content

build(API): fix CI on ubuntu-26.04 runners - #1351

Merged
jablan merged 5 commits into
mainfrom
ci/bump-setup-ruby
Oct 28, 2026
Merged

jablan merged 5 commits into
mainfrom
ci/bump-setup-ruby

Conversation

@jablan

@jablan jablan commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Problem

ubuntu-latest is now ubuntu-26.04, which broke several CI jobs:

  • phrase/actions/lawa-ci@v1 pins ruby/setup-ruby v1.178.0, which doesn't recognise 26.04 and reports it as self-hosted.
  • Only the latest patch of each Ruby series is built for 26.04, so 3.2.1 (test-ruby) and 3.1.3 (lawa.yml; no 3.1.x exists at all) are unavailable.
  • jaro_winkler 1.5.6, pulled in by rubocop ~> 0.66.0 in the generated Ruby client's Gemfile, fails to compile its native extension on 26.04.

Changes

  • Pin ruby/setup-ruby to v1.335.0 in test-cli.yml and test-ruby.yml (same as strings-app).
  • test-ruby.yml: use Ruby '3.2' (latest 3.2.x).
  • lawa-ci steps (go, java, php, python, cli): pin phrase/actions to main (d2b85063), which includes setup-ruby v1.335.0, since its v1/v2 tags are stale. Pass ruby-bundler-version: 2.5.23 because the lawa-ci default bundler 2.1.4 crashes on its new default Ruby 3.3.
  • lawa.yml: Ruby 3.3 with bundler 2.5.23.
  • Ruby client template: rubocop ~> 0.66.0 to ~> 1.0 (dev-only dependency; rubocop 1.x no longer depends on jaro_winkler).

Notes

  • The lawa-ci SHA pin and bundler override are an interim workaround until phrase/actions releases a fix with a compatible default bundler; they can then go back to the release tag without the override.
  • The rubocop bump only affects the generated Gemfile's development group, not the gemspec or runtime dependencies.

🤖 Generated with Claude Code

Pin ruby/setup-ruby to v1.335.0 and point lawa-ci at phrase/actions main,
which includes the same bump. The old v1.178.0 pin reports ubuntu-26.04
runners as self-hosted and fails.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

API changelog (oasdiff)

Doc-only edits (descriptions, examples) do not appear here.

No changes detected

jablan and others added 3 commits October 28, 2026 09:53
bundler 2.1.4 (lawa-ci default) overflows the stack on Ruby 3.3.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Only the latest patch of each series is built for ubuntu-26.04.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
No Ruby 3.1.x is built for ubuntu-26.04; bundler 2.1.4 does not work on 3.3.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
rubocop 0.66 pins jaro_winkler 1.5.x, whose native extension no longer
builds on ubuntu-26.04 (GCC 15), breaking test-ruby.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jablan jablan changed the title build(API): bump setup-ruby for ubuntu-26.04 runners build(API): fix CI on ubuntu-26.04 runners Oct 28, 2026
@jablan
jablan merged commit bca96e4 into main Oct 28, 2026
14 checks passed
@jablan
jablan deleted the ci/bump-setup-ruby branch October 28, 2026 09:31
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.

3 participants