at_least: CVE ids, semgrep auto rules (downloaded at scan time);
ignored: LLM triage and code review, which run but never gate.
Tooling: a bless command regenerates baselines after an intended change, and the diff shows in review.
Failure handling:
alert through the existing notification path;
keep the full scan output as a job artifact.
Budget: under 30 minutes, fixtures scanned in parallel within SCAN_CONCURRENCY.
Starts with the existing demo targets (2 PLC, 1 web backend, 1 Zephyr). The fixture issues in #309 add the rest.
Acceptance
Runs nightly and on demand.
A deliberately broken pipeline stage fails it.
The old e2e job is gone, and #298 is resolved or re-scoped.
Part of #309. (Rewritten 2026-09-21. The original story, "nightly regression against the demo targets", is folded in.)
**What**
- **Replace** the current nightly job, which only runs the stale e2e suite (#298) and so is always red, with:
- start the **built agent image** (`:latest`, later `:sha-…` from MVP-4.1), plus Mongo, in CI;
- seed the fixture corpus through the public API: git fixtures from a **public** host (the SSRF guard blocks internal ones), archive fixtures by upload;
- wait for every scan run, then diff the results against golden baselines.
- **Baseline format**, one file per fixture:
- `exact`: SBOM components, rule ids, planted secrets, stage statuses;
- `at_least`: CVE ids, semgrep auto rules (downloaded at scan time);
- `ignored`: LLM triage and code review, which run but never gate.
- **Tooling:** a `bless` command regenerates baselines after an intended change, and the diff shows in review.
- **Failure handling:**
- alert through the existing notification path;
- keep the full scan output as a job artifact.
- **Budget:** under 30 minutes, fixtures scanned in parallel within `SCAN_CONCURRENCY`.
**Starts with** the existing demo targets (2 PLC, 1 web backend, 1 Zephyr). The fixture issues in #309 add the rest.
**Acceptance**
- Runs nightly and on demand.
- A deliberately broken pipeline stage fails it.
- The old e2e job is gone, and #298 is resolved or re-scoped.
sharang
changed title from STORY · Nightly agent regression against the demo targets to Nightly harness: scan the built agent image against the fixture corpus and assert golden baselines2026-09-21 17:08:46 +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.
Part of #309. (Rewritten 2026-09-21. The original story, "nightly regression against the demo targets", is folded in.)
What
:latest, later:sha-…from MVP-4.1), plus Mongo, in CI;exact: SBOM components, rule ids, planted secrets, stage statuses;at_least: CVE ids, semgrep auto rules (downloaded at scan time);ignored: LLM triage and code review, which run but never gate.blesscommand regenerates baselines after an intended change, and the diff shows in review.SCAN_CONCURRENCY.Starts with the existing demo targets (2 PLC, 1 web backend, 1 Zephyr). The fixture issues in #309 add the rest.
Acceptance
STORY · Nightly agent regression against the demo targetsto Nightly harness: scan the built agent image against the fixture corpus and assert golden baselines