[Coverage Report] Test Coverage Report — 2026-09-09 #8344
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-09-16T04:42:49.411Z.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
📊 Test Coverage Report — 2026-09-09
Overall Coverage
Status: Overall coverage is strong (>90% across all metrics), well above industry baseline of 80%.
🛡️ Security-Critical Path Status
All primary firewall security paths are fully covered:
src/host-iptables.tssrc/squid-config.tssrc/docker-manager.tssrc/domain-patterns.tssrc/cli.tsKey Finding: Core network isolation (iptables rules), domain ACL filtering (Squid config), and container orchestration (Docker management) are all comprehensively tested. However,
src/cli.tshas branch coverage at 50%, indicating untested conditional paths in CLI argument handling or error recovery flows.📋 Coverage Table
Top Coverage Areas (100%):
Notable Coverage Gaps:
src/bounded-execution/finite-disclosure.tssrc/microvm/network-reservation.tssrc/enclave/runtime-preflight.tssrc/microvm/rootfs.tssrc/commands/validators/config-assembly.ts🔧 Function Audit
Primary uncovered function clusters:
📅 Recent Source Changes (last 7 days)
The following modules have been modified and warrant coverage review:
src/microvm/network-reservation.ts— Only 50% coveragesrc/microvm/rootfs.ts— Only 71% coveragesrc/microvm/workflow-command-filter.ts— New changessrc/microvm/network.ts,src/microvm/workspace.ts— Recent updatessrc/external-runtime-backend-resolver.ts— Modified (coverage unknown)src/guest-environment.ts,src/guest-protocol.test.ts— ModifiedRisk: New microVM-related changes coincide with identified low-coverage areas. Network reservation and rootfs changes should be validated with focused integration tests.
🔎 Notable Findings
🛡️ Security-Critical Paths: Fully Covered
🔴 Bounded Execution Module at Risk
src/bounded-execution/finite-disclosure.tsat only 38% statements and 26% branches🟡 MicroVM Networking Infrastructure Gap
network-reservation.ts(50%) androotfs.ts(71%) are partially coveredsrc/cli.tshas only 50% branch coverage despite 85% statement coverage🎯 Recommendations
🔴 HIGH Priority
Add tests for
src/bounded-execution/finite-disclosure.ts(target: 80%)Cover
src/cli.tserror paths and branch conditions (target: 85% branches)🟡 MEDIUM Priority
network-reservation.ts(50%) androotfs.ts(71%)Report Generated: 2026-09-09
Test Suite: Jest
Coverage Tool: nyc (Istanbul)
All reactions