Repository navigation
ci: run fastlane on Ruby 3.3 (fixes bundle resolution failure) - #1671
Conversation
Gemfile.lock locks jwt 3.2.0, signet 0.22.0 and googleauth 1.17.1, which need Ruby >= 3.2, so on the pinned Ruby 3.0.3 bundler ignored the lockfile and re-resolved on every run. Newer gem releases made that fallback resolution unsolvable. Run on Ruby 3.3 so the lockfile is used as written, and drop the global bundler 2.2.26 and unpinned google-cloud-storage installs: setup-ruby installs the locked Bundler 2.4.22, and fastlane brings google-cloud-storage through the bundle. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A vendor/bundle cached under Ruby 3.0 would otherwise be an exact hit for the unchanged Gemfile.lock, so the Ruby 3.3 bundle would be rebuilt on every run and never saved. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Update Ruby setup and gem caching .github/workflows/dashpay.yml, .github/workflows/dashwallet.yml, .github/workflows/manual_distribution.yml |
All three workflows select Ruby 3.3 and include the Ruby version in their gem cache keys and restore prefixes. The DashPay and DashWallet workflows remove explicit installs of Bundler 2.2.26 and google-cloud-storage. |
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Bug fix
Suggested reviewers: thepastaclaw
Merge Risk: 
Minimal · up to 13777
-
No actionable merge-blocking issue is established for these workflow updates. Merge after normal CI checks pass.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)
-
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
|
✅ Final review complete — no blockers (commit 13777ca) · triage: low |
thepastaclaw
left a comment
There was a problem hiding this comment.
Final validation — Phase 1 + Phase 2
Verified the complete diff at head 13777ca: all three workflows consistently select Ruby 3.3, isolate their bundle caches from Ruby 3.0, and retain unconditional dependency installation. The removed global gem installations are redundant with setup-ruby's Bundler setup and fastlane's bundled google-cloud-storage dependency; no actionable defects were found. Current CI build and check jobs pass, and the build log confirms successful Ruby 3.3 dependency installation; no builds or tests were run locally.
Review provenance
Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)
- Triage:
lowbygpt-6.1-sol(effort low) — The diff makes small, straightforward CI runtime, dependency-installation, and cache-key changes across three workflows without changing application logic. - Phase 1 reviewers:
glm-5.3-flash— general (completed, effort high); agentphase1-reviewer - Phase 1 model:
glm-5.3-flash— zai quota: 5h 91% left, weekly 97% left; passed overgemini-3.8-flash-high(antigravity quota lookup failed) - Fresh verifier:
gpt-6.1-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.1-sol— general (completed, effort medium); agentphase2-reviewer
Picks up the Ruby 3.3 fastlane CI fix (#1671). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Brings in dashpay#1660, dashpay#1665, dashpay#1671 and the pre-review fail-closed fix (233a26c). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Issue
Since about 16:00 UTC on 2026-11-02, every "Dash Wallet CI" run on
masterand on PRs based onmasterfails in Setup fastlane:The workflows pin Ruby 3.0.3, which is EOL.
Gemfile.lock(unchanged since #1517) locks jwt 3.2.0, signet 0.22.0 and googleauth 1.17.1, and all three need Ruby >= 3.2. So bundler has never been able to use the lockfile as written; it re-resolved on every run. The last green run fell back to jwt 2.10.3, signet 0.19.0 and fastlane 2.238.0. Gems released since then (e.g. google-apis-core 1.4.x, which needs Ruby >= 3.2) make that fallback resolution unsolvable on 3.0.3. Newer fastlane (2.241.x) also needs Ruby >= 3.2, so moving Ruby forward is the lasting fix; pinning gems back would only delay it.Changes
In
dashwallet.yml,dashpay.ymlandmanual_distribution.yml:ruby/setup-rubynow usesruby-version: '3.3'instead of'3.0.3'.gem install bundler:2.2.26. setup-ruby already installs Bundler 2.4.22, the version in the lockfile'sBUNDLED WITH.gem install google-cloud-storage. fastlane already brings it in through the bundle (locked at 1.62.0), and the lanes run underbundle exec.vendor/bundlecache key and restore prefix. Without it, a cache saved under Ruby 3.0 is an exact hit for the unchanged lockfile, so the 3.3 bundle would be rebuilt on every run and never saved.GemfileandGemfile.lockare unchanged.Testing
Locally on Ruby 3.3.11 with Bundler 2.4.22, from an empty
vendor/bundle:bundle installfinished with no re-resolution and no(was x.y.z)downgrades. It installed the locked jwt 3.2.0, signet 0.22.0, googleauth 1.17.1, google-cloud-storage 1.62.0 and fastlane 2.237.0, and leftGemfile.lockbyte-identical.bundle exec fastlane --versionprints 2.237.0./pre-reviewis clean (0/0/0) on the branch head.Follow-up
feat/kotlin-sdk-phase-1has the same Ruby 3.0.3 setup and the same Gemfile and lockfile, so its next CI run will fail the same way. Cherry-pick these commits there or merge this PR in (that branch also has extra GitHub Packages env in these workflows; keep it).🤖 Generated with Claude Code
Summary by CodeRabbit