Repository navigation
Description
CI run 25301191157 on commit ce66d9c (PR #2565 merge). Two unrelated failures; both look transient and self-recoverable on rerun. Filing as diagnosed only — no fix PR.
Failure 1: test (macos) — test_alias_approval_decline BrokenPipe
thread 'integration_tests::step_alias::test_alias_approval_decline' (492488) panicked at tests/integration_tests/step_alias.rs:569:35:
called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
snapshot_alias_approval (tests/integration_tests/step_alias.rs:552) spawns wt step <alias> with piped stdin and writes n\n. The recorded snapshot (tests/snapshots/integration__integration_tests__step_alias__alias_approval_decline.snap) shows the child detects non-TTY immediately and exits with "Cannot prompt for approval in non-interactive environment" — it never reads stdin. The parent's stdin.write_all(b"n\n") is therefore racing the child's exit / pipe-close; on Linux the pipe buffer absorbs the write, on macOS the child can close the read end first and the parent sees EPIPE. First-seen on macOS; the helper has been in place since March 2026 (#1348). Class is the same as prior PTY/stdin-race flakes — running-tend says "exit without a PR".
If a maintainer wants a durable fix later, the small change is to tolerate BrokenPipe on the stdin write (or drop the unused approve parameter and use Stdio::null() for stdin, since the child never reads it):
if let Err(e) = stdin.write_all(response) {
if e.kind() != std::io::ErrorKind::BrokenPipe {
panic!("failed to write to child stdin: {e}");
}
}Failure 2: collect affected coverage (non-required) — cargo-affected ambiguous binary
FAIL [ 0.013s] (3467/3471) wt-perf::bin/wt-perf tests::cmd_failure_annotates_name
cargo-affected runner-shim: failed to resolve binary_id for /home/runner/work/worktrunk/worktrunk/target/affected/build/debug/deps/wt_perf-7dd43b84888cebad: binary not found in map (path: /home/runner/work/worktrunk/worktrunk/target/affected/build/debug/deps/wt_perf-7dd43b84888cebad); target-name basename fallback ambiguous — 2 candidates share target name "wt_perf" ([wt-perf, wt-perf::bin/wt-perf]) and the marker probe matched 0 of them (none; candidates without markers: wt-perf::bin/wt-perf, wt-perf); re-run `cargo affected collect`
Third-party cargo-affected (max-sixty/cargo-affected) runner-shim hit a stale candidate map for wt-perf (its lib + bin share the target name) and its own marker probe matched zero candidates. The error message explicitly recommends re-run cargo affected collect. This is a non-required job in the ci.yaml matrix — the merge-blocking checks are test (linux|macos|windows) per .github/CLAUDE.md. Treating as transient.
Recommendation
Rerun the ci workflow on this commit. If test (macos) flakes again on test_alias_approval_decline, the harden-the-stdin-write fix above is small and worth landing.
Activity
worktrunk-bot commentedon May 4, 2026
Transient — closing as diagnosed.
fix(wt-perf): move timeline tests to lib + exclude bin from test comp…