You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Coverage Report] Test Coverage Report — 2026-10-21
#10415
Note: the per-function audit output for host-iptables.ts and squid-config.ts is empty in the pre-computed data. Their 100% statement/branch/function coverage is reported above, but the audit itself did not list function names.
📅 Recent Source Changes (last 7 days)
src/agent-entrypoint-gemini-settings.test.ts
src/agent-entrypoint-output.test.ts
src/agent-helper-staging.test.ts
src/agent-runtime-start.test.ts
src/agent-runtime-start.ts
src/api-proxy-config-domains.test.ts
src/api-proxy-config-domains.ts
src/api-proxy-config-validation.test.ts
src/api-proxy-config-validation.ts
src/api-proxy-config-warnings.test.ts
---
+export function createDockerHostEnclaveExecutor(options: DockerHostEnclaveExecutorOptions): DockerHostEnclaveExecutorBackend {
+export async function recoverDockerHostEnclaveExecutor(
+export function captureDockerHostOwner(): DockerHostOwnerIdentity {
+export function assertDockerHostOwnerStopped(owner: DockerHostOwnerIdentity | undefined, current: DockerHostOwnerIdentity): void {
+export function expectedDockerHostContainer(args: readonly string[]): DockerHostExpectedContainer {
+export function assertDockerHostContainer(
+export async function inspectDockerHostContainer(docker: DockerHostCommand, name: string, signal?: AbortSignal): Promise<Record<string, any> | undefined> {
+export async function removeDockerHostContainer(docker: DockerHostCommand, record: DockerHostRecoveryRecord): Promise<void> {
+export function dockerMemoryBytes(value: string | number): number {
+export function dockerWritableBudget(
🔎 Notable Findings
Security-critical files are healthy.host-iptables.ts, squid-config.ts, and docker-manager.ts are at 100% across all metrics; domain-patterns.ts is at 100% statements and functions.
Branch gap in domain-patterns.ts (89.47%). The audit shows 2 uncovered-looking if branches and 1 switch branch. These are in domain validation, so they are the most relevant security gap.
Branch gap in cli.ts (50%). Statements and functions are high, but half of the branches are untested in the main entry point.
Low-coverage files are outside the security-critical list. The three ❌ files (finite-cardinality.ts, resolved-config-artifact.ts, cleanup-registry.ts) sit below 50% statements. The brief tags them CRITICAL, but that tag reflects coverage level, not security-critical status.
Recent changes add untested-looking surface. The Docker-host enclave recovery and container-inspection functions added in the last 7 days are in src/enclave/docker-host-storage.ts (68.51% statements, 65% functions), which is still below threshold.
🎯 Recommendations
High — Add branch tests for domain-patterns.ts. Cover the uncovered if and switch branches to lift branch coverage from 89.47% toward 100%. These branches gate domain validation, which affects ACL correctness.
Medium — Raise src/enclave/docker-host-storage.ts and the recent Docker-host recovery functions. Add tests for recoverDockerHostEnclaveExecutor, assertDockerHostContainer, and removeDockerHostContainer. Coverage is 68.51% statements and 65% functions.
Low — Bring the sub-50% files up to a baseline. Start with src/bounded-execution/finite-cardinality.ts (46.03%) and src/resolved-config-artifact.ts (46.6%). Also add cli.ts branch tests to close the 50% branch gap.
Generated by test-coverage-reporter workflow. Trigger: push
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
📊 Test Coverage Report — 2026-10-21
Overall Coverage
🛡️ Security-Critical Path Status
📋 Coverage Table
🔧 Function Audit
📅 Recent Source Changes (last 7 days)
🔎 Notable Findings
host-iptables.ts,squid-config.ts, anddocker-manager.tsare at 100% across all metrics;domain-patterns.tsis at 100% statements and functions.domain-patterns.ts(89.47%). The audit shows 2 uncovered-lookingifbranches and 1switchbranch. These are in domain validation, so they are the most relevant security gap.cli.ts(50%). Statements and functions are high, but half of the branches are untested in the main entry point.finite-cardinality.ts,resolved-config-artifact.ts,cleanup-registry.ts) sit below 50% statements. The brief tags them CRITICAL, but that tag reflects coverage level, not security-critical status.src/enclave/docker-host-storage.ts(68.51% statements, 65% functions), which is still below threshold.🎯 Recommendations
domain-patterns.ts. Cover the uncoveredifandswitchbranches to lift branch coverage from 89.47% toward 100%. These branches gate domain validation, which affects ACL correctness.src/enclave/docker-host-storage.tsand the recent Docker-host recovery functions. Add tests forrecoverDockerHostEnclaveExecutor,assertDockerHostContainer, andremoveDockerHostContainer. Coverage is 68.51% statements and 65% functions.src/bounded-execution/finite-cardinality.ts(46.03%) andsrc/resolved-config-artifact.ts(46.6%). Also addcli.tsbranch tests to close the 50% branch gap.Generated by test-coverage-reporter workflow. Trigger:
pushAll reactions