the other "running" checks belong to pentest sessions and Werkbank jobs.
History: the last green nightly is 9840, 03:00 UTC today, on c8deabd, which is before #940. v0.4.11, v0.4.12 and v0.4.13 have not had a passing nightly yet.
Next: once this is merged, dispatch the nightly on main to get a real result for the current code.
Tests
cargo test -p compliance-agent --test nightly: unit tests pass. The regression test itself needs the running agent of the nightly job.
## What
The nightly scan regression has been red since #940 (v0.4.11), for a reason in the test harness, not in the product.
**Cause:**
- Since #940, a scan waiting for one of the agent's slots is recorded at once as `queued`.
- The nightly seeds several targets together. With the agent's slot limit, some of their scans wait.
- `wait_for_runs` took every run that was not `running` as finished. So those targets were collected and compared while still queued.
**Effect:** in run 9891 (dispatched today on main 29d3c91), 4 of 6 targets failed with:
- `scan status queued, blessed completed`;
- no SBOM components and no CVEs;
- missing skipped stages (`malware`, `plc_native_project`).
The two targets whose scans got a slot first passed.
**Fix:** `wait_for_runs` now also waits while a run is `queued`. This is the only reader that took "not running" for "finished":
- the dashboard was updated in #940;
- the other `"running"` checks belong to pentest sessions and Werkbank jobs.
**History:** the last green nightly is 9840, 03:00 UTC today, on c8deabd, which is before #940. v0.4.11, v0.4.12 and v0.4.13 have not had a passing nightly yet.
**Next:** once this is merged, dispatch the nightly on main to get a real result for the current code.
## Tests
- `cargo test -p compliance-agent --test nightly`: unit tests pass. The regression test itself needs the running agent of the nightly job.
- fmt and clippy `-D warnings` on the agent.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Since #940 a scan waiting for one of the agent's slots is recorded as
`queued`. The nightly harness took every run that was not `running` as
finished, so targets whose scans waited behind the others were compared
while still queued: status queued, no SBOM, no CVEs. It now waits for
queued runs as well.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang
merged commit d274c68ecb into main2026-11-09 12:53:03 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What
The nightly scan regression has been red since #940 (v0.4.11), for a reason in the test harness, not in the product.
Cause:
queued.wait_for_runstook every run that was notrunningas finished. So those targets were collected and compared while still queued.Effect: in run 9891 (dispatched today on main
29d3c91), 4 of 6 targets failed with:scan status queued, blessed completed;malware,plc_native_project).The two targets whose scans got a slot first passed.
Fix:
wait_for_runsnow also waits while a run isqueued. This is the only reader that took "not running" for "finished":"running"checks belong to pentest sessions and Werkbank jobs.History: the last green nightly is 9840, 03:00 UTC today, on
c8deabd, which is before #940. v0.4.11, v0.4.12 and v0.4.13 have not had a passing nightly yet.Next: once this is merged, dispatch the nightly on main to get a real result for the current code.
Tests
cargo test -p compliance-agent --test nightly: unit tests pass. The regression test itself needs the running agent of the nightly job.-D warningson the agent.🤖 Generated with Claude Code