Repository navigation
ci: watch nightly in Tend; issue on full-tests failure; release runs nightly - #3345
Conversation
…nightly Trimmed after #3337 landed the benchmarks split independently (and more completely). What remains novel: - Tend watches the `nightly` workflow (.config/tend.yaml + the generated tend-ci-fix.yaml), so a red nightly — including a `full-tests` failure that means cargo-affected under-selected — is auto-fixable instead of silent. #3339's 0.1.9 regen did not add nightly; this does. Tend watches at the workflow level, so it also covers minimal-versions / nix-flake / udeps. - `create-issue-on-nightly-failure` now also needs `full-tests`, so a safety-net failure on the nightly cron raises an issue (neither #3332 nor #3337 wired it in). - The `release` skill's test step dispatches `nightly` (benchmark-free) and waits on it — a release's full linux/macos/windows validation once the PR path goes cargo-affected. The generated tend-ci-fix.yaml edit was hand-applied to match .config/tend.yaml; `uvx tend@latest init` reproduces it. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
worktrunk-bot
left a comment
There was a problem hiding this comment.
The CI wiring is correct: full-tests exists and is now in create-issue-on-nightly-failure's needs (so a cron full-tests failure files an issue), and the workflow_run branch filter keeps tend-ci-fix firing only on main-branch nightly runs. The generated tend-ci-fix.yaml edit is fine given the PR body explains it matches .config/tend.yaml and a regen reproduces it.
One non-blocking robustness nit on the new release step (inline): capturing the just-dispatched nightly run via gh run list --limit 1 right after gh workflow run can either miss the run (registration lag → empty $RUN) or return a stale prior workflow_dispatch run — since nightly is almost always cron-triggered, dispatch runs are rare, so a leftover green one from a past release would let the monitor pass immediately and skip the validation this step exists to enforce. Filtering to the in-flight run avoids both.
Addresses review on #3345: gh run list --limit 1 right after gh workflow run could grab a stale prior workflow_dispatch run (nightly is normally cron-only) or miss registration lag. Filter to the non-completed run. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Follow-up to #3332 (fast-checks split + nightly
full-tests), landing the monitoring/wiring that makesnightlya 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
nightly(.config/tend.yaml+ the generatedtend-ci-fix.yaml).nightlyhostsfull-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. chore: update tend workflows (0.1.7 → 0.1.9) #3339's 0.1.9 regen left the watched list at[ci, publish-docs]; this addsnightly. Tend watches at the workflow level, so it also covers the other nightly jobs (minimal-versions, nix-flake, udeps).create-issue-on-nightly-failurenow needsfull-tests, so a cronfull-testsfailure files a tracking issue (neither ci: split fast checks from the full suite; add nightly full-tests safety net #3332 nor ci: run benchmarks on their own daily schedule, split from nightly #3337 wired it in).releaseskill dispatchesnightly(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 fulltestmatrix.Notes
tend-ci-fix.yamlline was hand-applied to match.config/tend.yaml; auvx tend@latest initregen reproduces it.nightlyat 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
actionlintand pre-commit. The Tend trigger and the release step only exercise on a real nightly failure / release run.