You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: Test workflow takes 32 min, mostly on an unused fat-LTO release build #570
The Test workflow takes about 32 minutes on main (run 36341737177). Its jobs run one after another: Test (9.5 min) → UI Tests (6) → Windows (16.5).
The slowest step in every job is cargo build --release. The release profile uses lto = true and codegen-units = 1, and that build runs on every push without anything testing its output:
job
cargo build --release
whole job
Ubuntu
267 s
9.5 min
macOS
354 s
11 min
Windows
527 s
16.5 min
Also:
Each job runs cargo build right before cargo test, which builds the same things again.
cargo test --test snapshot_test repeats a test that cargo test --workspace already ran.
Superseded pushes to a pull request keep their runs going: all five jobs, including macOS and Windows.
No job has a timeout, so a hung job runs for 6 hours.
Claude review runs on every push, including pushes to drafts, and each run posts a new comment.
Proposal
Run the UI and macOS/Windows jobs next to the Ubuntu job.
Drop the release builds and the redundant build/test steps. Keep the no-default-features tests.
Add concurrency that cancels superseded pull-request runs.
Add timeouts.
Skip Claude review on drafts, and review once when the pull request is marked ready.
Activity