[Coverage Report] Test Coverage Report — 2026-06-02 #4190
Closed
Replies: 2 comments
-
|
🔮 The ancient spirits stir, and the smoke test agent was here. May the whitelist hold and the build remain unbroken. Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "registry.npmjs.org"See Network Configuration for more information.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This discussion was automatically closed because it expired on 2026-06-09T04:55:26.119Z.
|
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.
-
Overall Coverage
Overall health is excellent — 95 test files covering 142 source files.
🔴 Critical Gaps (< 50% statement coverage)
None — all files are above 50%.
🟡 Low Coverage (50–79% statement coverage)
src/commands/validators/network-options.ts🛡️ Security-Critical Path Status
src/host-iptables.tssrc/squid-config.tssrc/docker-manager.tssrc/domain-patterns.tssrc/cli.tsAll primary security-critical files (
host-iptables.ts,squid-config.ts,docker-manager.ts) are at 100% across all metrics.📋 Full Coverage Table
Click to expand all files
src/commands/validators/network-options.tssrc/services/agent-volumes/etc-mounts.tssrc/logs/audit-enricher.tssrc/cli.tssrc/logs/log-parser.tssrc/squid/policy-manifest.tssrc/services/agent-volumes/docker-host-staging.tssrc/commands/logs-command-helpers.tssrc/services/doh-proxy-service.tssrc/container-cleanup.tssrc/services/host-path-prefix.tssrc/config-writer.tssrc/commands/validators/log-and-limits.tssrc/services/agent-volumes/docker-socket.tssrc/logs/log-streamer.tssrc/commands/validators/agent-options.tssrc/cli-options.tssrc/services/agent-volumes/hosts-file.tssrc/services/agent-environment/environment-builder.tssrc/squid/ssl-bump.tssrc/ssl-bump.tssrc/host-env.tssrc/container-lifecycle.tssrc/logs/log-aggregator.tssrc/upstream-proxy.tssrc/commands/main-action.tssrc/services/cli-proxy-service.tssrc/parsers/volume-parsers.tssrc/services/agent-volumes/workspace-mounts.tssrc/pid-tracker.tssrc/commands/validators/config-assembly.tssrc/services/agent-environment/env-passthrough.tssrc/services/agent-volumes/home-strategy.tssrc/logs/log-formatter.tssrc/domain-patterns.tssrc/host-iptables-rules.tssrc/services/agent-service.tssrc/services/api-proxy-service.tssrc/config-file.tssrc/rules.tssrc/compose-generator.tssrc/option-parsers.tssrc/api-proxy-config.tssrc/cli-workflow.tssrc/commands/build-config.tssrc/commands/logs*.tssrc/docker-manager.tssrc/host-iptables.tssrc/squid-config.ts🔍 Notable Findings
src/commands/validators/network-options.ts(66.7% stmt, 50% branch) — The lowest-covered file. Lines 48–74 are uncovered, containing Docker host validation warnings (externalDOCKER_HOSTdetection and DinD split-filesystem path prefix warnings). These warn paths depend on environment state, but they affect agent network isolation setup.src/cli.ts(85.7% stmt, 50% branch) — OnlyDA:12(theif (require.main === module)guard) is uncovered — expected and harmless. The 50% branch coverage reflects this single untested branch.src/logs/audit-enricher.ts(83.6% stmt, 74.1% branch) — Part of the recently active logs subsystem (changed in the last 7 days); error and edge-case paths may need additional test coverage.src/services/agent-volumes/etc-mounts.ts(82.5% stmt, 67.8% branch) — Handles/etcfile mounting (SSL certs, credential exclusions). Branch gaps could indicate untested edge cases in the selective bind-mount logic.📈 Recommendations
High: Add tests for
src/commands/validators/network-options.tslines 48–74 — mockDOCKER_HOSTenv variable to exercise external Docker host detection and DinD warning paths. This is a network isolation configuration path.Medium: Add tests for
src/services/agent-volumes/etc-mounts.tsuncovered branches — specifically edge cases around SSL cert path detection and/etcfile inclusion/exclusion logic.Low: Cover
src/logs/audit-enricher.tserror-handling paths — add tests for malformed log input or missing fields to raise branch coverage above 80%.Generated by test-coverage-reporter workflow. Trigger:
push. Run ID: 26799097661Beta Was this translation helpful? Give feedback.
All reactions