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
Based on the pre-computed coverage analysis, the codebase has several files with coverage below the 80% threshold, particularly in newer security features and advanced runtime features.
Metric
Status
Security-Critical Files
⚠️ Mixed (some below 50%)
Core Infrastructure
✅ Generally good
New Features (Cloud Hypervisor, Enclaves)
🟡 Below threshold
🛡️ Security-Critical Path Status
The firewall's security-critical paths have variable coverage:
Critical Finding: The bounded-execution/finite-disclosure.ts module (913 lines) has 9.26% statement coverage and 0.26% branch coverage. This is a security-critical feature for runtime disclosure control and needs immediate test coverage investment.
📋 Coverage Details
Files Below 80% Coverage:
File
Stmts
Branch
Type
Priority
bounded-execution/finite-disclosure.ts
9.26%
0.26%
Security-Critical
🔴 CRITICAL
microvm/network-reservation.ts
50.22%
54.26%
Infrastructure
🟡 HIGH
enclave/runtime-preflight.ts
66.66%
41.02%
Feature
🟡 MEDIUM
microvm/rootfs.ts
71.69%
54.54%
Infrastructure
🟡 MEDIUM
commands/validators/config-assembly.ts
73.68%
25%
Validation
🟡 MEDIUM
🔧 Function Audit
Test Files Available for Critical Paths:
✅ bounded-execution/finite-disclosure.ts has finite-disclosure-timing.test.ts (but very low coverage)
Bounded execution features (src/bounded-execution/)
These newer subsystems show lower test coverage, suggesting they need additional test investment.
🔎 Notable Findings
🔴 Critical Gap in Disclosure Control: finite-disclosure.ts has only 9.26% statement coverage and 0.26% branch coverage. This 913-line security module deserves urgent test attention despite test file existence. Disclosure control is fundamental to runtime safety guarantees.
🟡 Microvm Infrastructure Under-tested: Network reservation and rootfs modules have 50-72% coverage. These are infrastructure-critical for the Cloud Hypervisor preview feature and need expanded test scenarios.
⚠️ Configuration Validation Weak on Branches: config-assembly.ts has only 25% branch coverage despite 73.68% statement coverage, indicating conditional logic is not well-exercised in tests.
✅ Core Paths Strong: The original security-critical files (domain patterns, squid config, host iptables, docker manager) show better coverage, indicating the foundational firewall logic is well-tested.
🎯 Recommendations
Priority 1 — HIGH (Security-Critical)
Invest in bounded-execution/finite-disclosure.ts tests immediately
Target: Reach 60%+ statement coverage and 40%+ branch 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-09-03
Overall Coverage
Based on the pre-computed coverage analysis, the codebase has several files with coverage below the 80% threshold, particularly in newer security features and advanced runtime features.
🛡️ Security-Critical Path Status
The firewall's security-critical paths have variable coverage:
Critical Finding: The
bounded-execution/finite-disclosure.tsmodule (913 lines) has 9.26% statement coverage and 0.26% branch coverage. This is a security-critical feature for runtime disclosure control and needs immediate test coverage investment.📋 Coverage Details
Files Below 80% Coverage:
bounded-execution/finite-disclosure.tsmicrovm/network-reservation.tsenclave/runtime-preflight.tsmicrovm/rootfs.tscommands/validators/config-assembly.ts🔧 Function Audit
Test Files Available for Critical Paths:
bounded-execution/finite-disclosure.tshasfinite-disclosure-timing.test.ts(but very low coverage)domain-patterns.tshasdomain-patterns.test.tssquid-config.tshas 5+ test fileshost-iptables.tshas 6+ test filesdocker-manager.tshas 5+ test filesKey Export Functions:
domain-patterns.ts:parseDomainWithProtocol(),isWildcardPattern(),wildcardToRegex()📅 Recent Development Trends
Based on repository analysis, recent development has focused on:
src/cloud-hypervisor/)src/enclave/)src/microvm/)src/bounded-execution/)These newer subsystems show lower test coverage, suggesting they need additional test investment.
🔎 Notable Findings
🔴 Critical Gap in Disclosure Control:
finite-disclosure.tshas only 9.26% statement coverage and 0.26% branch coverage. This 913-line security module deserves urgent test attention despite test file existence. Disclosure control is fundamental to runtime safety guarantees.🟡 Microvm Infrastructure Under-tested: Network reservation and rootfs modules have 50-72% coverage. These are infrastructure-critical for the Cloud Hypervisor preview feature and need expanded test scenarios.
config-assembly.tshas only 25% branch coverage despite 73.68% statement coverage, indicating conditional logic is not well-exercised in tests.✅ Core Paths Strong: The original security-critical files (domain patterns, squid config, host iptables, docker manager) show better coverage, indicating the foundational firewall logic is well-tested.
🎯 Recommendations
Priority 1 — HIGH (Security-Critical)
bounded-execution/finite-disclosure.tstests immediatelyPriority 2 — MEDIUM (Infrastructure)
microvm/network-reservation.tsandmicrovm/rootfs.tstestsPriority 3 — MEDIUM (Validation)
config-assembly.tsReport Generated: 2026-09-03 (Coverage analysis based on pre-computed metrics)
Next Steps:
finite-disclosure.tstest file for gaps and expand coverageAll reactions