fix(ci): pin Bun to exact 1.2.23 in Claude workflow#28
Conversation
Greptile SummaryThis PR fixes a CI breakage in the Claude Code workflow by changing the Bun version specifier from
Confidence Score: 5/5This is a safe, targeted one-line fix that restores a broken CI step with no impact on application logic. The change replaces an unresolvable wildcard version string with an exact Bun release that bun.sh can serve. The root cause matches the observed failure, and no other parts of the workflow are touched. No files require special attention.
|
| Filename | Overview |
|---|---|
| .github/workflows/claude.yml | Single-line fix: changes bun-version from the unresolvable wildcard "1.2.x" to the exact pinned version "1.2.23", directly addressing the HTTP 400 download failure. |
Sequence Diagram
sequenceDiagram
participant GHA as GitHub Actions
participant SetupBun as oven-sh/setup-bun
participant BunSH as bun.sh
Note over GHA,BunSH: Before fix (broken)
GHA->>SetupBun: bun-version: "1.2.x"
SetupBun->>BunSH: GET /download/1.2.x/linux/x64?...
BunSH-->>SetupBun: HTTP 400 (invalid tag)
SetupBun-->>GHA: Error: Unexpected HTTP response: 400
Note over GHA,BunSH: After fix (working)
GHA->>SetupBun: bun-version: "1.2.23"
SetupBun->>BunSH: GET /download/1.2.23/linux/x64?...
BunSH-->>SetupBun: HTTP 200 + binary
SetupBun-->>GHA: Bun 1.2.23 installed ✓
Reviews (1): Last reviewed commit: "fix(ci): pin Bun to exact 1.2.23 — setup..." | Re-trigger Greptile
## [0.1.2](v0.1.1...v0.1.2) (2026-06-07) ### Bug Fixes * **ci:** pin Bun to exact 1.2.23 — setup-bun rejects 1.2.x wildcard ([#28](#28)) ([83bea42](83bea42))
|
🎉 This PR is included in version 0.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Problem
The
Claude Codeworkflow fails at the Setup Bun step:oven-sh/setup-buninjectsbun-versionverbatim into the bun.sh download URL. The semver wildcard1.2.xis not a real download tag, so bun.sh returns 400. (This came from a Greptile P2 suggestion to pin offlatest— the intent was right, the value wasn't a resolvable version.)Fix
Pin to an exact, resolvable version:
bun-version: "1.2.23"(latest stable in the 1.2 line). Keeps the reproducibility Greptile asked for, and bun.sh accepts it.Failed run: https://github.com/beogip/code-first-agents-tool/actions/runs/27096483902