3 Commits
Author SHA1 Message Date
kevinveenbirkenbachandClaude Opus 5.5 a3b7af619b fix(ci): skip the runtime vulnerability sync when no deploy chunk ran
A main push whose selection deploys nothing (all four deploy chunks skipped) uploads no rescue-diagnostics artifact, so gh run download in the runtime vulnerability sync step exited 1 and turned the report job and the whole pipeline red (run 44683997608 on a29d4bf8fe). The step now runs only when at least one deploy chunk succeeded, failed or was cancelled; with nothing scanned there is nothing to open, update or close.

🎯 Fix: 95 %
💥 Break: 1 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 94
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:40:08 +00:00
kevinveenbirkenbachandClaude Opus 5.5 762cb865f9 test(cli/meta/ci): load the workflow through the cached YAML loader
The workflow guard test called yaml.safe_load directly, which test_no_direct_calls forbids; it now reads the file through utils.cache.yaml.load_yaml.

🎯 Fix: 97 %
💥 Break: 1 %
💸 Cost: –
⏱️ Time: –
🛡️ Security: ~100 %
🏆 Score: 96
🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 14:12:31 +00:00
kevinveenbirkenbachandClaude Opus 5.5 f1cd68ea38 feat(ci): file the hlth-runtime findings of every main run as vulnerability-runtime issues
The maintainer decided on 2026-11-12 that CRITICAL hlth-runtime findings no longer fail a development or CI deploy but are tracked as issues. The mirror scan already files vulnerability issues for 23 of the 41 images main run 43131801262 reported; 18 images and the host CVEs had no issue path.

- The report-main-failures job of call-orchestrator.yml now runs on every main run; its failure report still runs only when a deploy failed or was cancelled. A new step runs cli.meta.ci.runtime_vulnerabilities.
- That module downloads the rescue-diagnostics artifacts every deploy uploads, reads the hlth-runtime finding lines and events from their journals and syncs them through cli.contributing.security.issues under the label vulnerability-runtime: one issue per image (titled like the mirror scan) and one per host distro.
- An issue closes only when a deploy of the run scanned its target without an engine error and reported nothing, so chunked or cancelled runs close nothing they did not scan.
- cli.contributing.security.issues gains a Tracker (label, source line, close rule); MIRROR keeps the old behaviour, and the head line now ends in per-severity CVE counts.

Tests: 49 green across the runtime, issues and report_failures modules; 6 of 6 mutants caught (shared label, closing unscanned targets, ignoring engine errors, a PR ref passing the main guard, no severity counts, no dash for a missing fix).

Residuals: not yet run on a real main run; the new head line adds one comment and a body edit to every open vulnerability issue on the next cron run; one engine per CI row can make an issue close and reopen; an image with a mirror issue gets a second issue under the other label.

🎯 Fix: 85 %
💥 Break: 6 %
💸 Cost: –
⏱️ Time: –
🛡️ Security: ~100 %
🏆 Score: 80
🚦 Gate: ⛔ fix 85 % < 90, break 6 % > 5 (operator approved)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 12:58:03 +00:00