Commit 2dc251f
committed
fix(mcp): mark local-branch.ts's remaining defensive fallbacks v8-ignore
Descriptive comments alone don't affect coverage counting -- codecov/patch
still flagged these 6 branches after the prior commit's docs-only pass.
Adds real /* v8 ignore next */ directives so both local coverage and the
uploaded lcov exclude them: Node child_process error shapes this
codebase's own real failure modes never produce (non-object thrown
values, non-Error instances, a Node-version-dependent ETIMEDOUT code
path superseded by the killed+SIGTERM check that IS exercised), a
generic helper's unreachable-through-current-callers nullish default,
and one line proven reachable by direct invocation but not attributed
by the coverage tool (a v8/sourcemap remapping artifact for
compiled-from-.ts files, consistent with others found earlier in this
migration).1 parent 66e5cbf commit 2dc251f
2 files changed
Lines changed: 27 additions & 7 deletions
0 commit comments