ci: right-size the cross-platform matrix + fix disk/Foundry failures - #10
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-API403rate-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, nowtoken-authenticated to avoid the 403) — tests run here, once; macOS only builds the shipping binaries (deckard-app+deckard-signerd) and lints the macOS-onlyobjc2tray 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-denystays 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.