Repository navigation
ci: run benchmarks on their own daily schedule, split from nightly - #3337
Merged
Merged
Conversation
The criterion suite ran as a job inside nightly.yaml: ~80 min, checking performance rather than correctness, yet feeding nightly's failure aggregator and dominating its wall-clock. Extract it into a standalone benchmarks.yaml on its own daily cron (3:47 UTC, offset from nightly's 5:37) plus workflow_dispatch. The env block is carried over so the shared `test` cache key still matches; the gist time-series append stays gated to schedule events; and a dedicated create-issue-on-benchmark-failure job keeps a broken bench harness visible, since benchmarks no longer ride nightly's aggregator and don't run on PRs. Drop the benchmarks job, its header line, and its needs entry from nightly.yaml. Benchmarks no longer run on PRs at all (previously: the `nightly` label or a Cargo-path change); workflow_dispatch against a branch covers on-demand runs. Update the CLAUDE.md benchmarks note and the running-tend skill's setup-nu call-site list (now four sites across ci/nightly/benchmarks/ test-setup). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Resolve nightly.yaml: main (#3324) swapped the benchmarks job's shell install from awalsh128/cache-apt-pkgs-action to plain apt-get; this branch moved that job out to benchmarks.yaml. Keep the move (drop the job from nightly) and apply the same apt-get install to benchmarks.yaml, so the dropped action isn't reintroduced. feature-powerset's apt-get change from main merges cleanly.
worktrunk-bot
approved these changes
Jun 30, 2026
Collaborator
|
Approved. Heads-up that several checks were still running when my monitoring window closed — nothing had failed, but I haven't seen them go terminal: |
max-sixty
added a commit
that referenced
this pull request
Jul 1, 2026
…nightly (#3345) Follow-up to #3332 (fast-checks split + nightly `full-tests`), landing the monitoring/wiring that makes `nightly` a reliable safety net for the cargo-affected rollout. The benchmarks-split half of the original follow-up was dropped — #3337 did it independently, and more completely. ## What changed - **Tend watches `nightly`** (`.config/tend.yaml` + the generated `tend-ci-fix.yaml`). `nightly` hosts `full-tests` (the full 3-OS suite that catches what cargo-affected under-selects), so a red nightly is actionable — Tend now opens a fix PR instead of leaving it silent. #3339's 0.1.9 regen left the watched list at `[ci, publish-docs]`; this adds `nightly`. Tend watches at the workflow level, so it also covers the other nightly jobs (minimal-versions, nix-flake, udeps). - **`create-issue-on-nightly-failure` now needs `full-tests`**, so a cron `full-tests` failure files a tracking issue (neither #3332 nor #3337 wired it in). - **The `release` skill dispatches `nightly`** (benchmark-free) and waits on it — a release's full linux/macos/windows validation once the PR path moves to cargo-affected selection and stops running the full `test` matrix. ## Notes - The generated `tend-ci-fix.yaml` line was hand-applied to match `.config/tend.yaml`; a `uvx tend@latest init` regen reproduces it. - Trade-off: watching `nightly` at the workflow level also signs Tend up for the noisier nightly jobs (resolution drift, nix sandbox). Accepted to keep the safety net green. ## Testing CI-config plus one skill; validated with `actionlint` and pre-commit. The Tend trigger and the release step only exercise on a real nightly failure / release run. > _This was written by Claude Code on behalf of max_ --------- Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
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.
The criterion suite ran as a job inside
nightly.yaml: ~80 min, checking performance rather than correctness, yet feeding nightly's failure aggregator and dominating its wall-clock. This moves it into a standalonebenchmarks.yamlon its own daily schedule, decoupled from nightly's correctness checks.benchmarks.yamlruns on its own cron (3:47 UTC, offset from nightly's 5:37 so the two long runs don't contend) plusworkflow_dispatch. The env block is carried over so the sharedtestcache key still matches (per.github/CLAUDE.md); the gist time-series append stays gated toscheduleevents; and a dedicatedcreate-issue-on-benchmark-failurejob keeps a broken bench harness visible, since benchmarks no longer ride nightly's aggregator.One behavior change: benchmarks no longer run on PRs at all. Previously the job ran on a PR carrying the
nightlylabel or touchingCargo.*.workflow_dispatchagainst a branch covers on-demand bench runs.nightly.yamlloses thebenchmarksjob, its header line, and itsneedsentry in the failure aggregator. Docs updated: theCLAUDE.mdbenchmarks note (benchmarks no longer gate merges since they're off PRs) and therunning-tendskill'ssetup-nucall-site list.This branch also merges current
main, which includes #3324 (dropcache-apt-pkgs-actionfor plainapt-get);benchmarks.yamlinstalls zsh/fish the same way rather than reintroducing the dropped action.