[Coverage Report] Test Coverage Report — 2026-08-27 #7777
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-09-03T03:49:07.495Z.
|
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-08-27
Overall Coverage
Overall Assessment: Strong foundation with 92.6% statement coverage across 270+ files. Branch coverage at 86% indicates solid decision path testing.
🛡️ Security-Critical Path Status
src/host-iptables.tssrc/host-iptables-rules.tssrc/host-iptables-shared.tssrc/squid-config.tssrc/domain-patterns.tssrc/domain-validation.tssrc/domain-utils.tssrc/config/network-policy.tsSummary: All core firewall paths (domain filtering, iptables, Squid) are fully tested. Network isolation and L7 domain ACLs have comprehensive coverage.
📋 Coverage Table (Top/Bottom 15 Files)
✅ Well-Covered Files (95%+)
src/cli-workflow.ts: 98.63% statementssrc/container-startup-diagnostics.ts: 98.85% statementssrc/topology.ts: 98.93% statementssrc/option-parsers.ts: 97.5% statementssrc/compose-generator.ts: 100% statementssrc/config-file.ts: 100% statementssrc/log-discovery.ts: 100% statementssrc/logs/log-parser.ts: 100% statementssrc/squid/validation.ts: 100% statementssrc/services/optional-services.ts: 96.91% statements🔴 Low-Coverage Areas (< 75%)
🔧 Function Audit
Functions Fully Tested (100%):
Functions Partially Tested (< 90%):
bounded-execution/finite-disclosure.ts: 4.54% functions (2 of 44)cloud-hypervisor/virtiofsd.ts: 47.61% functions (10 of 21)cloud-hypervisor/manager.ts: 75% functions (27 of 36)enclave/github-gateway.ts: 90.9% functions (10 of 11)Functions Not Tested:
📅 Recent Source Changes (last 7 days)
Based on coverage patterns, active development areas:
Bounded Execution Module (
src/bounded-execution/)finite-disclosure.ts: Critically low coverage (9.26%)Enclave/MicroVM Features
enclave/runtime-preflight.ts,microvm/rootfs.ts: ~70% coverageCloud Hypervisor Runtime (optional backend)
virtiofsd.ts: 74.84% coverageCore Firewall (stable)
🔎 Notable Findings
🚨 CRITICAL:
bounded-execution/finite-disclosure.tsat 9.26% coverage✅ Core security paths (iptables, Squid, domain ACLs) are production-ready
Excellent branch coverage (86% overall)
🎯 Recommendations
🔴 HIGH Priority (Blocking)
Add comprehensive tests for
bounded-execution/finite-disclosure.tsIncrease branch coverage in
commands/validators/config-assembly.ts🟡 MEDIUM Priority
Improve
enclave/runtime-preflight.tsandenclave/github-gateway.tsEnhance
cloud-hypervisor/virtiofsd.tscoverage📈 Trend Summary
Next Steps: Prioritize HIGH recommendations before next release. Monitor optional feature coverage as they graduate from beta.
All reactions