Skip to content

ci: run fastlane on Ruby 3.3 (fixes bundle resolution failure) - #1671

Merged
HashEngineering merged 2 commits into
masterfrom
ci/ruby-3.3-fastlane
Nov 2, 2026
Merged

HashEngineering merged 2 commits into
masterfrom
ci/ruby-3.3-fastlane

Conversation

@HashEngineering

@HashEngineering HashEngineering commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Issue

Since about 16:00 UTC on 2026-11-02, every "Dash Wallet CI" run on master and on PRs based on master fails in Setup fastlane:

version solving has failed ... because Gemfile depends on fastlane ~> 2.237 and current Ruby version is = 3.0.3

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.yml and manual_distribution.yml:

  • ruby/setup-ruby now uses ruby-version: '3.3' instead of '3.0.3'.
  • Dropped gem install bundler:2.2.26. setup-ruby already installs Bundler 2.4.22, the version in the lockfile's BUNDLED WITH.
  • Dropped the unpinned global gem install google-cloud-storage. fastlane already brings it in through the bundle (locked at 1.62.0), and the lanes run under bundle exec.
  • Added the Ruby version to the vendor/bundle cache 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.

Gemfile and Gemfile.lock are unchanged.

Testing

Locally on Ruby 3.3.11 with Bundler 2.4.22, from an empty vendor/bundle: bundle install finished 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 left Gemfile.lock byte-identical. bundle exec fastlane --version prints 2.237.0.

/pre-review is clean (0/0/0) on the branch head.

Follow-up

feat/kotlin-sdk-phase-1 has 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

  • Chores
    • Updated the Ruby runtime used by the DashPay, Dash Wallet, and manual distribution release workflows.
    • Release workflows continue to install their required packages and dependencies.
    • No changes to app features or behavior are included in this update.

HashEngineering and others added 2 commits November 2, 2026 10:48
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]>
@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 62e67f61-4c23-4621-ac26-6627c515062a
Commits

Reviewing files that changed from the base of the PR and between dfaa422 and 13777ca.

Files selected for processing: 3
  • .github/workflows/dashpay.yml
  • .github/workflows/dashwallet.yml
  • .github/workflows/manual_distribution.yml

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

Walkthrough

The DashPay, DashWallet, and manual distribution workflows now use Ruby 3.3 and Ruby-versioned gem cache keys. The DashPay and DashWallet workflows no longer explicitly install Bundler 2.2.26 or google-cloud-storage.

Changes: Ruby workflow updates

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: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely identifies the main change: running Fastlane on Ruby 3.3 to resolve bundle resolution failures.
Docstring Coverage Passed 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. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
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.

Share

@thepastaclaw

thepastaclaw commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

✅ Final review complete — no blockers (commit 13777ca) · triage: low

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: low by gpt-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); agent phase1-reviewer
  • Phase 1 model: glm-5.3-flash — zai quota: 5h 91% left, weekly 97% left; passed over gemini-3.8-flash-high (antigravity quota lookup failed)
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort medium); agent phase2-reviewer

@HashEngineering
HashEngineering merged commit c58b0ee into master Nov 2, 2026
3 checks passed
HashEngineering added a commit that referenced this pull request Nov 3, 2026
…ase-1-2026-11-02

chore: merge master into feat/kotlin-sdk-phase-1 (#1660, #1665, #1671)
HashEngineering added a commit that referenced this pull request Nov 3, 2026
Picks up the Ruby 3.3 fastlane CI fix (#1671).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
AshFrancis pushed a commit to AshFrancis/dash-wallet that referenced this pull request Nov 28, 2026
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]>
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.

2 participants