oficina / equipo Public

runner: bind the coordinator tool socket through its directory

A Unix socket path holds 107 bytes. openToolSet bound
<state>/coord-tool-<random>/equipo.sock by path, so a state directory
of 74 characters or more failed whenever MkdirTemp's random suffix had
ten digits (about 77% of starts). The staging suite, run with
TMPDIR=~/.cache/tmp/equipo-rel-5eef.NdPthX, put its fresh state there:
the first Codex coordinator start failed after the refresh, logged only
as *errors.errorString, and 2b_move_in failed (11:41Z, 11:58Z).

On Linux the socket is now bound through the directory's descriptor,
as the egress proxy already does; it is still created at the same path.

A failed Codex coordinator start now logs its step (binding, refresh,
copy, session, tool_socket, policy_*, namespace, handshake, thread)
beside the sanitized error, so a plain error says where it came from.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev c668318eb63128814db0597841f6aa9e7e9f71ff parent 5eef34a
7 files changed, +241 −20
  • internal/runner/thin/claude.go +26 −1
  • internal/runner/thin/codex.go +22 −14
  • internal/runner/thin/codex_start_log_test.go +107 −0
  • internal/runner/thin/mcp.go +1 −5
  • internal/runner/thin/toolsocket_linux.go +24 −0
  • internal/runner/thin/toolsocket_linux_test.go +42 −0
  • internal/runner/thin/toolsocket_other.go +19 −0

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/codex-start-fix: Type  Size Avail | ext4   96G   86G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   86G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: image pulled in 9.8s
ci-box: claude: fetched and verified in 12.2s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.2s
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: pi: installed and verified in 7.1s
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.3s
ci-box: clone deepened in 3.6s
ci-box: file times set from content: 2825 files, 185 directories
ci-box: ready in 25.5s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipotest	0.249s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  3.8s
+ go list -export -test -tags testbuild -f  ./...
  3.6s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.0s
rastrillo: budget size: 2 problem(s)
exit status 1
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-11 02:51:11 +0000 UTC

go run github.com/zricethezav/gitleaks/v8@v8.30.1 version
version is set by build process
=== check ===
--- shard 0 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-work: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$' ./internal/headless

receipt: test step 1m30.708s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m28.775s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m28.77s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 55.93, cpu waiting 37.09%, memory waiting 0.00%, io waiting 0.61%
--- shard 1 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-review: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$' ./internal/headless

receipt: test step 1m32.455s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m30.746s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m30.75s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 55.93, cpu waiting 36.98%, memory waiting 0.00%, io waiting 0.59%
--- shard 2 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-connections: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$' ./internal/headless

receipt: test step 1m34.713s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m32.705s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m21.44s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.18s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.09s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 55.93, cpu waiting 36.53%, memory waiting 0.00%, io waiting 0.57%
--- shard 3 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-mac: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$' ./internal/headless

receipt: test step 1m44.268s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m42.641s amadan.net/oficina/equipo/internal/headless
receipt: slow test 44.68s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 37.57s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.7s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.69s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 52.95, cpu waiting 32.24%, memory waiting 0.00%, io waiting 0.48%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

receipt: test step 1m46.365s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m44.485s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m6.71s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 12.24s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.41s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 9.08s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 6.06s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 50.31, cpu waiting 31.25%, memory waiting 0.00%, io waiting 0.46%
--- shard 5 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-rest: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$|^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$|^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$|^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$|^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

receipt: test step 3m19.377s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3m17.24s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m54.78s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 24.33s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.65s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.2s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.4s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 13.70, cpu waiting 6.64%, memory waiting 0.00%, io waiting 0.09%
--- shard 6 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 2m3.254s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2m1.219s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.73s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.73s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.52s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.69s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.53s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 41.97, cpu waiting 23.33%, memory waiting 0.00%, io waiting 0.34%
--- shard 7 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest-contract: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 1m23.933s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m21.869s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 8.99s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.01s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.38s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.49s amadan.net/oficina/equipo/internal/thintest TestContractPreview
receipt: slow test 2.37s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotNow
machine: 32 CPUs, load 58.40, cpu waiting 36.82%, memory waiting 0.00%, io waiting 0.68%
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
budget note: internal/runner/thin took 4m36.143s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m41.176s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 4m36.143s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.02s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.93s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.75s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.47s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.84s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 3.83, cpu waiting 1.69%, memory waiting 0.00%, io waiting 0.01%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 49.441s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 48.227s amadan.net/oficina/equipo/internal/runner
receipt: slow test 28.19s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 48.24, cpu waiting 30.10%, memory waiting 0.00%, io waiting 1.20%
--- shard 10 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-plans: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 58.803s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 56.761s amadan.net/oficina/equipo/internal/runner
receipt: slow test 46.76s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 42.99s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.38s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.6s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 55.13, cpu waiting 34.58%, memory waiting 0.00%, io waiting 1.01%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 35.696s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 34.767s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.11s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.38s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.13s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.52s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 33.90, cpu waiting 19.69%, memory waiting 0.00%, io waiting 1.52%
--- shard 12 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-a started 30s late; cpu waiting 35.8%, load 28.06
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest

