commit f8dfe3f8da9dd1462f82b02f56310c65558eb456
parent e469febdbb06389668783b479f013e0a5d8a820a
Author: triesap <tyson@radroots.org>
Date: Sat, 21 Feb 2026 20:28:51 +0000
ci: enforce blocking 100-100-100 for `radroots-trade`
- add a blocking trade coverage gate step in sdk coverage ci
- require branch coverage for the blocking trade gate path
- upload the blocking trade gate artifact for auditability
- keep non-blocking report matrix behavior 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
@@ -119,6 +119,20 @@ jobs:
--fail-under-branches 100 \
--require-branches
+ - name: enforce blocking trade coverage gate
+ run: |
+ set -euo pipefail
+ trade_dir="target/sdk-coverage/radroots_trade"
+ cargo run -q -p xtask -- sdk coverage report \
+ --scope "radroots-trade-blocking" \
+ --summary "${trade_dir}/coverage-summary.json" \
+ --lcov "${trade_dir}/coverage-lcov.info" \
+ --out "${trade_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:
@@ -129,3 +143,4 @@ jobs:
target/sdk-coverage/radroots_types/coverage-gate-blocking.json
target/sdk-coverage/radroots_events/coverage-gate-blocking.json
target/sdk-coverage/radroots_identity/coverage-gate-blocking.json
+ target/sdk-coverage/radroots_trade/coverage-gate-blocking.json