oficina / equipo Public

Mac slice F wb fix 1 #6: P2 failure details checked coded where made

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev ecf71a8da760e538b12700e241d59b90f6e54269 parent c1cfb7e
2 files changed, +3 −5
  • internal/runner/mac/p2why_test.go +1 −0
  • internal/runner/mac/wbfix1_probe_test.go +2 −5

CI failed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/mac-slice-f: Type  Size Avail | ext4   96G   84G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   84G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 2.6s
ci-box: codex: fetched and verified in 4.6s
ci-box: codex-code-mode-host: fetched and verified in 1.7s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.7s
ci-box: pi: installed and verified in 7.6s
ci-box: opencode: installed and verified in 2.2s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 9.4s
ci-box: clone deepened in 6.7s
ci-box: file times set from content: 3521 files, 224 directories
ci-box: ready in 21.5s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
--- FAIL: TestReleaseCopyReviewed (0.09s)
    task_pages_test.go:236: COPY REVIEW REQUIRED: copy-status.py verify found copy pending review or stale bookkeeping
FAIL
rastrillo-budget/v1 ran 86ms
FAIL	amadan.net/oficina/equipo/internal/equipotest	0.233s
FAIL
make: *** [Makefile:260: copy-release-check] Error 1

amadan: step copy failed: exit status 2

amadan: job failed at step copy — its output is above, not at the tail of this log
diff --git a/internal/runner/mac/p2why_test.go b/internal/runner/mac/p2why_test.go
index 0ffd7810..4220132e 100644
--- a/internal/runner/mac/p2why_test.go
+++ b/internal/runner/mac/p2why_test.go
@@ -65,6 +65,7 @@ func TestP2SaysWhichStepFailed(t *testing.T) {
p, ran, _ := probeP2(context.Background(), f.h, Capabilities(context.Background(), f.h.Exec, f.h.Tools))
// The phase and its exit, never the output (whole-branch fix 1,
// #6: the excerpt goes only to the runner's log).
+ codedProbes(t, p)
if ran || p.Verdict != wire.ProbeFailed || !strings.HasSuffix(p.Detail, c.detail) {
t.Fatalf("%s: %+v ran=%v", c.phase, p, ran)
}
diff --git a/internal/runner/mac/wbfix1_probe_test.go b/internal/runner/mac/wbfix1_probe_test.go
index 15fb6c4b..5a301204 100644
--- a/internal/runner/mac/wbfix1_probe_test.go
+++ b/internal/runner/mac/wbfix1_probe_test.go
@@ -21,11 +21,8 @@ func codedProbes(t *testing.T, ps ...wire.Probe) {
func TestProbeDetailsCoded(t *testing.T) {
f := newProbeFixture(t, allLines("denied"))
codedProbes(t, RunProbes(context.Background(), f.h).Probes...)
- for _, env := range []string{"FAKE_READ_STATE=1", "FAKE_BUILD_FAIL=1", "FAKE_LINES_THEN_FAIL=1"} {
- f := newProbeFixture(t, allLines("denied"), env)
- p, _, _ := probeP2(context.Background(), f.h, Capabilities(context.Background(), f.h.Exec, f.h.Tools))
- codedProbes(t, p)
- }
+ // P2's srt failures are checked coded where they are made
+ // (TestP2SaysWhichStepFailed).
f = newProbeFixture(t, allLines("denied"))
caps := Capabilities(context.Background(), f.h.Exec, f.h.Tools)
caps.Simulators = nil