ci: Evaluate with nix-eval-jobs and cancel superseded runs #9

Merged
dev merged 2 commits from ci-eval-jobs into master 2026-11-26 22:07:15 +00:00
2 Commits
Author SHA1 Message Date
jackos1998andClaude Opus 5.5 037ac8b1c0 ci: Evaluate with a pool of nix-eval-jobs workers
Build llm-agents / build (pull_request) Skipped
Each CI job ran in its own `nix build`, and its output path came from
a second `nix eval`. Every one of those evaluations paid ~15s and
~4 GiB to evaluate the flake before reaching its job, and import from
derivation stalled each job in turn. The final `ciDrv` evaluation
covered every job once more.

Evaluate everything once with `nix-eval-jobs` instead: workers keep
the shared evaluation for several jobs and wait on import from
derivation in parallel, and the worker count and memory bound cap
evaluation at 24 GiB of the 40 GiB `git` VM. Build every job in one
`nix build --keep-going`, push the results in one copy, and build the
profiled link farm from the known output paths, which makes `ciDrv`
unnecessary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 21:56:43 +00:00
jackos1998andClaude Opus 5.5 6abf3a1f3a ci: Cancel runs superseded by a newer push
A run builds every system for an hour or more, and only the newest
commit on `master` needs building and caching.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 20:33:17 +00:00