receipt: test step 1m6.044s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m3.98s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.78s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 26.59s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 24.76s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.06s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 21.84s amadan.net/oficina/equipo/internal/equipotest TestAuthorityUsesLiveRoster
machine: 32 CPUs, load 55.30, cpu waiting 35.92%, memory waiting 0.00%, io waiting 0.55%
--- shard 13 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-e started 30s late; cpu waiting 35.8%, load 28.06
test lane equipotest-e: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[E-P]' ./internal/equipotest

receipt: test step 1m14.227s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m12.242s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 18.8s amadan.net/oficina/equipo/internal/equipotest TestProjectsSharedAndGrouped
receipt: slow test 18.79s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
receipt: slow test 18.69s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 18.69s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
receipt: slow test 18.66s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
machine: 32 CPUs, load 52.95, cpu waiting 32.24%, memory waiting 0.00%, io waiting 0.48%
--- shard 14 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-r started 30s late; cpu waiting 35.8%, load 28.06
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest

receipt: test step 1m12.069s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m6.967s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.86s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.04s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.04s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.94s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.96s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 52.95, cpu waiting 33.26%, memory waiting 0.00%, io waiting 0.50%
--- shard 15 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-rest started 30s late; cpu waiting 35.8%, load 23.62
test lane equipotest-rest: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^Test[A-D]|^TestQ|^Test[E-P]|^TestR' ./internal/equipotest

receipt: test step 1m7.566s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m5.653s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.22s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.87s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 23.85s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 22.11s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
receipt: slow test 22.04s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsConcurrentRevision
machine: 32 CPUs, load 55.30, cpu waiting 35.17%, memory waiting 0.00%, io waiting 0.53%
--- shard 16 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: plan3test started 30s late; cpu waiting 35.8%, load 23.62
test lane plan3test: ./internal/plan3test
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/plan3test

