Skip to content

ci: right-size the cross-platform matrix + fix disk/Foundry failures - #10

Merged
hellno merged 1 commit into
mainfrom
hellno/ci-clean-matrix
Jun 8, 2026
Merged

ci: right-size the cross-platform matrix + fix disk/Foundry failures#10
hellno merged 1 commit into
mainfrom
hellno/ci-clean-matrix

Conversation

@hellno

@hellno hellno commented Jun 8, 2026

Copy link
Copy Markdown
Owner

main's CI is currently red on infrastructure, not code: the Linux job OOMs the stock ~14 GB runner on the heavy gpui + Helios + Railgun dependency tree (cache-save → No space left on device), and the macOS Foundry install hits a GitHub-API 403 rate-limit (foundryup: failed to fetch release tags).

This restructures the workflow into a right-sized matrix: a fast quick (cargo fmt) gate fails cheap before the two heavy runners spin up; Linux frees ~20 GB then runs the full workspace build/clippy/test (with anvil/Foundry, now token-authenticated to avoid the 403) — tests run here, once; macOS only builds the shipping binaries (deckard-app + deckard-signerd) and lints the macOS-only objc2 tray path (no redundant tests, no Foundry — the headless logic is OS-independent and tested on Linux, and this drops the rate-limit flake from the 10×-billed runner). cargo-deny stays a non-blocking supply-chain job.

Evidence: the disk reclaim is verified to turn the Linux build green (run 27159949312), and dropping Foundry from macOS removes the 403 flake.

main's CI is red on infra, not code: the linux job OOMs the stock 14GB runner on
the heavy gpui+Helios+Railgun tree (cache-save 'No space left'), and the macOS
Foundry install hits a GitHub-API 403 rate-limit.

- quick: fail-fast `cargo fmt` gate before the two heavy runners spin up.
- linux: free ~20GB first, then full workspace build+clippy+test (incl. anvil via
  Foundry, now token-authenticated to avoid the 403). Tests run here, once.
- macos: build the shipping binaries (app + signerd) + lint the macOS-only objc2
  tray path. No redundant tests, no Foundry (headless logic is OS-independent and
  tested on linux; this also drops the 403 flake from the 10x-billed runner).
- cargo-deny stays a non-blocking supply-chain job.

Disk reclaim verified (turned the linux run green); macOS no longer installs Foundry.
@hellno
hellno merged commit 60c919e into main Jun 8, 2026
3 of 4 checks passed
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