Repository navigation
Speed up CI: add x86_64-linux to Gemfile.lock so native gems install prebuilt - #41
Merged
Merged
Conversation
…tive gems Without a Linux platform in the lockfile, Bundler on the GitHub runners compiled sqlc's sqlite3 (bundled SQLite amalgamation), google-protobuf and ruby_wasm from source, which made ruby/setup-ruby take 4-6 minutes on a cold gem cache. The lockfile now also resolves their prebuilt x86_64-linux variants. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FskpZQmVEG9iLWAWhrBiRo
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.
Summary
ruby/setup-rubywithbundler-cache: truetook 4–6 minutes on a cold gem cache (every job in the run after the merge tomain). The lockfile only listedarm64-darwin-23andruby, so on the x86_64 Linux runners Bundler compiledsqlite3(the bundled SQLite amalgamation),google-protobufandruby_wasmfrom source (~3m24s of silence after the last gem finished installing in the SQLite job).This adds the
x86_64-linuxplatform toGemfile.lock, so the prebuilt variants of those gems are used.BUNDLED WITHstays at 2.5.10.Checklist
examples/is regenerated (rake sqlc_generate_process) and committed — n/a, no generator changedocumentation/other) — to be set by a maintainer (CI/tooling change)Generated by Claude Code