receipt: test step 52.933s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 50.956s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.55s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.49s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.69s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.45s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.27s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 58.40, cpu waiting 36.75%, memory waiting 0.00%, io waiting 0.70%
--- shard 17 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: rest started 30s late; cpu waiting 35.8%, load 23.62
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 47.595s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 14.328s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 40.71s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 34.981s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/runner/containment took 48.244s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m29.614s against a 60s target (the gate's other steps are not in this figure)
receipt: 21 packages ran, 40 cached, 18 without tests, 0 failed
receipt: slow package 1m5.272s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 51.989s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 51.36s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 48.244s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 47.595s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 24.94s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 20.36s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 16.01s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 12.86s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 11.07s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeP1OnlyOpenCodeReachable
machine: 32 CPUs, load 17.23, cpu waiting 9.26%, memory waiting 0.00%, io waiting 0.13%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChat
=== RUN   TestBrowserChat
time=2026-11-22T13:03:46.980Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T13:03:46.980Z level=INFO msg="startup phase done" phase=state_lock took=65µs
time=2026-11-22T13:03:46.980Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T13:03:46.980Z level=INFO msg="startup phase done" phase=claim_roots took=79µs
time=2026-11-22T13:03:46.980Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T13:03:47.015Z level=INFO msg="startup phase done" phase=sweep took=35.236ms
time=2026-11-22T13:03:47.015Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T13:03:47.015Z level=INFO msg="startup phase done" phase=credentials took=99µs
time=2026-11-22T13:03:47.015Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T13:03:47.064Z level=INFO msg="startup phase done" phase=open_state took=48.643ms
time=2026-11-22T13:03:47.065Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T13:03:47.065Z level=INFO msg=connecting host=127.0.0.1:39721 protocol=28
time=2026-11-22T13:03:47.067Z level=INFO msg=connected host=127.0.0.1:39721 took=1.123ms
time=2026-11-22T13:03:47.067Z level=INFO msg="capabilities gathering"
time=2026-11-22T13:03:47.067Z level=INFO msg="capabilities gathered" took=410µs tags=linux,claude,go
time=2026-11-22T13:03:47.068Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T13:03:47.076Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T13:03:49.002Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:46: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserChat (6.17s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
=== RUN   TestBrowserChatSendStaysOnPage
time=2026-11-22T13:03:53.157Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T13:03:53.157Z level=INFO msg="startup phase done" phase=state_lock took=67µs
time=2026-11-22T13:03:53.157Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T13:03:53.158Z level=INFO msg="startup phase done" phase=claim_roots took=83µs
time=2026-11-22T13:03:53.158Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T13:03:53.200Z level=INFO msg="startup phase done" phase=sweep took=42.175ms
time=2026-11-22T13:03:53.201Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T13:03:53.201Z level=INFO msg="startup phase done" phase=credentials took=176µs
time=2026-11-22T13:03:53.201Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T13:03:53.252Z level=INFO msg="startup phase done" phase=open_state took=51.022ms
time=2026-11-22T13:03:53.257Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T13:03:53.259Z level=INFO msg=connecting host=127.0.0.1:35473 protocol=28
time=2026-11-22T13:03:53.261Z level=INFO msg=connected host=127.0.0.1:35473 took=988µs
time=2026-11-22T13:03:53.261Z level=INFO msg="capabilities gathering"
time=2026-11-22T13:03:53.262Z level=INFO msg="capabilities gathered" took=521µs tags=linux,claude,go
time=2026-11-22T13:03:53.265Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T13:03:53.266Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T13:03:55.555Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:108: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserChatSendStaysOnPage (6.46s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
=== RUN   TestBrowserDraftIsTheMessage
time=2026-11-22T13:03:59.610Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T13:03:59.610Z level=INFO msg="startup phase done" phase=state_lock took=105µs
time=2026-11-22T13:03:59.610Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T13:03:59.610Z level=INFO msg="startup phase done" phase=claim_roots took=97µs
time=2026-11-22T13:03:59.610Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T13:03:59.647Z level=INFO msg="startup phase done" phase=sweep took=37.407ms
time=2026-11-22T13:03:59.647Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T13:03:59.648Z level=INFO msg="startup phase done" phase=credentials took=1.171ms
time=2026-11-22T13:03:59.648Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T13:03:59.701Z level=INFO msg="startup phase done" phase=open_state took=52.113ms
time=2026-11-22T13:03:59.703Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T13:03:59.704Z level=INFO msg=connecting host=127.0.0.1:38605 protocol=28
time=2026-11-22T13:03:59.705Z level=INFO msg=connected host=127.0.0.1:38605 took=910µs
time=2026-11-22T13:03:59.705Z level=INFO msg="capabilities gathering"
time=2026-11-22T13:03:59.705Z level=INFO msg="capabilities gathered" took=412µs tags=linux,claude,go
time=2026-11-22T13:03:59.706Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T13:03:59.714Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T13:04:01.824Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_thinking_test.go:106: waiting for !!window.__m: context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserDraftIsTheMessage (8.14s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 48.749s
FAIL	amadan.net/oficina/equipo/internal/headless	49.069s


receipt: test step 50.322s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 48.749s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.47s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 8.14s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 7.83s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.46s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
receipt: slow test 6.17s amadan.net/oficina/equipo/internal/headless TestBrowserChat
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' -v -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserDraftIsTheMessage$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserChat browser-headless-chat c668318eb63128814db0597841f6aa9e7e9f71ff 6.17s 51.75
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserChatSendStaysOnPage browser-headless-chat c668318eb63128814db0597841f6aa9e7e9f71ff 6.46s 51.75
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserDraftIsTheMessage browser-headless-chat c668318eb63128814db0597841f6aa9e7e9f71ff 8.14s 51.75
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 50.31, cpu waiting 30.26%, memory waiting 0.00%, io waiting 0.45%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
=== RUN   TestBrowserRailFollowsWork
time=2026-11-22T13:03:43.742Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T13:03:43.742Z level=INFO msg="startup phase done" phase=state_lock took=142µs
time=2026-11-22T13:03:43.742Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T13:03:43.743Z level=INFO msg="startup phase done" phase=claim_roots took=121µs
time=2026-11-22T13:03:43.743Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T13:03:43.770Z level=INFO msg="startup phase done" phase=sweep took=27.813ms
time=2026-11-22T13:03:43.770Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T13:03:43.771Z level=INFO msg="startup phase done" phase=credentials took=141µs
time=2026-11-22T13:03:43.771Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T13:03:43.814Z level=INFO msg="startup phase done" phase=open_state took=42.957ms
time=2026-11-22T13:03:43.814Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T13:03:43.815Z level=INFO msg=connecting host=127.0.0.1:34787 protocol=28
time=2026-11-22T13:03:43.818Z level=INFO msg=connected host=127.0.0.1:34787 took=2.204ms
time=2026-11-22T13:03:43.818Z level=INFO msg="capabilities gathering"
time=2026-11-22T13:03:43.819Z level=INFO msg="capabilities gathered" took=1.456ms tags=linux,claude,go
time=2026-11-22T13:03:43.820Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T13:03:43.829Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T13:03:45.151Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-22T13:03:54.021Z level=INFO msg="kept sessions" kept=1 bytes=2770 expired=0
time=2026-11-22T13:03:58.966Z level=INFO msg="kept sessions" kept=2 bytes=4922 expired=0
time=2026-11-22T13:03:59.686Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T13:03:59.686Z level=INFO msg="startup phase done" phase=state_lock took=60µs
time=2026-11-22T13:03:59.686Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T13:03:59.686Z level=INFO msg="startup phase done" phase=claim_roots took=82µs
time=2026-11-22T13:03:59.686Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T13:03:59.732Z level=INFO msg="startup phase done" phase=sweep took=46.228ms
time=2026-11-22T13:03:59.732Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T13:03:59.733Z level=INFO msg="startup phase done" phase=credentials took=103µs
time=2026-11-22T13:03:59.733Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T13:03:59.788Z level=INFO msg="startup phase done" phase=open_state took=55.919ms
time=2026-11-22T13:03:59.789Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T13:03:59.790Z level=INFO msg=connecting host=127.0.0.1:44191 protocol=28
time=2026-11-22T13:03:59.793Z level=INFO msg=connected host=127.0.0.1:44191 took=3.321ms
time=2026-11-22T13:03:59.794Z level=INFO msg="capabilities gathering"
time=2026-11-22T13:03:59.797Z level=INFO msg="capabilities gathered" took=3.794ms tags=linux,claude,go
time=2026-11-22T13:03:59.798Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T13:03:59.808Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T13:04:01.936Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_review_test.go:57: waiting for document.querySelector('#rail [data-specialist="engineering"]')?.dataset.state==='working' && document.querySelector('#rail [data-specialist="engineering"]').querySelector('[equipo-nav-task]')?.textContent==='Slow sidebar change' && document.querySelector('#nav-tasks [data-count]')?.textContent==='1': context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserRailFollowsWork (22.12s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m36.099s
FAIL	amadan.net/oficina/equipo/internal/headless	96.443s


receipt: test step 1m37.868s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m36.099s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26.47s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 22.12s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 14.6s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 11.39s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
receipt: slow test 11.38s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' -v -run '^TestBrowserRailFollowsWork$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserRailFollowsWork browser-headless-work c668318eb63128814db0597841f6aa9e7e9f71ff 22.12s 55.30
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 41.97, cpu waiting 24.12%, memory waiting 0.00%, io waiting 0.35%
--- shard 20 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-connections: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless

receipt: test step 1m46.686s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m45.207s amadan.net/oficina/equipo/internal/headless
receipt: slow test 16.9s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 14.21s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 13.06s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.91s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.45s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 50.31, cpu waiting 30.26%, memory waiting 0.00%, io waiting 0.45%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-22T13:03:58.714Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T13:03:58.715Z level=INFO msg="startup phase done" phase=state_lock took=164µs
time=2026-11-22T13:03:58.715Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T13:03:58.715Z level=INFO msg="startup phase done" phase=claim_roots took=135µs
time=2026-11-22T13:03:58.715Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T13:03:58.769Z level=INFO msg="startup phase done" phase=sweep took=54.015ms
time=2026-11-22T13:03:58.769Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T13:03:58.769Z level=INFO msg="startup phase done" phase=credentials took=186µs
time=2026-11-22T13:03:58.769Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T13:03:58.829Z level=INFO msg="startup phase done" phase=open_state took=59.317ms
time=2026-11-22T13:03:58.829Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T13:03:58.831Z level=INFO msg=connecting host=127.0.0.1:38009 protocol=28
time=2026-11-22T13:03:58.832Z level=INFO msg=connected host=127.0.0.1:38009 took=1.067ms
time=2026-11-22T13:03:58.833Z level=INFO msg="capabilities gathering"
time=2026-11-22T13:03:58.834Z level=INFO msg="capabilities gathered" took=578µs tags=linux,claude,go
time=2026-11-22T13:03:58.835Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T13:03:58.843Z level=INFO msg=welcome protocol=28 role=primary generation=1
    browser_copy_test.go:90: waiting for !document.querySelector('[data-copy-continue]'): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserCopyContinue (6.53s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-22T13:04:38.223Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T13:04:38.224Z level=INFO msg="startup phase done" phase=state_lock took=217µs
time=2026-11-22T13:04:38.224Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T13:04:38.224Z level=INFO msg="startup phase done" phase=claim_roots took=210µs
time=2026-11-22T13:04:38.224Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T13:04:38.256Z level=INFO msg="startup phase done" phase=sweep took=31.626ms
time=2026-11-22T13:04:38.256Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T13:04:38.256Z level=INFO msg="startup phase done" phase=credentials took=143µs
time=2026-11-22T13:04:38.256Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T13:04:38.302Z level=INFO msg="startup phase done" phase=open_state took=46.105ms
time=2026-11-22T13:04:38.303Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T13:04:38.304Z level=INFO msg=connecting host=127.0.0.1:33667 protocol=28
time=2026-11-22T13:04:38.305Z level=INFO msg=connected host=127.0.0.1:33667 took=846µs
time=2026-11-22T13:04:38.305Z level=INFO msg="capabilities gathering"
time=2026-11-22T13:04:38.306Z level=INFO msg="capabilities gathered" took=401µs tags=linux,claude,go
time=2026-11-22T13:04:38.308Z level=INFO msg="hello sent" protocol=28
rastrillo: budget test: go test failed
time=2026-11-22T13:04:38.311Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T13:04:39.465Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_receipts_test.go:169: waiting for [...document.querySelectorAll('[equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes("I'm your coordinator")): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserEmptyExplore (5.84s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m38.185s
FAIL	amadan.net/oficina/equipo/internal/headless	98.513s


receipt: test step 1m39.631s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m38.185s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.22s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 12.38s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.6s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.84s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 8.3s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserCopyContinue$|^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest c668318eb63128814db0597841f6aa9e7e9f71ff 6.53s 52.95
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest c668318eb63128814db0597841f6aa9e7e9f71ff 5.84s 52.95
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 46.92, cpu waiting 28.37%, memory waiting 0.00%, io waiting 0.42%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

receipt: test step 2.051s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 592ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 590ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor)$' ./internal/idtest

receipt: test step 2.959s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1.696s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.7s amadan.net/oficina/equipo/internal/idtest TestBrowserOficinaIDDoor
browser lane browser-rest: ./internal/plan3test
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestTeamsHierarchyBrowser)$' ./internal/plan3test

receipt: test step 3.236s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1.846s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.84s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingSteady|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackPulse|TestBrowserTrackStarCentre)$' ./internal/thintest

receipt: test step 3m18.844s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3m17.181s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.24s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.32s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 11.98s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.5s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 8.13s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 11.68, cpu waiting 5.81%, memory waiting 0.00%, io waiting 0.08%
--- shard 23 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 23: make test-quarantine
python3 scripts/ci-test.py quarantine
quarantine: 12 tests from scripts/ci-quarantine.txt; a failure is retried once, and a pass on the retry is reported as a flake
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^A5_cancel_and_sign_out$|^TestHeadlessConnections$/^C4_claude_sign_in$|^TestHeadlessConnections$/^C5_engineering_failover$|^TestHeadlessConnections$/^C5_engineering_to_codex$|^TestHeadlessConnections$/^C5_engineering_waits$' ./internal/headless   (60s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.29s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.51s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 10.93s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 12.55s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 27.84s
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^C5_review_auth$|^TestHeadlessConnections$/^C5_review_failover$|^TestHeadlessConnections$/^C5_review_on_codex$|^TestHeadlessConnections$/^C5_review_other_family_first$' ./internal/headless   (65s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 20.09s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 13.95s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 12.21s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 17.19s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (24s)
ok ./internal/headless TestMixedVersions 22.09s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.82s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 56.76, cpu waiting 35.33%, memory waiting 0.00%, io waiting 0.92%
--- shard 24 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 24: make runner-host
python3 scripts/runner-prerequisites.py
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks

receipt: test step 10.959s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 3 without tests, 0 failed
receipt: slow package 7.297s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 284ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 119ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 3ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.11s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.74s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 310ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.33s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2.954s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceExitStatus
machine: 32 CPUs, load 18.45, cpu waiting 7.98%, memory waiting 0.00%, io waiting 2.12%
--- shard 25 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: runner-dead-references started 30s late; cpu waiting 35.8%, load 28.06
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2538 text files, 2850 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
rastrillo: budget size: 2 problem(s)
internal/runner/thin: 21754 test lines, over the 21605 its exemption (line 41) allows
internal/runner/thin: 28134 source lines, over the 28062 its exemption (line 41) allows
exit status 1
make[1]: *** [Makefile:75: budget] Error 1
machine: 32 CPUs, load 55.52, cpu waiting 35.15%, memory waiting 0.00%, io waiting 0.98%
make: *** [Makefile:113: ci-shard] Error 2

amadan: step check shard 25 of 29 failed: exit status 2
--- shard 26 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: staticcheck started 30s late; cpu waiting 35.8%, load 28.06
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 48.24, cpu waiting 28.99%, memory waiting 0.00%, io waiting 1.24%
--- shard 27 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: govulncheck started 30s late; cpu waiting 35.8%, load 28.06
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.
This scan also found 0 vulnerabilities in packages you import and 5
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 33.90, cpu waiting 21.27%, memory waiting 0.00%, io waiting 1.47%
--- shard 28 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: gitleaks started 30s late; cpu waiting 35.8%, load 23.62
shard 28: make gitleaks
1:03PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
1:04PM INF 1082 commits scanned.
1:04PM INF scanned ~60855520 bytes (60.86 MB) in 21.5s
1:04PM INF no leaks found
machine: 32 CPUs, load 51.75, cpu waiting 31.44%, memory waiting 0.00%, io waiting 1.16%

amadan: job failed at step check shard 25 of 29 — its output is above, not at the tail of this log
diff --git a/internal/runner/thin/claude.go b/internal/runner/thin/claude.go
index 11604f7a..5817d9b7 100644
--- a/internal/runner/thin/claude.go
+++ b/internal/runner/thin/claude.go
@@ -276,10 +276,35 @@ func (c *coordBase) log(msg string, err error) {
}
}
+// startStep names the step of a harness start that failed, so a log can
+// say where even when the error itself is only its type.
+type startStep struct {
+ step string
+ err error
+}
+
+func (e *startStep) Error() string { return e.step + ": " + e.err.Error() }
+func (e *startStep) Unwrap() error { return e.err }
+
+// atStep tags err with the start step it came from; an error already
+// tagged (a refresh inside the copy) keeps its own, narrower step.
+func atStep(step string, err error) error {
+ var known *startStep
+ if err == nil || errors.As(err, &known) {
+ return err
+ }
+ return &startStep{step, err}
+}
+
// sanitize keeps only provider error codes: no paths or provider output.
// A joined error is each of its errors, sanitized; an exit status is
-// itself (a number, nothing a process said).
+// itself (a number, nothing a process said). A start step is its fixed
+// name before the rest.
func sanitize(err error) string {
+ var step *startStep
+ if errors.As(err, &step) {
+ return step.step + ": " + sanitize(step.err)
+ }
if reason := provider.ContainmentReason(err); reason != "" {
return string(provider.ErrContainment) + ": " + reason
}
diff --git a/internal/runner/thin/codex.go b/internal/runner/thin/codex.go
index 241b33a5..6070ff6f 100644
--- a/internal/runner/thin/codex.go
+++ b/internal/runner/thin/codex.go
@@ -407,11 +407,19 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
o := c.o
direct, err := o.Runner.DirectBinding(c.account)
if err != nil {
- return err
+ return atStep("binding", err)
+ }
+ // The refresh's failures are told apart from the copy's own checks.
+ refresh := o.Refresh
+ if refresh != nil {
+ refresh = func(ctx context.Context, b provider.Binding) (provider.Identity, error) {
+ id, err := o.Refresh(ctx, b)
+ return id, atStep("refresh", err)
+ }
}
- lease, err := provider.OpenRuntimeCopy(ctx, direct, o.Refresh, o.LockWait)
+ lease, err := provider.OpenRuntimeCopy(ctx, direct, refresh, o.LockWait)
if err != nil {
- return err
+ return atStep("copy", err)
}
p := &codexProcess{access: c.accessProtocol() >= wire.ProtocolAccess, lease: lease, exited: make(chan struct{})}
defer func() {
@@ -424,7 +432,7 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
found := false
if !c.profile.ephemeral {
if row, found, err = o.State.session(ctx, c.person, c.lane, "codex"); err != nil {
- return err
+ return atStep("session", err)
}
}
y1, m1, d1 := row.Updated.UTC().Date()
@@ -437,35 +445,35 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
pruneRollouts(c.home)
}
if p.scratch, err = os.MkdirTemp(o.Runner.ScratchRoot, "policy-"); err != nil {
- return err
+ return atStep("policy_scratch", err)
}
var call ToolFunc
if o.Tools != nil {
call = c.toolCall
}
if p.tool, err = openToolSet(context.Background(), o.Runner.StateDir, c.accessToolSet(call != nil), call); err != nil {
- return err
+ return atStep("tool_socket", err)
}
sel := provider.Selection{ConnectionID: c.account.LocalID, Provider: "codex", Family: c.account.Family, Model: c.account.Model, AccountID: c.account.AccountID}
in, err := runner.PolicyInputs(ctx, o.Runner, sel, binding, c.workspace(), c.profile.action, p.scratch, c.accessProtocol() < wire.ProtocolAccess)
if err != nil {
- return err
+ return atStep("policy_inputs", err)
}
if p.policy, err = provider.BuildPolicy(binding, in); err != nil {
- return err
+ return atStep("policy_build", err)
}
if err = codex.ValidateThinPolicy(binding, p.policy, c.x.Digest, c.x.HostDigest); err != nil {
- return err
+ return atStep("policy_pin", err)
}
if err = lease.CheckCopy(ctx); err != nil {
- return err
+ return atStep("copy_check", err)
}
personKey := sha256.Sum256([]byte(c.person))
launch := provider.Launch{ToolSocket: p.tool.Path, AttemptKey: c.profile.action + "/" + hex.EncodeToString(personKey[:8]) + "/" + uuid(), Workspace: c.workspace(), Selection: sel, Binding: binding, Policy: p.policy}
pctx, cancel := context.WithCancel(context.Background())
p.cancel = cancel
if p.process, err = o.Manager.StartRecorded(pctx, launch, in.Argv, nil); err != nil {
- return err
+ return atStep("namespace", err)
}
p.rpc = connect.NewAppServer(p.process.Stdout(), p.process.Stdin())
go func() { _, _ = io.Copy(io.Discard, io.LimitReader(p.process.Stderr(), 1<<20)) }()
@@ -502,7 +510,7 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
if err != nil {
c.proc = p
c.stop(false)
- return errors.Join(provider.ErrPolicy, err)
+ return atStep("handshake", errors.Join(provider.ErrPolicy, err))
}
p.fresh = !resume
if resume {
@@ -513,7 +521,7 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
if errors.Is(err, provider.ErrPolicy) {
c.proc = p
c.stop(false)
- return err
+ return atStep("thread", err)
}
// A thread Codex cannot resume starts afresh, seeded like any new
// session from the notebook and the tail.
@@ -527,7 +535,7 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
if err != nil {
c.proc = p
c.stop(false)
- return errors.Join(provider.ErrPolicy, err)
+ return atStep("thread", errors.Join(provider.ErrPolicy, err))
}
}
p.tally = connect.NewCodexTally(p.thread, p.fresh)
diff --git a/internal/runner/thin/codex_start_log_test.go b/internal/runner/thin/codex_start_log_test.go
new file mode 100644
index 00000000..7f921848
--- /dev/null
+++ b/internal/runner/thin/codex_start_log_test.go
@@ -0,0 +1,107 @@
+package thin
+
+import (
+ "bytes"
+ "context"
+ "encoding/json"
+ "errors"
+ "log/slog"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+
+ "amadan.net/oficina/equipo/internal/runner"
+ "amadan.net/oficina/equipo/internal/runner/provider"
+ "amadan.net/oficina/equipo/internal/runner/provider/codex"
+ "amadan.net/oficina/equipo/internal/wire"
+)
+
+// codexStartFixture is a Codex source home and a coordinator on it whose
+// start fails before any process: refresh is the test's.
+func codexStartFixture(t *testing.T, stateDir string, refresh func(context.Context, provider.Binding) (provider.Identity, error)) (Coordinator, *bytes.Buffer) {
+ t.Helper()
+ root := t.TempDir()
+ home := filepath.Join(root, "codex-1")
+ id := provider.Identity{AccountID: "person@example.com", HomeID: "home-1", ProviderVersion: codex.Version}
+ raw, _ := json.Marshal(id)
+ if os.Mkdir(home, 0700) != nil || os.WriteFile(filepath.Join(home, provider.IdentityFile), raw, 0600) != nil || os.WriteFile(filepath.Join(home, "auth.json"), []byte(`{"tokens":{}}`), 0600) != nil {
+ t.Fatal("home")
+ }
+ db := filepath.Join(root, "state")
+ if stateDir == "" {
+ stateDir = db
+ }
+ scratch := filepath.Join(root, "scratch")
+ for _, d := range []string{db, scratch} {
+ if err := os.MkdirAll(d, 0700); err != nil {
+ t.Fatal(err)
+ }
+ }
+ state, err := OpenState(context.Background(), db)
+ if err != nil {
+ t.Fatal(err)
+ }
+ t.Cleanup(func() { state.Close() })
+ var logs bytes.Buffer
+ o := ClaudeOptions{Runner: runner.Config{StateDir: stateDir, ScratchRoot: scratch}, State: state, SessionRoot: filepath.Join(root, "sessions"), Refresh: refresh, Logger: slog.New(slog.NewTextHandler(&logs, nil))}
+ b := runner.AccountBinding{ID: "codex-1", LocalID: "codex-1", Provider: "codex", Family: "gpt", Model: "gpt-test", PersonID: "p@example.com", ProviderHome: home, AccountID: id.AccountID, ExpectedIdentity: id, Kind: "subscription"}
+ c, err := OpenCodex(o, CodexOptions{}, "p@example.com", b)
+ if err != nil {
+ t.Fatal(err)
+ }
+ t.Cleanup(c.Close)
+ return c, &logs
+}
+
+func codexTurn(c Coordinator) TurnResult {
+ return c.Turn(context.Background(), TurnInput{Person: "p@example.com", Lane: wire.LaneCoordinator, TurnID: "t1", Attempt: 1, Text: "hello"}, func(string) {})
+}
+
+// A failed start says where it failed, as a fixed step name beside the
+// sanitized error (2026-11-22: staging logged only *errors.errorString).
+func TestCodexStartLogsItsStep(t *testing.T) {
+ ok := func(_ context.Context, b provider.Binding) (provider.Identity, error) { return b.Expected, nil }
+ cases := []struct {
+ name, want, reason string
+ stateDir string
+ refresh func(context.Context, provider.Binding) (provider.Identity, error)
+ }{
+ {name: "refresh refused", want: `err="refresh: provider_identity_mismatch"`, reason: "account_unavailable",
+ refresh: func(context.Context, provider.Binding) (provider.Identity, error) {
+ return provider.Identity{}, provider.ErrIdentity
+ }},
+ {name: "sign in again", want: `err="refresh: account.sign_in_again"`, reason: "sign_in_again",
+ refresh: func(context.Context, provider.Binding) (provider.Identity, error) {
+ return provider.Identity{}, provider.ErrLoginRequired
+ }},
+ // Any other error is still only its type, now with its step.
+ {name: "tool socket", want: `err="tool_socket: *fs.PathError"`, reason: "account_unavailable", refresh: ok,
+ stateDir: filepath.Join(t.TempDir(), "missing")},
+ }
+ for _, tc := range cases {
+ t.Run(tc.name, func(t *testing.T) {
+ c, logs := codexStartFixture(t, tc.stateDir, tc.refresh)
+ res := codexTurn(c)
+ if res.Reason != tc.reason {
+ t.Fatalf("reason %q, want %q", res.Reason, tc.reason)
+ }
+ if !strings.Contains(logs.String(), `msg="codex coordinator start" `+tc.want) {
+ t.Fatalf("log %q, want %s", logs.String(), tc.want)
+ }
+ })
+ }
+}
+
+var errSecretWords = errors.New("secret words /home/someone")
+
+// A step name never carries the error's own words.
+func TestSanitizeStepKeepsOnlyTheCode(t *testing.T) {
+ err := atStep("tool_socket", errSecretWords)
+ if got := sanitize(err); got != "tool_socket: *errors.errorString" {
+ t.Fatalf("logged %q", got)
+ }
+ if got := sanitize(atStep("copy", atStep("refresh", provider.ErrIdentity))); got != "refresh: provider_identity_mismatch" {
+ t.Fatalf("logged %q", got)
+ }
+}
diff --git a/internal/runner/thin/mcp.go b/internal/runner/thin/mcp.go
index 6f4c0f08..1fcea1c0 100644
--- a/internal/runner/thin/mcp.go
+++ b/internal/runner/thin/mcp.go
@@ -4,7 +4,6 @@ import (
"bufio"
"context"
"encoding/json"
- "fmt"
"net"
"os"
"path/filepath"
@@ -77,10 +76,7 @@ func openToolSet(ctx context.Context, root string, set toolSet, call ToolFunc) (
return fail(err)
}
path := filepath.Join(dir, "equipo.sock")
- if len(path) > 107 {
- return fail(fmt.Errorf("tool socket path too long"))
- }
- l, err := net.ListenUnix("unix", &net.UnixAddr{Name: path, Net: "unix"})
+ l, err := listenToolSocket(dir, path)
if err != nil {
return fail(err)
}
diff --git a/internal/runner/thin/toolsocket_linux.go b/internal/runner/thin/toolsocket_linux.go
new file mode 100644
index 00000000..cb619714
--- /dev/null
+++ b/internal/runner/thin/toolsocket_linux.go
@@ -0,0 +1,24 @@
+package thin
+
+import (
+ "net"
+ "os"
+ "path/filepath"
+ "strconv"
+
+ "golang.org/x/sys/unix"
+)
+
+// listenToolSocket binds the socket through its directory's descriptor,
+// as the egress proxy does: a Unix socket's path holds 107 bytes, and a
+// runner's state directory can leave less room than that (2026-11-22,
+// the staging suite under a long TMPDIR failed most coordinator starts).
+// The socket is still created at path.
+func listenToolSocket(dir, path string) (*net.UnixListener, error) {
+ fd, err := unix.Open(dir, unix.O_RDONLY|unix.O_DIRECTORY|unix.O_NOFOLLOW|unix.O_CLOEXEC, 0)
+ if err != nil {
+ return nil, &os.PathError{Op: "open", Path: dir, Err: err}
+ }
+ defer unix.Close(fd)
+ return net.ListenUnix("unix", &net.UnixAddr{Name: "/proc/self/fd/" + strconv.Itoa(fd) + "/" + filepath.Base(path), Net: "unix"})
+}
diff --git a/internal/runner/thin/toolsocket_linux_test.go b/internal/runner/thin/toolsocket_linux_test.go
new file mode 100644
index 00000000..e96324f6
--- /dev/null
+++ b/internal/runner/thin/toolsocket_linux_test.go
@@ -0,0 +1,42 @@
+package thin
+
+import (
+ "context"
+ "fmt"
+ "net"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+)
+
+// The coordinator's tool socket opens whatever the state directory's
+// length: a Unix socket path holds 107 bytes, and the staging suite's
+// state under a long TMPDIR failed most coordinator starts (2026-11-22).
+func TestToolSocketUnderLongStateDir(t *testing.T) {
+ root := filepath.Join(t.TempDir(), strings.Repeat("s", 100))
+ if err := os.Mkdir(root, 0700); err != nil {
+ t.Fatal(err)
+ }
+ for i := 0; i < 20; i++ {
+ s, err := openToolSet(context.Background(), root, converseSet(false), nil)
+ if err != nil {
+ t.Fatalf("open %d: %v", i, err)
+ }
+ info, err := os.Lstat(s.Path)
+ if err != nil || info.Mode()&os.ModeSocket == 0 || info.Mode().Perm() != 0600 || filepath.Base(s.Path) != "equipo.sock" || filepath.Dir(filepath.Dir(s.Path)) != root {
+ t.Fatalf("socket %s: %v %v", s.Path, info, err)
+ }
+ dir, err := os.Open(filepath.Dir(s.Path))
+ if err != nil {
+ t.Fatal(err)
+ }
+ conn, err := net.Dial("unix", fmt.Sprintf("/proc/self/fd/%d/equipo.sock", dir.Fd()))
+ dir.Close()
+ if err != nil {
+ t.Fatalf("dial %d: %v", i, err)
+ }
+ conn.Close()
+ s.Close()
+ }
+}
diff --git a/internal/runner/thin/toolsocket_other.go b/internal/runner/thin/toolsocket_other.go
new file mode 100644
index 00000000..4418d832
--- /dev/null
+++ b/internal/runner/thin/toolsocket_other.go
@@ -0,0 +1,19 @@
+//go:build !linux
+
+package thin
+
+import (
+ "errors"
+ "net"
+)
+
+var errToolSocketPath = errors.New("tool socket path too long")
+
+// listenToolSocket binds the socket at path, which must fit a Unix
+// socket's path.
+func listenToolSocket(_, path string) (*net.UnixListener, error) {
+ if len(path) > 103 {
+ return nil, errToolSocketPath
+ }
+ return net.ListenUnix("unix", &net.UnixAddr{Name: path, Net: "unix"})
+}