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
{{ message }}
Repository navigation
[Coverage Report] Test Coverage Report — 2026-10-13
#9935
New exported functions include resolveRunSandboxBackend, validateRunSandboxBackend, validateEnclavesStructure, readAgentRuntimeStartTimeMs, and captureEnclaveStartupDiagnostics. Their coverage is not broken out in the pre-computed data.
🔎 Notable Findings
Security-critical files are fully covered.host-iptables.ts, squid-config.ts, and docker-manager.ts are at 100% across all metrics. domain-patterns.ts has 89.47% branch coverage, with the uncovered branches in its if/switch logic.
Two files are critical-level gaps.src/nvx/cleanup-registry.ts (42.8% statements, 32.11% branches) and src/bounded-execution/finite-cardinality.ts (46.03% statements, 35.29% branches) are the weakest in the repo.
src/bounded-execution/finite-disclosure.ts has very low branch coverage at 11.42%, despite 51.78% statement coverage. Its error and edge paths are largely untested.
src/cli.ts branch coverage is 50%. Statement coverage is 85.71%, so the orchestration paths that branch on flags and states are under-tested.
The function audit has no data for host-iptables.ts or squid-config.ts. The audit output for these files is empty, so per-function coverage for them needs manual confirmation.
🎯 Recommendations
High: Add tests for src/nvx/cleanup-registry.ts and src/bounded-execution/finite-cardinality.ts. Both are below 50% statement coverage. Cover the cleanup and cardinality-limit branches first, since they are the largest uncovered blocks.
Medium: Add branch tests for src/cli.ts and src/domain-patterns.ts. Cover the uncovered flag and state combinations in cli.ts (50% branch) and the remaining if/switch branches in domain-patterns.ts (89.47% branch). Both files sit on the security path.
Low: Raise src/bounded-execution/finite-disclosure.ts branch coverage from 11.42% by testing its error and edge paths. Also add direct tests for the newly exported resolveRunSandboxBackend and validateRunSandboxBackend functions, which are not covered in the report.
Generated by test-coverage-reporter workflow. Trigger: push
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-10-13
Overall Coverage
🛡️ Security-Critical Path Status
📋 Coverage Table
🔧 Function Audit
📅 Recent Source Changes (last 7 days)
New exported functions include
resolveRunSandboxBackend,validateRunSandboxBackend,validateEnclavesStructure,readAgentRuntimeStartTimeMs, andcaptureEnclaveStartupDiagnostics. Their coverage is not broken out in the pre-computed data.🔎 Notable Findings
host-iptables.ts,squid-config.ts, anddocker-manager.tsare at 100% across all metrics.domain-patterns.tshas 89.47% branch coverage, with the uncovered branches in its if/switch logic.src/nvx/cleanup-registry.ts(42.8% statements, 32.11% branches) andsrc/bounded-execution/finite-cardinality.ts(46.03% statements, 35.29% branches) are the weakest in the repo.src/bounded-execution/finite-disclosure.tshas very low branch coverage at 11.42%, despite 51.78% statement coverage. Its error and edge paths are largely untested.src/cli.tsbranch coverage is 50%. Statement coverage is 85.71%, so the orchestration paths that branch on flags and states are under-tested.host-iptables.tsorsquid-config.ts. The audit output for these files is empty, so per-function coverage for them needs manual confirmation.🎯 Recommendations
src/nvx/cleanup-registry.tsandsrc/bounded-execution/finite-cardinality.ts. Both are below 50% statement coverage. Cover the cleanup and cardinality-limit branches first, since they are the largest uncovered blocks.src/cli.tsandsrc/domain-patterns.ts. Cover the uncovered flag and state combinations incli.ts(50% branch) and the remaining if/switch branches indomain-patterns.ts(89.47% branch). Both files sit on the security path.src/bounded-execution/finite-disclosure.tsbranch coverage from 11.42% by testing its error and edge paths. Also add direct tests for the newly exportedresolveRunSandboxBackendandvalidateRunSandboxBackendfunctions, which are not covered in the report.Generated by test-coverage-reporter workflow. Trigger:
pushAll reactions