Skip to content

Speed up CI - #6

Merged
lobbystack merged 1 commit into
mainfrom
ci-speedup
Sep 18, 2026
Merged

lobbystack merged 1 commit into
mainfrom
ci-speedup

Conversation

@lobbystack

Copy link
Copy Markdown
Owner

Summary

CI takes about 45 minutes, mostly in the Rust matrix on Windows and Ubuntu. Every run compiled all Rust dependencies from scratch on three OSes.

  • Rust build cache: Swatinem/rust-cache in the typescript and rust jobs
  • Bun package cache: ~/.bun/install/cache, keyed on bun.lock (bun install took 92s on Windows)
  • Prebuilt tools: taiki-e/install-action installs wasm-bindgen-cli 0.2.127 and cargo-deny 0.20.2 instead of cargo install
  • Debug desktop build on PRs: tauri build --no-bundle --debug reuses the test build output. Pushes to main keep the release build. The Linux smoke test picks the matching binary.
  • Cancel superseded PR runs: a concurrency group cancels older runs on the same PR. Runs on main are never cancelled.

Reviewer notes

  • The first run on this PR has a cold cache, so it will be about as slow as today. The second run shows the real gain.
  • Release-mode compile issues now surface on main rather than on the PR.
  • Action versions are pinned by commit SHA, like the existing ones.

🤖 Generated with Claude Code

Cache Rust build output and Bun packages, install wasm-bindgen and
cargo-deny as prebuilt binaries, build the desktop app in debug on pull
requests, and cancel superseded pull request runs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Repository owner deleted a comment from chatgpt-codex-connector Bot Sep 18, 2026
@lobbystack
lobbystack merged commit 069c117 into main Sep 18, 2026
7 checks passed
@lobbystack
lobbystack deleted the ci-speedup branch September 18, 2026 19:35
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.

1 participant