lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

commit c2b468a32cc2be72be306181fa64e2f9abe1c4cb
parent 8c5a24c7e6e089c44cfb05f279cbc7fb6872283c
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:
M.github/workflows/sdk-coverage-ci.yml | 15+++++++++++++++
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