Files
kevinveenbirkenbachandClaude Opus 5.5 3308499701 feat(ci): add a Run all PR label and emoji CI labels
A PR run stops at its first failure: on pull request events the deploy matrix runs with fail-fast, so one failed row cancels the rest of its batch, and the batch 1 gate stops every later batch, so PR #2006 showed one failure per run. With the 🏃 Run all label the PR workflow calls the orchestrator with chunk_gate false, and call-test-deploy ties the matrix fail-fast to chunk_gate, so every row and batch deploys to its end; push and dispatch runs are unchanged. Every labeled event used to cancel the running PR pipeline and start a new one (42 of the last 200 PR runs): a run whose jobs all skip still joins the concurrency group, and the superseded-run canceller keeps it as the newest. Only 🧩 Subset, 🛡️ Trusted and 🏃 Run all now restart PR CI; any other label gets a group of its own and skips, in the PR workflow and in the canceller. The labels CI sets carry an emoji: ⬆️ update, 🔴 major, 🟡 minor, 🟢 patch, 💥 ci-failure, 🔓 vulnerability, 🔥 vulnerability-runtime, 💤 stale. pr.sh labels updater PRs through the label CLI with a new --level option, which also drops a stale level label when an existing PR changes level. test_pr_ci_labels.py keeps the three label lists equal and fails against the main workflows. Tests: update, security, meta/ci, workflow and repository lint suites green after the fixture updates (65 + 3 passed, 826 in the first full run); MEDUSA 100 %.

🎯 Fix: 88 %
💥 Break: 7 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 82
🚦 Gate: ⛔ fix 88 % < 90, break 7 % > 5

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:07:27 +00:00
..

Security 🛡️

Repository-side vulnerability tooling over the pinned role images, built on the engine pipeline of sys-ctl-hlth-runtime.

Command What it does
make test-security Runs scan: Syft builds an SBOM of every pinned image straight from the GHCR mirror, cached by digest under build/security/sbom, and Trivy, Grype and OSV scan that SBOM tree with the role's threshold and suppressions. Every finding at the threshold goes to build/test-reports/security.json, a suppressed one with its suppressed_until day. The scan fails only on an engine or mirror error; the unsuppressed findings reach the vulnerability issues instead.
python -m cli.contributing.security.database --dir <dir> --engines <engine>... Downloads the Trivy, Grype and OSV databases a CI deploy reads.
python -m cli.contributing.security.summary --report <file> --counts <file> --summary <file> Counts the failing findings of the report per image and per CVE, plus the suppressed total, into a JSON file and appends the tables to a Markdown summary.
python -m cli.contributing.security.issues --report <file> --repo <owner/name> Opens one 🔓 vulnerability issue per image of the report that lists its CVEs, suppressed ones with their suppressed_until day, updates it while it stays, and closes it once no engine reports a CVE for the image. The head line counts the CVEs per severity.
python -m cli.meta.ci.runtime_vulnerabilities --run-id <id> --repo <owner/name> --ref <ref> --dir <dir> Run by the report-main-failures job of every main run, never for another ref: reads the hlth-runtime lines of the deploys' rescue-diagnostics-* journals into the same issue format under its own 🔥 vulnerability-runtime label, one issue per image and one host <distro> issue per distro. It closes an issue only when a deploy of the run scanned that target without an engine error and reported nothing, so neither sync ever touches the other's issues.