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
The test suite has achieved strong overall coverage across the project:
Metric
Coverage
Statements
Status
Statements
91.6%
12,762 / 13,931
✅ Excellent
Branches
85.35%
7,267 / 8,514
✅ Excellent
Functions
92.07%
1,802 / 1,957
✅ Excellent
Lines
92.96%
12,187 / 13,109
✅ Excellent
Verdict: Overall coverage is well above project thresholds (38% statements, 30% branches, 35% functions). Project is in good health.
🛡️ Security-Critical Path Status
Critical security components have excellent coverage:
File
Statements
Branches
Functions
Status
src/host-iptables.ts
100%
N/A
100%
✅ Fully Covered
src/host-iptables-*.ts (suite)
100%
100%
100%
✅ Fully Covered
src/squid-config.ts
100%
N/A
100%
✅ Fully Covered
src/domain-patterns.ts
100%
89.47%
100%
✅ Well Covered
src/domain-matchers.ts
98.14%
95%
100%
✅ Well Covered
src/docker-manager.ts
100%
100%
100%
✅ Fully Covered
src/cli.ts
85.71%
50%
100%
⚠️ Minor Gap
Security Assessment: Core network isolation, domain filtering, and container management are comprehensively tested. The firewall's critical paths are well-protected.
Action: Add tests for branch conditions (currently at 41% and 25% branch coverage respectively)
Impact: Ensures new enclave MCP gateway integration is robust
Effort: Medium (focus on branch/edge case testing)
Priority 3 (LOW) — Expand CLI Error Path Coverage
Target:src/cli.ts branches (50% → 75%+)
Action: Add tests for signal handling, graceful shutdown, and error recovery in main entry point
Impact: Improves operational reliability and debugging capability
Effort: Low (only 2 branches to cover, high-level integration tests)
Summary
✅ Overall Status: HEALTHY — 91.6% statement coverage, all thresholds exceeded
🛡️ Security: STRONG — Core firewall components fully tested ⚠️Action Items: Focus on bounded execution module before GA release
All security-critical paths are comprehensively covered. The project is ready for production deployment with the noted follow-up on bounded execution test coverage.
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-31
Overall Coverage
The test suite has achieved strong overall coverage across the project:
Verdict: Overall coverage is well above project thresholds (38% statements, 30% branches, 35% functions). Project is in good health.
🛡️ Security-Critical Path Status
Critical security components have excellent coverage:
src/host-iptables.tssrc/host-iptables-*.ts(suite)src/squid-config.tssrc/domain-patterns.tssrc/domain-matchers.tssrc/docker-manager.tssrc/cli.tsSecurity Assessment: Core network isolation, domain filtering, and container management are comprehensively tested. The firewall's critical paths are well-protected.
📋 Coverage Table
Highest Coverage (95%+):
src/artifact-preservation.ts: 94.19% statementssrc/capability-filter.ts: 94.73% statementssrc/chroot-home-setup.ts: 100% statementssrc/cli-workflow.ts: 98.63% statementssrc/compose-sanitizer.ts: 97.14% statementssrc/fs-utils.ts: 98.48% statementssrc/container-startup-diagnostics.ts: 98.85% statementssrc/domain-matchers.ts: 98.14% statementsStrong Coverage (80-95%):
src/artifact-permissions.ts: 82.08% statements, 80% branchessrc/config-writer.ts: 88.94% statements, 82.4% branchessrc/cloud-hypervisor-runtime-backend.ts: 93.7% statements, 81.88% branches🔧 Function Audit
100% Function Coverage (23 files):
Critical functions are fully tested across domain validation, iptables rule generation, container lifecycle, and configuration generation.
Key Implementations with 100% Statement Coverage:
Network Isolation Suite
host-iptables-chain.ts(42 stmts)host-iptables-cleanup.ts(17 stmts)host-iptables-network.ts(16 stmts)host-iptables-rules.ts(97 stmts)host-iptables-shared.ts(91 stmts)Domain Filtering & Validation
domain-patterns.ts(25 stmts)domain-utils.ts(53 stmts)domain-validation.ts(35 stmts)Container & Configuration
docker-manager.ts(20 stmts)compose-generator.ts(73 stmts)config-file.ts(35 stmts)container-stop.ts(22 stmts)container-runtime.ts(28 stmts)📅 Recent Source Changes (last 7 days)
The codebase has maintained high coverage over recent changes:
cloud-hypervisor-runtime-backend.ts): 93.7% statementsenclave/runtime-preflight.ts): 66.66% statements (growing feature)bounded-execution/finite-disclosure.ts): 9.26% statements (new, early stage)microvm/network-reservation.ts): 50.22% statements (in development)🔎 Notable Findings
src/bounded-execution/finite-disclosure.ts: 9.26% statements, 0.26% branches📈 MicroVM Infrastructure Under Development
src/microvm/network-reservation.ts(50.22% stmts),src/microvm/rootfs.ts(71.69% stmts)✅ Security-Critical Modules Fully Covered
src/cli.ts: 85.71% statements but only 50% branch coverage🎯 Recommendations
Priority 1 (HIGH) — Address Critical Gaps
src/bounded-execution/finite-disclosure.ts(9.26% → 80%+)Priority 2 (MEDIUM) — Stabilize Enclave & MicroVM Support
src/enclave/runtime-preflight.ts(66.66% → 85%+),src/commands/validators/config-assembly.ts(73.68% → 85%+)Priority 3 (LOW) — Expand CLI Error Path Coverage
src/cli.tsbranches (50% → 75%+)Summary
✅ Overall Status: HEALTHY — 91.6% statement coverage, all thresholds exceeded
⚠️ Action Items: Focus on bounded execution module before GA release
🛡️ Security: STRONG — Core firewall components fully tested
All security-critical paths are comprehensively covered. The project is ready for production deployment with the noted follow-up on bounded execution test coverage.
All reactions