Skip to content

ci: pin bun off canary on the cloud test lanes (unhang hosted bun install) - #11547

Merged
lalalune merged 1 commit into
developfrom
fix/ci-pin-bun-cloud-lanes
Jul 2, 2026
Merged

lalalune merged 1 commit into
developfrom
fix/ci-pin-bun-cloud-lanes

Conversation

@standujar

Copy link
Copy Markdown
Collaborator

What

Pins bun to 1.3.14 (off floating canary) on the two roots that drive the queue-starved cloud CI lanes — the #1 launch bottleneck flagged on #11157.

Diagnosis (read-only, evidence on #11157)

The stuck lanes — Cloud Tests, cloud-e2e, and test.yml's integration/unit/lint/cloud-live-e2e jobs — all park on cloud-setup-test-envbun install. This is not the control plane and not the robot fleet:

  • Stuck jobs' runner = GitHub Actions <id> (hosted), not hetzner-robot.
  • repos/elizaOS/eliza/actions/runners: 22 hetzner-robots online, ~17 idle — fleet not degraded.
  • Backlog is hosted-runner concurrency draining: jobs queued ~09:xxZ only picked up runners ~19:26–19:34Z (runs 28580797563 / 28580700499), then hang on the bun-install step.

Floating canary hangs bun install on hosted runners and writes lockfileVersion 2 that breaks --frozen-lockfile — the known #11184 / #9454 issue, already pinned to 1.3.14 in ci.yaml but never here.

Change (2 roots, matching the existing ci.yaml pin + comment)

  1. cloud-setup-test-env/action.yml default canary1.3.14. Cloud Tests + cloud-e2e call this action without a bun-version override, so the action DEFAULT is what actually runs on those lanes.
  2. test.yml env BUN_VERSION: canary1.3.14 (drives its jobs' bun-version input).

Deliberately scoped to the cloud test lanes. The broader canary → pin sweep across the other ~86 workflow files is a separate, lower-urgency change — not worth landing blind 2 days pre-launch.

Claimed on #11157.

@greptile-apps greptile-apps Bot 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7c0b0eb1-7b0e-4bf6-8c0b-0f1523361870

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ci-pin-bun-cloud-lanes

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

Comment @coderabbitai help to get the list of available commands.

@0xSolace 0xSolace left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed — [sol-orch]. Diff is exactly the two roots driving the queue-starved lanes (cloud-setup-test-env default + test.yml BUN_VERSION), comments cite the failure mode (canary hang + lockfileVersion 2 vs --frozen-lockfile) with receipts on #11157. Verified the scope claim: ~15 other workflows still float canary (android/apple/benchmark/app-e2e lanes etc), so this deliberately unblocks only the launch-critical CI path — sensible smallest-change; a follow-up sweep can pin the rest once this proves out. One note for the follow-up: root package.json packageManager is bun@1.4.0-canary.1, so local dev and CI will differ slightly until that's reconciled — fine for the unhang, worth aligning later. Approving; author/maintainer merges.

…stall`)

The queue-starved lanes Nubs flagged as the #1 launch bottleneck — Cloud
Tests, cloud-e2e, and test.yml's integration/unit/lint/cloud-live-e2e jobs
— all sit on the `cloud-setup-test-env` -> `bun install` step on
GitHub-HOSTED runners (verified: stuck jobs' runner = `GitHub Actions <id>`,
not hetzner-robot; 22 robots online and ~17 idle, so it is not the fleet and
not the CP). Floating bun `canary` hangs `bun install` on hosted runners
and writes lockfileVersion 2 that breaks --frozen-lockfile — the known
#11184/#9454 issue, already pinned to 1.3.14 in ci.yaml but NOT here.

Two roots, both pinned to 1.3.14 with the reference comment:
- cloud-setup-test-env/action.yml default (Cloud Tests + cloud-e2e call the
  action with no bun-version override, so the DEFAULT is what runs there).
- test.yml env BUN_VERSION (drives its jobs' bun-version input).

Scoped to the cloud test lanes on purpose — the wider canary→pin sweep
(~86 files) is a separate, lower-urgency change, not landed blind 2 days
pre-launch.
@lalalune
lalalune force-pushed the fix/ci-pin-bun-cloud-lanes branch from b11e529 to 2435f40 Compare July 2, 2026 20:36
@lalalune

lalalune commented Jul 2, 2026

Copy link
Copy Markdown
Member

Rebased onto origin/develop (d9d1a47ccd8) and pushed 2435f409925.

Local verification after rebase:

  • ruby -e 'require "yaml"; ARGV.each { |path| YAML.load_file(path); puts "ok #{path}" }' .github/actions/cloud-setup-test-env/action.yml .github/workflows/test.yml -> both YAML files parse
  • rg -n "bun-version|BUN_VERSION|canary|1\.3\.14" .github/actions/cloud-setup-test-env/action.yml .github/workflows/test.yml -> confirms only these two roots now pin 1.3.14 while the explanatory comments reference canary
  • git diff --check origin/develop...HEAD -> clean

Rebased diff remains scoped to .github/actions/cloud-setup-test-env/action.yml and .github/workflows/test.yml only.

@greptile-apps greptile-apps Bot 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@lalalune
lalalune merged commit 412cc3e into develop Jul 2, 2026
34 of 39 checks passed
@lalalune
lalalune deleted the fix/ci-pin-bun-cloud-lanes branch July 2, 2026 21:01
@github-actions github-actions Bot added the ci label Jul 3, 2026
@claude

claude Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants