Skip to content

coveragegate red on main: subagentRunnerHandoff wrappers (cmd/harnessd) have zero coverage #796

Description

@dennisonbertram

Summary

./scripts/test-regression.sh fails at the coverage gate on main (4589b90): the subagentRunnerHandoff wrapper methods in cmd/harnessd/runtime_container.go:121-161 (StartRun, GetRun, Subscribe, CancelRun, RunPrompt, RunPromptWithAllowedTools, SteerRun, ParentRunID) have 0.0% coverage. Introduced by #795.

Impact

The merge gate is red on main; all branches fail verify-and-merge's pre-merge regression run.

Expected vs actual

Expected: gate green on main (no zero-coverage functions). Actual: 8 zero-coverage functions.

Proposed fix direction

Unit test in cmd/harnessd/runtime_container_test.go exercising all 8 wrappers against a real *harness.Runner built with internal/fakeprovider, asserting delegation behavior (including ParentRunID with/without a ParentContextHandoff).

Test plan / regression coverage

The new test itself is the regression coverage; gate must pass.

Related docs/log entries

Detected while running the tier-1 merge gate for the harness code-review fixes (issues #785-#787).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions