Repository navigation
[Coverage Report] Test Coverage Report — 2026-11-17 #11756
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-11-24T23:49:44.343Z.
|
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-11-17
Overall Coverage
🛡️ Security-Critical Path Status
📋 Coverage Table
🔧 Function Audit
📅 Recent Source Changes (last 7 days)
Added exports in recent changes include
resolveAgentHome,homePreparationError,buildExposedHomeSecretOverlays,validatePendingAccountPasswd/validatePendingAccountGroup,requireNetwork, andsameInterface.🔎 Notable Findings
src/resolved-config-artifact.tsis at 47.52% statements and 41.07% branches, the lowest-covered file in the repo and well below the rest of the codebase.host-iptables.ts,squid-config.ts, anddocker-manager.tsreport 100% statements, branches, and functions.domain-patterns.tshas 89.47% branch coverage, with the uncovered branches likely in itsif/switchpaths.src/cli.tshas 0% function coverage (80% statements, 50% branches), so its entry-point functions are effectively untested.agent-home.ts,agent-run.ts,agent-runtime-start.ts) added exported functions that need direct test coverage to hold the overall numbers.🎯 Recommendations
src/resolved-config-artifact.tscovering the uncovered branches (target ≥80% statements and branches). It is the only file below 50% statements.src/domain-patterns.ts(currently 89.47%). Add tests for the edge cases of itsifandswitchpaths, since domain validation is security-relevant.src/cli.tsfunction coverage. Also prioritizesrc/bounded-execution/finite-disclosure.ts(11.42% branch coverage) when time allows.All reactions