[Coverage Report] Test Coverage Report — 2026-06-21 #5338
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-06-28T06:18:20.633Z.
|
Beta Was this translation helpful? Give feedback.
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-06-21
Overall Coverage
🛡️ Security-Critical Path Status
📋 Coverage Table (security-critical files + files below 80% stmts)
🔧 Function Audit
📅 Recent Source Changes (last 7 days)
🔍 Notable Findings
cli.tsbranch coverage is 50% (1/2 branches covered): The main CLI entry point has an uncovered branch — likely an error/fallback path in the top-level invocation. This is the highest-risk gap since all traffic flows through this entry point.services/agent-volumes/etc-mounts.tsbranch coverage is 67.85% (19/28 branches): This file controls which/etcfiles are selectively bind-mounted into the agent container (e.g., SSL certs,passwd,group). Untested branches may expose misconfiguration paths that could over-expose sensitive host files or under-expose required ones.[Test Coverage]PR ([Test Coverage] Cover regex rules in policy-manifest and signals in log-streamer #5317) improvedpolicy-manifest.tsandlog-streamer.tsto 100%, demonstrating the test-coverage-improver workflow is effective.📌 Recommendations
src/cli.tsto cover the missing branch — inspect the uncovered line (6/7 lines covered) and write a test that exercises the alternate code path (e.g., a missing--allow-domainsflag or early exit scenario). Target: 100% branch.src/services/agent-volumes/etc-mounts.tsbranch paths (currently 67.85%). Focus on conditional logic around which/etcfiles are included/excluded — particularly paths where optional files may be skipped. This directly impacts container isolation security.src/workdir-setup.ts(79.62%) andsrc/config-writer.ts(80.55%) — both are involved in temp directory and config file creation. Add tests for error handling paths (e.g., filesystem permission failures, missing directories).Generated by test-coverage-reporter workflow. Trigger:
scheduleBeta Was this translation helpful? Give feedback.
All reactions