You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚨 Critical Gap in Bounded Execution — finite-disclosure.ts has only 9.26% statement coverage and 0.26% branch coverage. This module handles container disclosure restrictions, a security-sensitive function. Immediate test coverage is essential.
✅ Security Core Fully Tested — All primary firewall enforcement components (squid-config.ts, host-iptables.ts, docker-manager.ts) have 100% coverage. This is excellent for a security-critical system.
⚠️ Enclave Branch Coverage Weakness — While enclave statement coverage is solid (80–99%), branch coverage lags (46–78%), suggesting conditional logic paths are under-tested. This is particularly concerning for runtime-preflight.ts (46.51% branch coverage).
📈 High Overall Quality — 93.02% statement coverage and 86.33% branch coverage across the entire codebase exceeds industry standards for security-critical infrastructure.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
📊 Test Coverage Report — 2026-08-12
Overall Coverage
The codebase maintains excellent overall test coverage across all metrics:
🛡️ Security-Critical Path Status
Green Zone — All Critical Files Fully Covered (>100%)
The security-critical firewall components have perfect or near-perfect coverage:
src/squid-config.tssrc/host-iptables.tssrc/docker-manager.tssrc/domain-patterns.tssrc/cli.tsYellow Zone — Enclave Subsystem (Selective Coverage)
Enclave features show good overall coverage with one weak point:
src/enclave/runtime-preflight.tssrc/enclave/gateway.tssrc/enclave/manager.tssrc/enclave/staging.tsRed Zone — Bounded Execution Critical Gap (CRITICAL)
src/bounded-execution/finite-disclosure.ts📋 Coverage Table
All directories at a glance (sorted by coverage):
🔧 Function Audit
Functions with Zero Coverage:
In the
bounded-executiondirectory, the following functions are completely untested:finite-disclosure.ts:Highlights (100% Coverage):
src/config/)src/constants/)src/services/)src/runtime/)src/docker/)src/parsers/)src/logs/)📅 Recent Source Changes (last 7 days)
Recent commits touching critical code:
e520117 —
test: fix stale runtime and enclave assertions(Fix stale Cloud Hypervisor and enclave test assertions #7291)7970448 —
docs: sync schemas and specs with source changes(docs: sync schemas and specs with source changes #7270)b5df256 —
Align AWF enclave configuration with gh-aw keyed-array frontmatter(Align AWF enclave configuration with gh-aw keyed-array frontmatter #7243)839f0ae —
Upgrade gh-aw to v0.86.2(Upgrade gh-aw to v0.86.2 (pre-release) and recompile all workflows #7277)4288547 —
Preserve a writable /host$HOME under arc-dind sysroot staging(Preserve a writable /host$HOME under arc-dind sysroot staging #7244)🔎 Notable Findings
🚨 Critical Gap in Bounded Execution —
finite-disclosure.tshas only 9.26% statement coverage and 0.26% branch coverage. This module handles container disclosure restrictions, a security-sensitive function. Immediate test coverage is essential.✅ Security Core Fully Tested — All primary firewall enforcement components (
squid-config.ts,host-iptables.ts,docker-manager.ts) have 100% coverage. This is excellent for a security-critical system.runtime-preflight.ts(46.51% branch coverage).📈 High Overall Quality — 93.02% statement coverage and 86.33% branch coverage across the entire codebase exceeds industry standards for security-critical infrastructure.
🎯 Recommendations
High Priority
bounded-execution/finite-disclosure.tsCoverage (CRITICAL)Medium Priority
Improve Enclave Branch Coverage
runtime-preflight.ts(46.51% branches),enclave/manager.ts(68.42% branches)Enhance
src/cli.tsBranch CoverageReport Generated: 2026-08-12 17:49 UTC
Coverage Tool: Jest coverage reporter
Repository: github/gh-aw-firewall
All reactions