Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

fix(ci): the reproducible-builds aggregator reads the lock-only matrix's designed skip as proof lost (#1477)

Beenu Arorab33f758b268c
diff --git a/.github/workflows/reproducible-builds.yml b/.github/workflows/reproducible-builds.yml
index 415e3bebf..f4f35bd6e 100644
--- a/.github/workflows/reproducible-builds.yml
+++ b/.github/workflows/reproducible-builds.yml
@@ -420,10 +420,30 @@ jobs:
# fourteenth service lands, this floor makes the omission loud
# rather than letting the run pass with thirteen.
[ "$total" -ge 13 ] || { echo "::error::only $total services found; expected at least 13"; exit 1; }
- for result in '${{ needs.twice-all.result }}' '${{ needs.twice-lockonly.result }}'; do
- case "$result" in
- success) ;;
- *) echo "::error::a reproducibility matrix finished as '$result', so not every service was proved"; exit 1 ;;
+ # `twice-all` must have run and succeeded: every service ships an
+ # image, so a skip there is always coverage lost.
+ [ '${{ needs.twice-all.result }}' = 'success' ] || {
+ echo "::error::the image reproducibility matrix finished as '${{ needs.twice-all.result }}', so not every service was proved"
+ exit 1
+ }
+ # `twice-lockonly` skips BY DESIGN when no service is lock-only —
+ # its own `if:` is `lockonly != '[]'`. Reading that intended no-op
+ # as a failure is what turned every scheduled run red from the day
+ # the last image-less service gained a Dockerfile (the push runs
+ # stayed green only because their path filters skip the whole
+ # workflow). The skip is accepted exactly when `lockonly` is
+ # empty; a skip while `lockonly` names services is still lost
+ # coverage, and a failure or cancellation is still a failure.
+ lockresult='${{ needs.twice-lockonly.result }}'
+ if [ "$lockonly" = '[]' ]; then
+ case "$lockresult" in
+ success|skipped) ;;
+ *) echo "::error::the lock-only matrix finished as '$lockresult'"; exit 1 ;;
esac
- done
+ else
+ [ "$lockresult" = 'success' ] || {
+ echo "::error::the lock-only matrix finished as '$lockresult' while lock-only services exist: $lockonly"
+ exit 1
+ }
+ fi
echo "all $total service(s) proved reproducible at this commit" >> "$GITHUB_STEP_SUMMARY"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 34dd8dcc0..320681130 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Fixed
+
+- The nightly reproducible-builds aggregator accepts the lock-only
+ matrix's **designed** skip — its own condition skips it when every
+ service ships an image, which has been true since the last image-less
+ service gained a Dockerfile, and the aggregator had read that intended
+ no-op as "not every service was proved", failing every scheduled run
+ since 2026-10-15 while the push runs stayed green behind their path
+ filters. The skip is accepted exactly when the discovered lock-only set
+ is empty; a skip while lock-only services exist is still lost coverage,
+ and a failed or cancelled leg on either matrix still fails.
+
## [20.1.0] - 2026-10-22
### Security