File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -253,12 +253,24 @@ jobs:
253253 cargo build --locked -p openshell-supervisor --bin openshell-supervisor --no-default-features --features defaults-without-telemetry
254254 tasks/scripts/verify-telemetry-compiled-out.sh absent target/debug/openshell-supervisor
255255 cargo check --locked -p openshell-supervisor --all-targets --no-default-features --features system-ca-roots
256- if cargo tree --locked -p openshell-supervisor -i webpki-roots --no-default-features --features system-ca-roots 2>/dev/null | grep -q webpki-roots; then
257- echo "ERROR: webpki-roots found in system CA roots build" >&2
256+
257+ - name : Verify system CA roots dependency boundary
258+ shell : nix develop -c bash -euo pipefail {0}
259+ run : |
260+ cargo tree --locked -p openshell-supervisor --prefix none --no-default-features --features system-ca-roots > /tmp/openshell-supervisor-dependencies.txt
261+ if grep -Eq '^(webpki-roots|webpki-root-certs) v' /tmp/openshell-supervisor-dependencies.txt; then
262+ echo "ERROR: bundled Mozilla roots found in system CA roots build" >&2
263+ cat /tmp/openshell-supervisor-dependencies.txt >&2
258264 exit 1
259265 fi
260- if cargo tree --locked -p openshell-supervisor -i webpki-root-certs --no-default-features --features system-ca-roots 2>/dev/null | grep -q webpki-root-certs; then
261- echo "ERROR: webpki-root-certs found in system CA roots build" >&2
266+
267+ - name : Verify standalone prover dependency boundary
268+ shell : nix develop -c bash -euo pipefail {0}
269+ run : |
270+ cargo tree --locked -p openshell-prover-cli --edges normal --prefix none > /tmp/openshell-prover-dependencies.txt
271+ if grep -Eq '^(openshell-(cli|server|sdk|bootstrap|tui|providers|core|policy)) v' /tmp/openshell-prover-dependencies.txt; then
272+ echo "ERROR: standalone prover includes an OpenShell control-plane dependency" >&2
273+ cat /tmp/openshell-prover-dependencies.txt >&2
262274 exit 1
263275 fi
264276
You can’t perform that action at this time.
0 commit comments