[Coverage Report] Test Coverage Report — 2026-09-22 #8868
Replies: 1 comment
|
🔮 The ancient spirits stir, and the smoke-test walker has passed this hall. The omens are recorded; one star remained veiled, but the oracle was here. Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
To allow these domains, add them to the network:
allowed:
- defaults
- "msfeed25.pkgs.visualstudio.com"See Network Configuration for more information.
|
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-22
Overall Coverage
Summary: The project maintains strong overall test coverage (>85% across all metrics), demonstrating comprehensive testing of core functionality. Total of 15,212 lines covered out of 16,334 LOC.
🛡️ Security-Critical Path Status
src/host-iptables.tssrc/squid-config.tssrc/docker-manager.tssrc/domain-patterns.tssrc/cli.tsKey Finding: Security-critical network isolation and domain filtering paths are fully covered. The iptables rules generator is 100% tested, and domain pattern matching logic is comprehensive.
src/nvx/index.ts: 0% statements — New NVX module untestedsrc/bounded-execution/finite-disclosure.ts: 38.12% statements, 25.89% branches — Critical feature severely under-testedsrc/microvm/network-reservation.ts: 50.22% — Network reservation logic half-covered📋 Coverage Table
Top Security-Related Files (100% Coverage):
src/host-iptables-rules.ts— 100% L/100% Bsrc/host-iptables-shared.ts— 100% L/100% Bsrc/host-iptables-validation.ts— 100% L/100% Bsrc/host-iptables-network.ts— 100% L/88.88% Bsrc/host-iptables-cleanup.ts— 100% L/100% Bsrc/domain-utils.ts— 100% L/100% Bsrc/domain-validation.ts— 100% L/100% Bsrc/domain-matchers.ts— 98.14% L/95% BCore Infrastructure (95%+ Coverage):
src/container-lifecycle.ts— 96.68% L/90% Bsrc/container-startup-diagnostics.ts— 98.8% L/98.11% Bsrc/config-writer.ts— 89.2% L/84.44% Bsrc/compose-generator.ts— 100% L/95.34% BModerately Covered (80–90% Coverage):
src/artifact-permissions.ts— 83.33% L/80% Bsrc/host-env.ts— 96.61% L/85.71% B (DNS handling)Below 80% Line Coverage (Problem Areas):
src/cli.ts— 85.71% L / 50% B (entry point, 1 line + 1 branch missing)🔧 Function Audit
Uncovered or Partially Covered Functions:
src/nvx/index.ts— 0% statementssrc/bounded-execution/finite-disclosure.ts— 38.12% statements, 25.89% branchessrc/cloud-hypervisor-runtime-backend.ts— 50% functions (3/6)src/microvm/network-reservation.ts— 50.22% statementssrc/enclave/runtime-preflight.ts— 68.42% statementssrc/nvx/preflight.ts— 63.15% statements📅 Recent Source Changes (last 7 days)
Note: Inferred from coverage data anomalies:
Likely Recent Additions (0% coverage):
src/nvx/index.ts— Brand new, completely untestedsrc/nvx/preflight.ts— Recently added (63% coverage)Recently Enhanced (partial coverage):
src/bounded-execution/finite-disclosure.ts— Feature expansion (38% coverage)src/microvm/network-reservation.ts— MicroVM implementation (50% coverage)🔎 Notable Findings
Security Foundation Strong: All network isolation (
host-iptables-*.ts), domain filtering (domain-*.ts), and container lifecycle logic achieve 95–100% coverage. Squid proxy configuration generation is fully tested. No critical security gaps detected in established components.NVX Module Untested: New next-generation execution runtime (
src/nvx/index.ts) has 0% statement coverage. Requires immediate test suite creation before production deployment.Bounded Execution Severe Gap:
finite-disclosure.ts(timeout/isolation control) sits at 38% statements and 26% branches. This is a critical feature for preventing runaway processes; test coverage must be prioritized.MicroVM Partial Coverage: Cloud Hypervisor microVM support (network reservation, preflight) ranges from 50–68% coverage. While a preview feature, these paths should be tested if used in production.
Main CLI Entry Point Minor Gap:
src/cli.tsis 85.71% covered (1 line + 1 branch missing). Low risk but should be completed for 100% entry-point coverage.🎯 Recommendations
🔴 HIGH Priority
Add NVX Module Tests (
src/nvx/)index.tsandpreflight.tsExpand Finite-Disclosure Tests (
src/bounded-execution/finite-disclosure.ts)🟡 MEDIUM Priority
Complete MicroVM Coverage (
src/microvm/,src/enclave/)Close Main CLI Entry Point (
src/cli.ts)⚪ LOW Priority
cloud-hypervisor-runtime-backend.ts)All reactions