On PR #698 (run for commit 30785d0), deploy.test.ts "--deploy-retries 0 disables retry" failed on two unit lanes with Received: "harper deploy exited with code 1" where the expected /peer replication failed after 1 attempt/ signature should have been parsed from the scripted fake harper binary's output. All 37 deploy tests pass locally on the same commit, and the replication-detection code is untouched by the PR (verified by diff hunks). Signature-shape hypothesis: a spawn output-drain race — under CI load the child's stdout/stderr isn't fully consumed before the non-zero exit is turned into the generic error, so the signature matcher sees nothing. Suggested fix: await stream close (not just exit) before classifying the failure, in deploy()'s child-process handling.
🤖 Generated with Claude Code
On PR #698 (run for commit 30785d0),
deploy.test.ts"--deploy-retries 0 disables retry" failed on two unit lanes withReceived: "harper deploy exited with code 1"where the expected/peer replication failed after 1 attempt/signature should have been parsed from the scripted fake harper binary's output. All 37 deploy tests pass locally on the same commit, and the replication-detection code is untouched by the PR (verified by diff hunks). Signature-shape hypothesis: a spawn output-drain race — under CI load the child's stdout/stderr isn't fully consumed before the non-zero exit is turned into the generic error, so the signature matcher sees nothing. Suggested fix: await stream close (not just exit) before classifying the failure, in deploy()'s child-process handling.🤖 Generated with Claude Code