commit a14a3ec7bd1bd8960aacefef53d2403ba1f0abb2
parent aa75e1b3ad84057b6bad2a76544f9570e36a67fb
Author: triesap <tyson@radroots.org>
Date: Sat, 21 Feb 2026 19:08:41 +0000
ci: enforce blocking 100-100-100 for `radroots-events`
- add a blocking events coverage gate step in sdk coverage ci
- require branch coverage for the events blocking gate path
- publish the events blocking gate report artifact for audits
- keep the existing non-blocking coverage matrix unchanged
Diffstat:
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/sdk-coverage-ci.yml b/.github/workflows/sdk-coverage-ci.yml
@@ -91,6 +91,20 @@ jobs:
--fail-under-branches 100 \
--require-branches
+ - name: enforce blocking events coverage gate
+ run: |
+ set -euo pipefail
+ events_dir="target/sdk-coverage/radroots_events"
+ cargo run -q -p xtask -- sdk coverage report \
+ --scope "radroots-events-blocking" \
+ --summary "${events_dir}/coverage-summary.json" \
+ --lcov "${events_dir}/coverage-lcov.info" \
+ --out "${events_dir}/coverage-gate-blocking.json" \
+ --fail-under-exec-lines 100 \
+ --fail-under-functions 100 \
+ --fail-under-branches 100 \
+ --require-branches
+
- name: upload sdk coverage reports
uses: actions/upload-artifact@v4
with:
@@ -99,3 +113,4 @@ jobs:
target/sdk-coverage/**/coverage-gate-summary.json
target/sdk-coverage/radroots_core/coverage-gate-blocking.json
target/sdk-coverage/radroots_types/coverage-gate-blocking.json
+ target/sdk-coverage/radroots_events/coverage-gate-blocking.json