Repository navigation
ci: scheduled advisory audits, NOT MEASURED streaks, cache cleaning and a floating-nightly docs build, each failure one issue (#1457) - #1463
Merged
Conversation
…nd a floating-nightly docs build, each failure one issue (#1457) scheduled-checks.yml runs daily: cargo audit and cargo deny check advisories on Cargo.lock, fuzz/Cargo.lock and tools/ci/witness-ifc-lite/Cargo.lock (advisories only for the last two), tools/ci/not_measured.py, and clean_caches.py --delete with actions: write; and on Mondays the docs.rs build on a floating nightly. A run started by hand or on a branch is a dry run unless dry_run is turned off. tools/ci/not_measured.py reads the check-run annotations of the newest main pushes of ci.yml and opens one issue when a NOT MEASURED warning is on every run that measured it for three runs and 24 hours. It never fails CI. report-failure.yml (a reusable workflow over tools/ci/open_issue.py) opens one issue for each failed job under scheduled:<job name>, or leaves the open one alone: it never comments. Corpus nightly and Performance Budgets report through it; before, a red night or week reached nobody. Fuzz's report job, which comments on an open issue, is unchanged. clean_caches.py now treats Fuzz's corpus generations (fuzz-corpus-<target>-<run id>) as a family and keeps the newest two of each target. Refs #1457
8 of 15 tasks
…D warning, keep an advisory apart from a database that never came, guard the cache cleaner, and keep Fuzz's corpus in an artifact (#1457) A job that exceeds timeout-minutes ends as cancelled, not as failed (a run nobody cancelled has !cancelled() true), so the report jobs of scheduled-checks.yml, corpus-nightly.yml and perf-budget.yml now run when a needed job failed or was cancelled, and open_issue.py reports a cancelled job and the step that was running. not_measured.py reads the check runs of a commit and the annotations of the jobs that wrote any, so every job's NOT MEASURED warning is followed (the cited-commits lookup and the folded-pieces viewer test were missed by a fixed list), in ci.yml's pushes to main and in the daily scheduled-checks.yml runs. advisory_check.py runs cargo audit and cargo deny check advisories: an advisory fails at once; a database or index that cannot be fetched is tried three times and then a NOT MEASURED warning, which not_measured.py follows across days. clean_caches.py refuses to go on when the open pull request list is empty or the branch list has no main (an empty body with a success status reads every live cache as dead), retries those reads, and stops at once on a permission 403 instead of waiting it out as a rate limit. fuzz.yml keeps the corpus in an artifact: the cache entry it used was evicted within a night on 2026-11-04 and 05 (no live cache had been accessed before 09:36 UTC on 2026-11-05), so those nights started from the five seed files. The cleaner's Fuzz family is dropped with the cache key. Refs #1457
# Conflicts: # .github/workflows/ci.yml
DrunkOnJava
marked this pull request as ready for review
November 5, 2026 20:38
…f reporting a false failure (#1457) A repository can have no open pull request, after a release empties the queue. The weekly clean then exited 1 and the reporter opened an issue for it. It now deletes nothing, prints a notice saying why and exits 0; a branch list without main stays an error. Refs #1457.
…rts from the seeds (#1457) A transient failure of the artifact listing or download failed the target's job, and on a nightly the report job then opened a fuzz-build issue unrelated to the target. Both calls are tried three times; a corpus still unread, or a zip that does not test clean, warns and starts from the seeds. The zip is unpacked beside the corpus and copied in only whole. That night saves no corpus, so a seeds-only one never becomes the newest artifact. Refs #1457.
… job is (#1457) The header still said the caller runs on failure(). It runs on !cancelled() with a needed job failed or cancelled. The issue text no longer claims a cancelled job is always a timeout, and the docstring records why no matrix leg is cancelled by a sibling: the audit matrix sets fail-fast false and the other callers have none. The maintainer doc describes the unreadable-corpus night and the empty pull request list. Refs #1457.
DrunkOnJava
enabled auto-merge (squash)
November 5, 2026 21:04
DrunkOnJava
added a commit
that referenced
this pull request
Nov 5, 2026
…kflows and widen the PII guard (#1457) (#1462) ## Summary Gates and schedule, part 1 of 2 for #1457: every job that runs steps is time-bounded, the PII guard reads capitalised paths, every runner is a pinned image, the workflows are linted with actionlint and shellcheck, and a script holds the values that must agree across files and fails on any job that lacks a limit. The scheduled checks (part 2) are #1463. ## Motivation #1457 found most jobs with no `timeout-minutes` (the default is 360), a PII guard whose patterns start with `[a-z]` and which skips every workflow file, `-latest` runner labels that move without a commit, stale text in two workflow descriptions and four issue forms, and nothing that checks a workflow before it runs. By the count of `tools/ci/check-workflows.py` 53 jobs ran steps on the day I started (54 now, with `claude.yml`) and 8 had a timeout. ## Changes - PII guard (`ci.yml`): `/Users/`, `/home/` and `C:\Users\` take a user name beginning with either case, a Windows profile folder may hold spaces, and only `ci.yml` (which defines the patterns) is left out of the scan instead of every workflow. A `git grep` that fails (status above 1, such as a pattern that does not compile) now fails the step; it used to read as clean. The patterns are otherwise as they were. - Timeouts on every job that runs steps: 45 jobs gain one (`ci.yml` 20, `publish.yml` 9, `release-binaries.yml` 4, `measure.yml` 3, `fuzz.yml` 3, and `codeql.yml`, `deploy-viewer.yml`, `corpus-nightly.yml`, `perf-budget.yml`, `scorecard.yml`, `zizmor.yml` 1 each). Each is at least 3 times the longest run of that job among the last 96 runs on main and 29 pull-request runs (100 runs of `ci.yml` for the wheel job); the release jobs, which must not die on their limit, are at least 5 times the longest of their last 9 runs (`publish.yml` 20 to 90 minutes, `release-binaries.yml` 20 to 100; `publish-testpypi` was skipped in all 9 runs, so it has no duration and takes the 20 of the other upload jobs). `fuzz`'s limit is an expression: 40 minutes on the default 300 s budget (10 to 13 minutes seen), 360 when a manual run sets another duration. IfcOpenShell has 70: 3.1 times the 22.9 minutes it once took (a slow runner, every step slow) and 17 times its median of 4.0. - Corpus health has 180 minutes. A host that drops packets holds the BIM4LCA and R2025 fetches to their own retries, which end as NOT MEASURED, a warning: BIM4LCA tries two URLs, each five tries of 300 s with 150 s of pauses, 55 minutes; R2025 downloads three archives, and two at their 900 s limit followed by a third refused on four tries of 900 s is 90 minutes; the rest of the job is about 10: 155 in all, and the limit sits above that so a dead host never becomes a red timeout. (The RE1 fetch, `fetch-re1` since #1461, is a red failure, not NOT MEASURED, and is cut off at 15 minutes by its own `timeout 900`: 170 in all.) - `tools/ci/check-workflows.py`, run by `env config lint`, with failure-first tests in `tools/ci/test_check_workflows.py`: it fails on - a job that runs steps without a timeout (a job that calls a workflow is left out); - a `-latest` runner label; - an MSRV that differs between `Cargo.toml`, the two test matrix strings, the other crates (`rvt-mcp` at 1.88 is named as deliberate) and the prose that states it (`README.md`, `CONTRIBUTING.md`, `.cursor/install.sh`, `AGENTS.md`, `docs/python.md`, `RELEASE.md` and `docs/install.md`, which also says the MCP server needs 1.88: that sentence is read against `rvt-mcp`'s own `rust-version`, and an install page whose MCP wording cannot be read fails instead of passing unread); - a documentation-only path list that differs between `ci.yml`'s `paths-ignore`, `viewer-paths` and Deploy viewer's wait step (`viewer-paths` adds `docs/viewer-demos.json` and `docs/support-matrix.json`, named as deliberate; the check reads the wait step's script from a local action too, which #1460 introduces); - a `uses: $/.github/...` or `./.github/...` that names no file, or whose `with:` names an input the target does not declare or leaves out one it requires. actionlint does not know the `$/` form, so `.github/actionlint.yaml` ignores that message and this check stands in for what actionlint would have checked. `PENDING`, the list of jobs another change still edits, is empty. PyYAML joins `requirements-test.txt` with its hashes; its block was spliced in beside the others, and the `uv pip compile` command at the top of the file now produces a fuller file (universal markers for Python before 3.11, `colorama`, `exceptiongroup`, `tomli`, a split `rpds-py`) than the committed one, so a later regeneration will differ in more than PyYAML. CI installs it with `--require-hashes` on Python 3.12. - actionlint 1.7.12 and shellcheck 0.11.0 (the latter through `taiki-e/install-action`, which has no actionlint; the actionlint tarball is checked against the sha256 of its release) in `env config lint`. `.github/actionlint.yaml` ignores exactly the two messages about the `$/` form, whole-message and only for a `$/.github/` target. - Runner pins: every Windows leg runs on `windows-2025-vs2026` and every macOS leg on `macos-26` (the test job, the wheel job, `publish.yml`, `release-binaries.yml`), the images `windows-latest` and `macos-latest` resolved to on 2026-11-05 (actions/runner-images' README lists these labels for them). A pinned label retires eventually: GitHub announces the date in actions/runner-images and runs brownouts first, and after it a job on the label has no runner to pick it up. Moving to the next image is a deliberate edit, as for `ubuntu-24.04` (the comment at `jobs:` in `ci.yml` says so). - Stale text: the `fast` input's description and `ci-pr.yml`'s comment name `corpus-mcp`; the `test` job's header states the unit-test rule as it is; the three issue forms list Revit 2027 down to 2015; `re_finding.yml` links the corpus intake page by its full URL. ## Merged with the other pull requests #1460 (release preflight) and #1461 (wheels without LTO, CodeQL, one RE1 pin list, retried SARIF uploads) are on `main` and merged into this branch. #1460: two textual conflicts, both small (`release-binaries.yml`: the x86_64 macOS entry, mine `macos-26` against its `macos-latest` with `smoke: true` and `rosetta: true`; `publish.yml`: `validate-wheel-install`'s `timeout-minutes` against its `needs: [preflight, build-wheels]`), resolved by taking both. #1461: one conflict, `ci.yml`'s python-wheel job (my pinned `os:` labels beside its no-LTO `env` block), both kept. Two jobs it added had no timeout, and `check-workflows.py` found them: `scorecard.yml`'s `upload-retry` and `zizmor.yml`'s `zizmor-retry` now have 15 minutes, as the jobs they retry do. `PENDING` is empty. #1463 (scheduled checks) is on `main` too and merged: one conflict, `fuzz.yml`'s fuzz job (my timeout expression beside its `actions: read` permissions block), both kept, and the new `scheduled-checks.yml` and `report-failure.yml` already carry timeouts and pinned labels. On the merged tree `check-workflows.py` finds 65 jobs in 17 workflows, 31 local references, 0 errors and 0 warnings, and actionlint exits 0. The RE1 fetch in Corpus health is now `fetch-re1`: each `curl` has `--connect-timeout 20 --speed-limit 1024 --speed-time 60` (a transfer under 1 kB/s for 60 s is abandoned, three tries per host) and the step runs under `timeout 900`, so a stall there is bounded at 15 minutes instead of by the job's limit. The Corpus health arithmetic is 55 + 90 + 10 + 15 = 170 minutes under the limit of 180, and the comment says so. The `publish.yml` wheel comment said it mirrors the CI wheel, which is now a smoke build without LTO, and now says what differs. ## Testing Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead. - [ ] `tools/check-local.sh` passes (fmt, clippy, rustdoc, build, real-file / CLI / contract checks). N/A: CI-only change; no local compute on this lane, CI is the build. - [ ] Verified end to end on real Revit files. N/A: no Rust or reader change. - [ ] If this touches the IFC exporter. N/A. - [ ] If this is a performance change. N/A. What was run: - `actionlint .github/workflows/*.yml` on `main`: 22 messages (16 `[action]`, 6 `[workflow-call]`, all the `$/` form, no shellcheck finding); with `.github/actionlint.yaml` exit 0. In a scratch copy `uses: foo/bar`, `uses: $/other`, `uses: $/.github/actions/with space` and `uses: other/repo/.github/workflows/x.yml` are still reported, and so is a shellcheck finding in a `run:` script. - `python3 tools/ci/check-workflows.py` on this head: 0 errors, 0 warnings; 65 jobs run steps in 17 workflows, 31 local references, 8 crates and 7 prose files for the MSRV (the head merged with #1463). - `python3 tools/ci/test_check_workflows.py`: 81 tests of the pure comparisons. Of 33 mutations of the script every one makes a test fail (one that did not, a `uses` branch shadowed by an absent `steps`, now has a test that observes it), and of 10 more of the two-valued prose check nine do; the tenth is the line in `main()` that reports an `rvt-mcp` with no `rust-version`, which the prose check reports anyway. - Two stale prose statements planted in the working tree (`RELEASE.md`'s `MSRV 1.86`, `docs/install.md`'s `needs Rust 1.89 or later`): `check-workflows.py` exits 1 with one error for each (`RELEASE.md: states Rust 1.86, Cargo.toml's rust-version is '1.87'`; `docs/install.md: says the MCP server needs Rust 1.89, rvt-mcp/Cargo.toml's rust-version is '1.88'`), and 0 errors after both were put back. - On local scratch commits, never pushed: two typos in local references (`$/.github/actions/fetch-re1x`, `$/.github/workflows/nothere.yml`): actionlint exits 0, `check-workflows.py` reports 4 errors, one per use; a stale README MSRV (`MSRV 1.86`) and `publish.yml`'s `build-sdist` without a timeout: both reported, and earlier the `fmt` job without a timeout, MSRV 1.86 in the fast matrix string, `CITATION.cff` dropped from `paths-ignore` and `fmt` on `ubuntu-latest`, each reported. - The PII guard, the step's own script extracted from `ci.yml` and run with `bash` on local scratch commits that were never pushed (a fake capitalised user name was planted: a file holding `/Users/<Name>/`, `/home/<Name>/` and `C:\Users\<Name With Space>\` paths): - `main`'s step on the planted commit: `PII guard: clean.` - this branch's step on the same commit: exit 1, the three patterns each matched with the file and line. - a planted path in `zizmor.yml`, a workflow other than `ci.yml`: `main`'s step is clean, this branch's exits 1. - the plants removed: `PII guard: clean.` - a pattern that does not compile: `main`'s step prints `clean.`, this branch's exits 1 with `git grep failed (status 128)`. - Hashed install of `tools/ci/requirements-test.txt` on Python 3.12 (uv, `--require-hashes`) succeeds with PyYAML 6.0.3. - On GitHub's runners at the first push (head `cdd2c731`, run 42076073074, a draft, so the fast set): `fast / env config lint` passed in 44 s with every new step (shellcheck 0.11.0 and actionlint installs and runs, the tests, `check-workflows.py`), as did `fast / PII guard`, `fast / cargo fmt`, the Ubuntu MSRV build and zizmor; Measure's `plan`, shards, `same-project gates` and `compare` ran on the changed `measure.yml` and passed. 22 checks passed, none failed, 17 were skipped by the draft's fast set. The CI run of the current head is read by the main session. Not measured: the Windows and macOS legs on `windows-2025-vs2026` and `macos-26` (a draft does not run them; the full set will); the release workflows' new timeouts and labels (they run at a tag); every new timeout's headroom on a cold Rust cache (no run in the 96-run window rebuilt the dependencies from nothing); a cold clone of the family corpus under `test`'s 40 minutes (every run in the window restored it from the cache; on main's first run after #1092 moved its pin, run 40957121621, the fetch step took 2 s on Linux and 10 s on Windows, and the job's steps do not say whether that run restored or cloned); and Scorecard with a `timeout-minutes` on its job (the published restrictions on the job list env, defaults, containers, runners and approved steps, not a timeout, but the first Scorecard run after the merge should still say its results were published). ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR (no user-visible capability changes) - [ ] A user-visible change has its entry as a fragment under `changelog.d/<section>/`. N/A: CI only, as agreed for #1457. - [ ] If a limitation was resolved, the "Known limitations" / "What works today" section is updated. N/A. - [x] If a new limitation was introduced, it is documented in the PR body (none). - [x] Commit messages describe WHAT changed and WHY - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files (the planted paths of the proof were on local scratch commits only) - [ ] Reverse-engineering finding. N/A. ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 - [x] This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content - [x] Any new test fixtures use synthetic values ## Breaking changes None. The Windows, macOS and wheel job names carry the new labels (`build + real files / windows-2025-vs2026 / stable`, `Python wheel / macos-26`); the required check is `full / CI passed`, and nothing in the repository reads the old names. ## Screenshots or output samples See Testing. ## Related issues Refs #1457
18 tasks done
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.
Summary
Gates and schedule, part 2 of 2 for #1457 (part 1 is #1462): a daily advisory audit of the three lockfiles, a check for a NOT MEASURED warning that persists, a daily cleaning of the Actions cache, and a weekly docs.rs build on a floating nightly, each failure opening one issue; Corpus nightly and Performance Budgets report their failures the same way. Fuzz's corpus moves from the Actions cache to an artifact, because the cache was losing it.
Motivation
#1457 and today's audit:
fuzz/Cargo.lockandtools/ci/witness-ifc-lite/Cargo.lockare audited by nothing; BIM4LCA, R2025 andpnpm auditpass with a warning when their host is down, so a dead host stays green with nothing measured; Corpus nightly and Performance Budgets fail and nobody reads it (Performance Budgets failed 3 of its last 15 runs, on 2026-08-31, 09-07 and 09-14, in itsRun budget harnessstep, and passed the 6 since; the causes were not looked into); the Actions cache sat at its 10 GB limit with 1,185 unusable entries, which evicts caches in use; andpublish.ymlis moving to a dated nightly, so a nightly that breaks the docs would show only at a tag.Changes
.github/workflows/scheduled-checks.yml(new; none of these has a workflow it belongs to, and they share one dry-run rule and one reporter). Daily at 03:23 UTC:Audit rvt,Audit fuzz,Audit witness(cargo audit --file <lock>andcargo deny --locked --manifest-path <manifest> --config deny.toml check advisories, advisories only, with the root'sdeny.toml; cargo-audit 0.22.2 and cargo-deny 0.20.2 asci.ymlpins them),NOT MEASURED streaks, andClean the Actions caches(tools/maintainer/clean_caches.py --delete, withactions: write,pull-requests: readandcontents: readonly). Mondays at 03:41 UTC:docs.rs on a floating nightly(cargo doc --no-deps --all-featureswith docs.rs's flags and the banner check, onnightly, no cache).dry_run, default true) or a push to a branch opens no issue and deletes no cache and prints what it would. Only the schedule, or a dispatch that turnsdry_runoff, acts..github/workflows/report-failure.yml(new, reusable overtools/ci/open_issue.py): for each failed job of the calling run, one issue labelledscheduled:<job name>andtype:ci, or nothing if one is open under that label: no comment, no edit.scheduled-checks.yml,corpus-nightly.ymlandperf-budget.ymleach end in areportjob that calls it.timeout-minutesends ascancelled, notfailure, so thereportjobs runif: !cancelled() && (a needed job failed or was cancelled)andopen_issue.pyreports a cancelled job and the step that was running.!cancelled()is false when the run itself was cancelled (a person, or a newer run), so such a run reports nothing. Both sides were observed (below). A cancelled job is read as a timeout, so no matrix leg may be cancelled by a sibling's failure: the only matrix that has a reporting job (Audit, inscheduled-checks.yml) setsfail-fast: false(and so does Fuzz's, which does not use this reporter); Corpus nightly and Performance Budgets have no matrix. The issue says "ended cancelled although nobody cancelled the run" and names a timeout and a lost or shut-down runner as the ways that happens, rather than claiming a timeout.tools/ci/not_measured.py: reads the check runs of each of the newestmainpushes ofci.yml, and of the dailyscheduled-checks.ymlruns, and the annotations of every job that wrote any, and opens one issue,scheduled:not-measured-<subject>, when a subject'sNOT MEASUREDwarning is on every run in which its job succeeded for at least 3 runs spanning at least 24 hours. No list of jobs is kept, so the cited-commits lookup in the PII guard and thefolded-pieces.spec.tswarning in the viewer tests are read like Corpus health's, and a job that starts to write such a warning is read from its next run. A run whose job failed neither adds to a streak nor ends it; a run without the warning ends it. It reads at least 3 runs and stops when nothing can change; it never fails CI, and a run it cannot read is skipped, not fatal.ci.ymlran for 80 pushes tomainin the 37.5 hours from 2026-11-04 03:33 to 2026-11-05 17:03 UTC, so three runs in a row can be minutes apart, and a host's outage (the npm advisory endpoint's maintenance windows) lasts hours. A warning on every run over a whole day, with none that measured it between, has been unmeasured through a night and a morning. The daily scheduled runs reach it after three days.tools/ci/advisory_check.py: runscargo auditandcargo deny check advisories. An advisory, or any other failure, fails at once. A database or crate index that cannot be fetched is tried three times (30 s, then 60 s apart) and then is a::warning::RustSec advisory database NOT MEASUREDand exit 0, whichnot_measured.pyfollows across days, so a host that is down opens noscheduled:audit-*issue and a host that stays down opens anot-measuredone. An advisory outranks a fetch message in the same output.tools/maintainer/clean_caches.py: after three reads of each list (GitHub answers a read with an empty body and a success status now and then,arm.shdocuments it), a branch list withoutmainstops the run (exit 1, nothing deleted: that cannot be true), and an open pull request list that is still empty deletes nothing, prints a::notice::saying why and exits 0 (a repository can have no open pull request, for example after a release empties the queue, and every pull request's cache would read as dead on a read that may be wrong; the next run with an open pull request cleans); a 403 that is a permission stops the run at once instead of being waited out as a rate limit (about 122 s a cache, past the job's 30 minutes). It also keeps the newest two generations of the RE1 models' cache as one family: ci: wheels without LTO, CodeQL on ready pull requests, one RE1 pin list, a retried SARIF upload (#1457) #1461'sre1-<sha256 of research/re1-models.tsv>and there1-<commit>andre1-oracle-<commit>keys it replaces (all three shapes exist in the repository today), so a superseded 26 MB entry goes with the first new key instead of waiting for eviction.fuzz.yml: the corpus is a 30-day artifact,fuzz-corpus-<target>, saved by a run onmain; the next run downloads the newest unexpired one of a run onmainthroughgh api, withactions: read. See below for why. A corpus that cannot be read is not the target's failure: the listing, and the download with its unzip test, are tried three times (10 s, then 20 s apart); still unread, it is a::warning::and the night starts from the seeds, as when there is no artifact. The zip is unpacked beside the corpus and copied in only whole, so a corrupt one leaves no partial corpus, and that night does not save its corpus (steps.restore.outputs.state), so a seeds-only corpus is never the newest artifact that the next night restores in place of the one that could not be read. Before, a transientgh apifailure failed the target's job underset -e, and the nightlyreportjob then opened or commented on afuzz-buildissue that had nothing to do with the target.reportjob each. A manual run of either is a dry run.ci.yml: the PII guard job also runstools/ci/test_not_measured.pyandtools/maintainer/test_clean_caches.py.docs/maintaining.mdsays what runs daily.Fuzz's corpus was being lost
The nights of 2026-11-04 and 2026-11-05 logged "No cache found" for
fuzz-corpus-fuzz_open_bytes-*and started from the five seed files, after 11-01 to 11-03 had restored 279, 319 and 321 inputs (runs 41284363283, 41405861435, 41595721515). The saves reported success on 11-04 and 11-05 (Cache saved with key: fuzz-corpus-fuzz_open_bytes-41791657969and-41986602107), and nofuzz-corpus-*cache exists now, nor av0-rust-fuzz-*one. The key matchesfuzz-corpus-<target>-<run id>, as the cleaner's family I had added (and now drop) read it, so the cleaner was not the cause and had nothing to match.The cause, inferred: GitHub evicts the cache least recently used first at its 10 GB limit, and a key read once a night is the oldest by the next night once the other runs have saved a day's worth (707 caches were created on 2026-11-05 alone). GitHub does not log an eviction, but no cache in the repository was last accessed before 09:36 UTC on 2026-11-05 (the oldest of 872 was 09:36:54), which is the cutoff an LRU eviction leaves; the Fuzz caches saved at 07:32 and 07:33 are older than that. The accumulated corpora (the 11-03 save and the two after it) are lost, and cannot be recovered; the fuzzer starts again from the seeds and re-finds coverage, which is slower, not wrong. An artifact lasts its
retention-dayswhatever else the repository saves.Left as it is, and told
fuzz.yml'sreportjob comments on an openfuzz-crashorfuzz-buildissue (gh issue comment). The new reporter never comments; I did not change Fuzz's.Testing
Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.
tools/check-local.shpasses. N/A: CI-only change; no local compute on this lane.A workflow file that is not on
mainyet cannot be dispatched (gh workflow run scheduled-checks.yml --ref <branch>:HTTP 404: workflow ... not found on the default branch, tried on a scratch branch with a one-job probe), soscheduled-checks.ymlran from scratch branches on a push, which is a dry run by its own rule, with one added trigger line (pushon that branch) and the forced changes named below.corpus-nightly.ymlandfuzz.ymlexist onmain, so they were dispatched from branches. No issue was opened and no comment posted (gh issue list --state all --search "Scheduled check"is empty).scratch/timeout-1457, head4e8fb61d,corpus-nightly.ymlwithtimeout-minutes: 1on its job, dispatched once, run 42096754583.Tier 2 — wider project corpusendedcancelledwhile the stepTier-two open / schema health (wider limit)was running; the report job ran and printeddry run, would open an issue under scheduled:tier-2-wider-project-corpus, type:ci, titledScheduled check did not finish: Tier 2 — wider project corpus, saying the job "ended cancelled, which is how a job that exceeded its timeout-minutes ends (nobody cancelled the run)" (reworded since, see the reporter bullet), with the run, the job and the step.corpus-nightly.ymldispatched from this branch and cancelled withgh run cancelat once, run 42097796230: the job endedcancelledand the report job wasskipped.scheduled-checks.ymlonscratch/sched2-1457(headd0d1cee7), run 42098085270, with theAudit witnessleg pointed at a database URL that does not exist and the docs.rs banner check forced to fail:Audit witnesstried three times, printed::warning::RustSec advisory database NOT MEASURED: Audit witness could not fetch it in 3 tries, so nothing was auditedand passed (its check-run annotations carry that message, andnot_measured.subject_ofreadsRustSec advisory databasefrom it);Audit rvtandAudit fuzzpassed (cargo audit and cargo deny 0.20.2, no advisory on any of the three lockfiles);docs.rs on a floating nightlyfailed at its banner check; the report job ran under the new condition and printed1 failed job(s)anddry run, would open an issue under scheduled:docs-rs-on-a-floating-nightlywith that step.NOT MEASURED streaksread 3 runs ofci.ymland none warned;Clean the Actions cachesran as a dry run.failure(), the audits ran the tools directly): 42078699446 (three audit legs failed on my wrong--configplacement, and the report job listed three would-open issues), 42079385437 (all green) and 42079733457 (docs.rs forced to fail, reported),corpus-nightly.ymlforced to fail (42078800852, reported) and passing (42079444299),perf-budget.ymlpassing (42078750697).advisory_check.pywith the real tools, locally: a lockfile withtime 0.1.43(RUSTSEC-2020-0071) exits 1 at once with the advisory; a database URL that does not exist is tried three times and warns NOT MEASURED, exit 0;Cargo.lockpasses.not_measured.py --history --max-runs 40against the live repository, now reading every job's check run: 40 runs ofci.ymlonmain, every job measured, no warning, so no real warning has been read yet. A synthetic streak (5 runs over 31 hours ofBIM4LCA models, ending in a run that measured) printedPERSISTENTanddry run, would open an issue under scheduled:not-measured-bim4lca-models. The annotation payload ({annotation_level, message}) is that of the real witness-leg warning above.tools/ci/open_issue.py failed-jobs --dry-runagainst a past failed run ofmain(42041502131): 2 failed jobs found, each printed with its failed step.tools/maintainer/clean_caches.pydry run on the live repository: 884 caches, 5.9 GB, 210 unusable.scratch/fuzz-1457(a copy of this branch whose save and restore name the scratch branch instead ofmain),fuzz.ymldispatched twice for one target,fuzz_part_atom, with a 20 s budget: run 42097959761 found no artifact (::warning::no corpus artifact of fuzz_part_atom to restore: this night starts from the seeds, 5 inputs), fuzzed, minimised to 549 inputs and uploaded artifact 13448991911 (256,118 bytes); run 42099451035 printedrestored artifact 13448991911, started from 554 inputs, minimised to 624 and uploaded 13449327261. The scratch artifacts were deleted. The branch conditions of the real file (main) were not exercised, since a run onmainis the nightly itself.tools/ci/test_not_measured.py(36 failure-first tests of the streak logic, the reportable jobs, the advisory classification, the labels and the bodies; of 22 mutations of the code every one fails a test) andtools/maintainer/test_clean_caches.py(18 tests: the newest generation of a family stays, a key of no family is left alone, the three shapes of the RE1 key are one family, an empty pull request list deletes nothing and is exit 0, a branch list withoutmainis exit 1 and is judged first, a permission 403 is not a rate limit).clean_caches.py main()run with its two reads replaced (an empty pull request list with--deleteprinted the notice and exited 0, and the replacedghthat deletes was never called; a branch list withoutmainexited 1); theRestore the corpusscript run as extracted fromfuzz.ymlagainst a stubghand the realunzip, in seven cases, each exit 0: a good zip (5 inputs restored), no artifact (warning, nothing), the listing failing three times (warning,state=failed, no corpus), the download failing three times (the same), the download failing once (restored on the second try), a truncated zip (three tries,state=failed, the corpus directory empty) and an empty download (the same).actionlintwith the$/ignores of ci: time-bound every job, pin Windows and macOS runners, lint the workflows and widen the PII guard (#1457) #1462 on every workflow: exit 0.tools/ci/check-workflows.pyof ci: time-bound every job, pin Windows and macOS runners, lint the workflows and widen the PII guard (#1457) #1462 finds no missing timeout in the new files.Not measured: the daily and weekly crons themselves (the first scheduled run is after the merge); the
reportjob when a needed job is skipped and another failed, as on a daily run that skipsdocs-rs-nightly(every run above was a push or a dispatch, where all four jobs ran; GitHub's rule forfailure()-style conditions says it runs); Performance Budgets' failure path (itsreportjob is written as Corpus nightly's, with the same condition, but it was only seen skipped); a real deletion by--delete(the dry run lists 210 caches); an issue actually opened; a NOT MEASURED streak read from real warnings over days; and the cause of Fuzz's lost cache beyond the inference above.Audit-honesty checklist
docs/maintaining.md)changelog.d/<section>/. N/A: CI only, as agreed for CI: where the minutes go, and what to change #1457.Legal and contribution hygiene
Breaking changes
None.
Screenshots or output samples
See Testing.
Related issues
Refs #1457