oficina / equipo Public

go: make keeps the local toolchain; toolchain fetches need network

Production 2026-11-22 (task tkwkpraqeeer): checks failed in 10-vet
with "golang.org/toolchain@v0.0.1-go1.26.5...: verifying module:
checksum database disabled by GOSUMDB=off". The project's Makefile
starts "export GOTOOLCHAIN := go1.26.5"; a Makefile assignment beats
the environment's GOTOOLCHAIN=local, so go asked for 1.26.5, which the
offline sandbox cannot fetch (a toolchain module is always verified
against the checksum database, even from cache). The runner's Go is
go1.26.10, which satisfies the repository's go 1.26.0 directive. The
checks counted as failed, so Engineering was sent to repair a
candidate that was not at fault. (The "hub's git rate limit?" retry
line is the project's own Makefile deps target, not Equipo.)

Fix:
- gotoolchain.Environment adds MAKEFLAGS=GOTOOLCHAIN=local: a make
  command-line variable, which beats the Makefile, reaches nested
  makes, and is used by Checks (BuildCheckPolicy overlays it) and by
  Engineering launches (Claude, Codex, Pi), so both run the
  runner-provided toolchain the same way. The engineering-toolchain
  spec already asked for GOTOOLCHAIN=local on the make command line;
  the trusted gate (exec make test-vet) could not pass it. The legacy
  Codex check sandbox env gains it too.
- judge's offline classifier also matches golang.org/toolchain@ and
  "disabled by GOSUMDB=off": a gate that must fetch a Go release
  reports "cannot run: needs network", not a candidate failure.

Tests first: TestEnvironmentKeepsMakeOnLocalToolchain (real make,
Makefile exporting GOTOOLCHAIN, plain and nested, every provider) and
TestOfflineGateOutputIncludesToolchainFetch failed before the fix.
TestEngineeringOfflineGo and TestCheckNamespaceGoRootInsideModuleCache
now assert MAKEFLAGS inside the real namespaces.
Mutation checks, each failed, then restored:
- drop MAKEFLAGS: make_test "recipe=go1.26.6"; also
  TestCheckNamespaceGoRootInsideModuleCache and TestEngineeringOfflineGo
  fail on the MAKEFLAGS assertion
- MAKEFLAGS=GOTOOLCHAIN=go1.26.5: make_test "recipe=go1.26.5"
- drop the toolchain patterns: "offline gate counted as a failure"
- over-broad pattern (any "go: " line): "candidate failure counted as
  offline" for "go.mod requires go >= 1.27.0"
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev ec0c3a4a5977db4ae1537c0d06a87f158e6a5234 parent 9836027
7 files changed, +92 −4
  • internal/runner/checks/containment_test.go +1 −0
  • internal/runner/checks/sandbox.go +1 −1
  • internal/runner/containment/engineering_go_test.go +1 −1
  • internal/runner/provider/gotoolchain/make_test.go +48 −0
  • internal/runner/provider/gotoolchain/tree.go +6 −1
  • internal/runner/thin/judge.go +5 −1
  • internal/runner/thin/offline_gate_test.go +30 −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/eng-bash-and-checks-go: Type  Size Avail | ext4   96G   85G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   85G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 2.4s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.4s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.8s
ci-box: pi: installed and verified in 7.4s
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.0s
ci-box: clone deepened in 3.5s
ci-box: file times set from content: 2872 files, 187 directories
ci-box: ready in 17.0s
=== 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.146s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  4.7s
+ go list -export -test -tags testbuild -f  ./...
  4.5s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.2s
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 1m16.84s 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 1m14.732s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m14.73s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 72.51, cpu waiting 43.40%, memory waiting 0.00%, io waiting 0.66%
--- 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 1m18.081s 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 1m15.779s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m15.78s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 72.51, cpu waiting 43.61%, memory waiting 0.00%, io waiting 0.64%
--- 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 1m18.802s 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 1m16.331s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m6.97s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.1s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.26s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 72.51, cpu waiting 43.61%, memory waiting 0.00%, io waiting 0.64%
--- 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 1m15.868s 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 1m13.283s amadan.net/oficina/equipo/internal/headless
receipt: slow test 36.34s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 19.32s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.1s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
receipt: slow test 8.52s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
machine: 32 CPUs, load 72.51, cpu waiting 43.40%, memory waiting 0.00%, io waiting 0.66%
--- 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 1m30.275s 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 1m27.496s amadan.net/oficina/equipo/internal/headless
receipt: slow test 58.7s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.07s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 8.12s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 6.97s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.63s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 65.98, cpu waiting 42.27%, memory waiting 0.00%, io waiting 0.52%
--- 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 2m52.593s 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 2m49.958s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m36.48s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 18.22s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 17.15s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 6.55s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
receipt: slow test 6.33s amadan.net/oficina/equipo/internal/headless TestHeadlessBatchAfterRefusedReply
machine: 32 CPUs, load 22.10, cpu waiting 12.04%, memory waiting 0.00%, io waiting 0.12%
--- 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 2m6.677s 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 2m4.139s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 8.09s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 5.64s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 4.39s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
receipt: slow test 3.77s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
machine: 32 CPUs, load 42.18, cpu waiting 25.89%, memory waiting 0.00%, io waiting 0.28%
--- 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 1m31.277s 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.72s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.21s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.46s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.38s amadan.net/oficina/equipo/internal/thintest TestContractPreview
receipt: slow test 2.36s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
machine: 32 CPUs, load 65.98, cpu waiting 42.27%, memory waiting 0.00%, io waiting 0.52%
--- 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 4m41.354s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m46.706s 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 4m41.354s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.01s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 37s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.82s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.49s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.97s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 4.20, cpu waiting 1.80%, 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

receipt: test step 53.269s 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 51.941s amadan.net/oficina/equipo/internal/runner
receipt: slow test 31.91s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 64.96, cpu waiting 36.32%, memory waiting 0.00%, io waiting 0.99%
--- 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

receipt: test step 1m3.398s 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 1m1.951s amadan.net/oficina/equipo/internal/runner
receipt: slow test 51.86s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 48.07s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.42s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.64s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 74.58, cpu waiting 42.25%, memory waiting 0.00%, io waiting 0.84%
--- 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

receipt: test step 36.152s 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 35.099s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.14s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.23s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.13s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.6s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 40.93, cpu waiting 23.21%, memory waiting 0.00%, io waiting 1.30%
--- 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 41.8%, load 29.10
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 1m8.112s 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.29s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 27.65s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 27.62s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.38s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.73s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.7s amadan.net/oficina/equipo/internal/equipotest TestAuthorityReadsOneSnapshot
machine: 32 CPUs, load 62.94, cpu waiting 40.11%, memory waiting 0.00%, io waiting 0.45%
--- 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 41.8%, load 29.10
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 1m17.922s 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 1m16.248s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 20.49s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 20.47s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
receipt: slow test 20.45s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
receipt: slow test 20.45s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 20.37s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
machine: 32 CPUs, load 54.65, cpu waiting 34.35%, memory waiting 0.00%, io waiting 0.38%
--- 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 41.6%, load 31.17
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 1m14.602s 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 1m9.097s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.33s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.38s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.39s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 10.36s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 7.32s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 54.65, cpu waiting 36.68%, memory waiting 0.00%, io waiting 0.41%
--- 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 41.6%, load 31.17
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 1m9.246s 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 1m7.299s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.28s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 25.52s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 25.4s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.68s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
receipt: slow test 23.65s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
machine: 32 CPUs, load 62.94, cpu waiting 40.11%, memory waiting 0.00%, io waiting 0.45%
--- 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 41.6%, load 31.17
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 54.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 52.424s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.63s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.59s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.65s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.6s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.23s amadan.net/oficina/equipo/internal/plan3test TestPersonAPIMigrationUpgrade
machine: 32 CPUs, load 69.18, cpu waiting 42.26%, memory waiting 0.00%, io waiting 0.58%
--- 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 41.6%, load 31.17
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/door ./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/door ./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/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/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
budget note: internal/equipo took 53.039s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 18.599s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/setup took 12.838s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 1m54.526s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 36.042s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 1m2.114s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/forge took 27.114s, over the 20s its record on line 35 allows; reported only, timing fails on CI
budget note: internal/runner/provider/pi took 1m24.22s, over the 1m0s its record on line 27 allows; reported only, timing fails on CI
budget note: internal/runner/workspace took 13.264s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m0.509s against a 60s target (the gate's other steps are not in this figure)
receipt: 40 packages ran, 22 cached, 18 without tests, 0 failed
receipt: slow package 1m54.526s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m24.22s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 1m12.718s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 1m2.114s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 57.441s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow test 53.97s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 45.17s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 45.12s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 44.86s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 44.6s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
machine: 32 CPUs, load 29.54, cpu waiting 17.36%, memory waiting 0.00%, io waiting 0.18%
--- 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

receipt: test step 1m24.743s 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 1m22.98s amadan.net/oficina/equipo/internal/headless
receipt: slow test 38.56s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.99s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.69s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.18s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.26s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 66.77, cpu waiting 42.21%, memory waiting 0.00%, io waiting 0.56%
--- 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

receipt: test step 1m30.102s 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.209s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26.9s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 20.3s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 12.76s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.88s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
receipt: slow test 8.87s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
machine: 32 CPUs, load 65.98, cpu waiting 42.27%, memory waiting 0.00%, io waiting 0.52%
--- 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 1m42.04s 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 1m40.081s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.16s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.16s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.18s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.12s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.95s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 58.54, cpu waiting 37.78%, memory waiting 0.00%, io waiting 0.42%
--- 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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-23T09:43:15.465Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-23T09:43:15.465Z level=INFO msg="startup phase done" phase=state_lock took=234µs
time=2026-11-23T09:43:15.466Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-23T09:43:15.466Z level=INFO msg="startup phase done" phase=claim_roots took=184µs
time=2026-11-23T09:43:15.466Z level=INFO msg="startup phase" phase=sweep
time=2026-11-23T09:43:15.513Z level=INFO msg="startup phase done" phase=sweep took=46.763ms
time=2026-11-23T09:43:15.513Z level=INFO msg="startup phase" phase=credentials
time=2026-11-23T09:43:15.513Z level=INFO msg="startup phase done" phase=credentials took=249µs
time=2026-11-23T09:43:15.513Z level=INFO msg="startup phase" phase=open_state
time=2026-11-23T09:43:15.563Z level=INFO msg="startup phase done" phase=open_state took=50.064ms
time=2026-11-23T09:43:15.564Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-23T09:43:15.564Z level=INFO msg=connecting host=127.0.0.1:46071 protocol=28
time=2026-11-23T09:43:15.572Z level=INFO msg=connected host=127.0.0.1:46071 took=7.187ms
time=2026-11-23T09:43:15.572Z level=INFO msg="capabilities gathering"
time=2026-11-23T09:43:15.573Z level=INFO msg="capabilities gathered" took=1.134ms tags=linux,claude,go
time=2026-11-23T09:43:15.574Z level=INFO msg="hello sent" protocol=28
time=2026-11-23T09:43:15.587Z 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: <nil>)
--- FAIL: TestBrowserCopyContinue (6.48s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m33.068s
FAIL	amadan.net/oficina/equipo/internal/headless	93.281s


receipt: test step 1m34.795s 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 1m33.068s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.73s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.95s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.58s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 9.5s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.59s 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$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest ec0c3a4a5977db4ae1537c0d06a87f158e6a5234 6.48s 62.94
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 58.54, cpu waiting 38.96%, memory waiting 0.00%, io waiting 0.44%
--- 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.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 579ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 580ms 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|TestBrowserSmartDoor)$' ./internal/idtest
budget note: internal/idtest took 10.644s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 11.916s 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 10.644s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 8.52s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.13s 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.679s 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.101s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.1s 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|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRhythm|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|TestBrowserTryAgain)$' ./internal/thintest

receipt: test step 3m32.609s 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 3m31.056s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 22.54s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.4s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.05s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.59s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 8.84s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 9.35, cpu waiting 4.43%, memory waiting 0.00%, io waiting 0.04%
--- 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   (54s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.66s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.14s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 8.85s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.74s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 27.87s
+ 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   (56s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 12.06s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 10.97s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 9.90s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 20.49s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (21s)
ok ./internal/headless TestMixedVersions 18.35s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.92s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (2s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 72.89, cpu waiting 39.35%, memory waiting 0.00%, io waiting 0.93%
--- 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 14.296s 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 8.012s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 190ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 67ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.7s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.73s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 430ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
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 4.302s 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 3.281s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 310ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 200ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 140ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 140ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceOpenCodeBinaryAfterAttestation
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
machine: 32 CPUs, load 23.10, cpu waiting 13.46%, memory waiting 0.00%, io waiting 1.70%
--- 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 41.6%, load 31.17
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2585 text files, 2862 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 tool fiesta spacing -skip tokens.css internal/equipo/static
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
internal/runner/thin: 21876 test lines, over the 21846 its exemption (line 41) allows
internal/runner/thin: 28144 source lines, over the 28140 its exemption (line 41) allows
rastrillo: budget size: 2 problem(s)
exit status 1
make[1]: *** [Makefile:75: budget] Error 1
machine: 32 CPUs, load 73.60, cpu waiting 43.21%, memory waiting 0.00%, io waiting 0.73%
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 41.6%, load 31.17
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 72.89, cpu waiting 40.68%, memory waiting 0.00%, io waiting 0.90%
--- 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 41.6%, load 31.17
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 3
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 40.93, cpu waiting 24.93%, memory waiting 0.00%, io waiting 1.25%
--- 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 41.8%, load 29.10
shard 28: make gitleaks
9:43AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
9:43AM INF 1099 commits scanned.
9:43AM INF scanned ~61591458 bytes (61.59 MB) in 25s
9:43AM INF no leaks found
machine: 32 CPUs, load 72.89, cpu waiting 37.84%, memory waiting 0.00%, io waiting 0.96%

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/checks/containment_test.go b/internal/runner/checks/containment_test.go
index 0e09b7ff..dd299a69 100644
--- a/internal/runner/checks/containment_test.go
+++ b/internal/runner/checks/containment_test.go
@@ -225,6 +225,7 @@ func TestCheckNamespaceGoRootInsideModuleCache(t *testing.T) {
script := `import os,subprocess
assert not os.path.exists(` + strconv.Quote(filepath.Join(home, ".cache/go-build")) + `)
assert os.environ['GOTOOLCHAIN']=='local'
+assert os.environ['MAKEFLAGS']=='GOTOOLCHAIN=local'
for path in ['/opt/go/VERSION', '/opt/go-mod/` + filepath.ToSlash(filepath.Join("golang.org", filepath.Base(goRoot))) + `/VERSION']:
assert os.path.isfile(path), path
try:
diff --git a/internal/runner/checks/sandbox.go b/internal/runner/checks/sandbox.go
index bef6ad96..e1b17e81 100644
--- a/internal/runner/checks/sandbox.go
+++ b/internal/runner/checks/sandbox.go
@@ -213,7 +213,7 @@ func (s *CodexSandbox) Run(ctx context.Context, c Command, work string, policy p
defer cancel()
cmd := exec.CommandContext(ctx, s.binary, args...)
cmd.Dir = control
- cmd.Env = []string{"PATH=" + filepath.Join(s.goRoot, "bin") + ":/usr/bin:/bin", "HOME=" + s.home, "CODEX_HOME=" + cfgHome, "TMPDIR=" + temp, "GOCACHE=" + cache, "GOTMPDIR=" + goTemp, "GOROOT=" + s.goRoot, "CGO_ENABLED=0", "GOTOOLCHAIN=local", "GOWORK=off", "GOENV=off", "GOFLAGS=", "GOTELEMETRY=off", "XDG_CONFIG_HOME=" + xdg, "GOPROXY=off", "GOSUMDB=off", "LANG=C", "LC_ALL=C"}
+ cmd.Env = []string{"PATH=" + filepath.Join(s.goRoot, "bin") + ":/usr/bin:/bin", "HOME=" + s.home, "CODEX_HOME=" + cfgHome, "TMPDIR=" + temp, "GOCACHE=" + cache, "GOTMPDIR=" + goTemp, "GOROOT=" + s.goRoot, "CGO_ENABLED=0", "GOTOOLCHAIN=local", "MAKEFLAGS=GOTOOLCHAIN=local", "GOWORK=off", "GOENV=off", "GOFLAGS=", "GOTELEMETRY=off", "XDG_CONFIG_HOME=" + xdg, "GOPROXY=off", "GOSUMDB=off", "LANG=C", "LC_ALL=C"}
for key, value := range workspace.GitEnvironment() {
if strings.HasPrefix(key, "GIT_") {
cmd.Env = append(cmd.Env, key+"="+value)
diff --git a/internal/runner/containment/engineering_go_test.go b/internal/runner/containment/engineering_go_test.go
index 33f60c23..75949ea9 100644
--- a/internal/runner/containment/engineering_go_test.go
+++ b/internal/runner/containment/engineering_go_test.go
@@ -119,7 +119,7 @@ func TestEngineeringOfflineGo(t *testing.T) {
}
defer listener.Close()
script := fmt.Sprintf(`import os,socket,subprocess
-expected={'GOPROXY':'off','GOSUMDB':'off','GOTOOLCHAIN':'local','GOFLAGS':'','CGO_ENABLED':'0','GOCACHE':'/tmp/claude-'+str(os.getuid())+'/go-build','GOTMPDIR':'/tmp/claude-'+str(os.getuid())+'/go-tmp','GOROOT':'/opt/go','GOMODCACHE':'/opt/go-mod','GOENV':'off','GOWORK':'off','GOTELEMETRY':'off'}
+expected={'GOPROXY':'off','GOSUMDB':'off','GOTOOLCHAIN':'local','MAKEFLAGS':'GOTOOLCHAIN=local','GOFLAGS':'','CGO_ENABLED':'0','GOCACHE':'/tmp/claude-'+str(os.getuid())+'/go-build','GOTMPDIR':'/tmp/claude-'+str(os.getuid())+'/go-tmp','GOROOT':'/opt/go','GOMODCACHE':'/opt/go-mod','GOENV':'off','GOWORK':'off','GOTELEMETRY':'off'}
for k,v in expected.items(): assert os.environ.get(k)==v,(k,os.environ.get(k))
assert os.environ['PATH'].endswith('/opt/go/bin:/usr/bin:/bin:/opt')
assert 'XDG_CONFIG_HOME' not in os.environ
diff --git a/internal/runner/provider/gotoolchain/make_test.go b/internal/runner/provider/gotoolchain/make_test.go
new file mode 100644
index 00000000..4e8221c2
--- /dev/null
+++ b/internal/runner/provider/gotoolchain/make_test.go
@@ -0,0 +1,48 @@
+package gotoolchain
+
+import (
+ "os"
+ "os/exec"
+ "path/filepath"
+ "strings"
+ "testing"
+)
+
+// TestEnvironmentKeepsMakeOnLocalToolchain: production 2026-11-22, a
+// project Makefile began `export GOTOOLCHAIN := go1.26.5`. A Makefile
+// assignment beats the environment, so its go commands asked for that
+// release, which the offline checks cannot fetch (GOSUMDB=off refuses a
+// toolchain download). The shared environment carries GOTOOLCHAIN=local
+// as a make command-line variable (MAKEFLAGS), which beats the Makefile,
+// for every launch that uses it and for nested makes.
+func TestEnvironmentKeepsMakeOnLocalToolchain(t *testing.T) {
+ makeBin, err := exec.LookPath("make")
+ if err != nil {
+ t.Skip("make is not installed")
+ }
+ dir := t.TempDir()
+ makefile := "export GOTOOLCHAIN := go1.26.5\nGOTOOLCHAIN = go1.26.6\nall:\n\t@echo \"recipe=$$GOTOOLCHAIN\"; sh -c 'echo child=$$GOTOOLCHAIN'\nnested:\n\t@$(MAKE) --no-print-directory all\n"
+ if err := os.WriteFile(filepath.Join(dir, "Makefile"), []byte(makefile), 0o600); err != nil {
+ t.Fatal(err)
+ }
+ for _, p := range []string{"", "claude", "codex", "pi"} {
+ env := Environment(p)
+ if env["GOTOOLCHAIN"] != "local" {
+ t.Fatalf("%q: GOTOOLCHAIN %q", p, env["GOTOOLCHAIN"])
+ }
+ for _, target := range []string{"all", "nested"} {
+ cmd := exec.Command(makeBin, "-s", target)
+ cmd.Dir = dir
+ cmd.Env = []string{"PATH=" + os.Getenv("PATH")}
+ for k, v := range env {
+ if k != "PATH" {
+ cmd.Env = append(cmd.Env, k+"="+v)
+ }
+ }
+ out, err := cmd.CombinedOutput()
+ if err != nil || strings.TrimSpace(string(out)) != "recipe=local\nchild=local" {
+ t.Fatalf("provider %q, make %s: %q %v", p, target, out, err)
+ }
+ }
+ }
+}
diff --git a/internal/runner/provider/gotoolchain/tree.go b/internal/runner/provider/gotoolchain/tree.go
index bfd9ebb6..56f38950 100644
--- a/internal/runner/provider/gotoolchain/tree.go
+++ b/internal/runner/provider/gotoolchain/tree.go
@@ -13,12 +13,17 @@ import (
func Target(path string) bool { return path == "/opt/go" || path == "/opt/go-mod" }
+// Environment is the shared offline Go environment. MAKEFLAGS passes
+// GOTOOLCHAIN=local to make as a command-line variable: a Makefile that
+// assigns GOTOOLCHAIN (export GOTOOLCHAIN := go1.x) overrides the
+// environment but not the command line, and its go commands would
+// otherwise ask for a release that only the network has.
func Environment(provider ...string) map[string]string {
tmp := "/tmp"
if len(provider) > 0 && provider[0] == "claude" {
tmp += "/claude-" + strconv.Itoa(os.Getuid())
}
- env := map[string]string{"GOCACHE": tmp + "/go-build", "GOTMPDIR": tmp + "/go-tmp", "GOMODCACHE": "/opt/go-mod", "GOROOT": "/opt/go", "GOTOOLCHAIN": "local", "GOWORK": "off", "GOENV": "off", "GOFLAGS": "", "GOTELEMETRY": "off", "GOPROXY": "off", "GOSUMDB": "off", "CGO_ENABLED": "0", "PATH": "/opt/go/bin:/usr/bin:/bin:/opt"}
+ env := map[string]string{"GOCACHE": tmp + "/go-build", "GOTMPDIR": tmp + "/go-tmp", "GOMODCACHE": "/opt/go-mod", "GOROOT": "/opt/go", "GOTOOLCHAIN": "local", "MAKEFLAGS": "GOTOOLCHAIN=local", "GOWORK": "off", "GOENV": "off", "GOFLAGS": "", "GOTELEMETRY": "off", "GOPROXY": "off", "GOSUMDB": "off", "CGO_ENABLED": "0", "PATH": "/opt/go/bin:/usr/bin:/bin:/opt"}
if len(provider) > 0 && provider[0] == "claude" {
env["CLAUDE_CODE_TMPDIR"] = "/tmp"
}
diff --git a/internal/runner/thin/judge.go b/internal/runner/thin/judge.go
index 7955ef05..59303fd4 100644
--- a/internal/runner/thin/judge.go
+++ b/internal/runner/thin/judge.go
@@ -383,7 +383,11 @@ func (e *Engineer) checks(ctx context.Context, r stepRow, progress func(wire.Ste
return done(wire.ChecksFailed, "")
}
-var offline = regexp.MustCompile(`GOPROXY=off|module lookup disabled|Could not resolve host|Temporary failure in name resolution|ENOTFOUND|EAI_AGAIN`)
+// offline matches a gate that needed the network: a module or toolchain
+// download (a Go release fetched as golang.org/toolchain is refused
+// offline even when cached, since GOSUMDB=off cannot verify it) or a
+// name lookup.
+var offline = regexp.MustCompile(`GOPROXY=off|module lookup disabled|golang\.org/toolchain@|disabled by GOSUMDB=off|Could not resolve host|Temporary failure in name resolution|ENOTFOUND|EAI_AGAIN`)
// checkRepository gives the checks tree a .git of its own at exactly the
// candidate (shallow, one commit, no remote, no hooks), so a gate that
diff --git a/internal/runner/thin/offline_gate_test.go b/internal/runner/thin/offline_gate_test.go
new file mode 100644
index 00000000..e52353b6
--- /dev/null
+++ b/internal/runner/thin/offline_gate_test.go
@@ -0,0 +1,30 @@
+package thin
+
+import "testing"
+
+// TestOfflineGateOutputIncludesToolchainFetch: production 2026-11-22, a
+// gate asked for a Go release it did not have. The download was refused
+// offline ("checksum database disabled by GOSUMDB=off") and the checks
+// counted as failed, so Engineering was sent to repair a candidate that
+// was not at fault. A gate that needs to fetch a toolchain cannot pass or
+// fail honestly here: it needs the network, as a module lookup does.
+func TestOfflineGateOutputIncludesToolchainFetch(t *testing.T) {
+ for _, out := range []string{
+ "go: golang.org/toolchain@v0.0.1-go1.26.5.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off\nmake: *** [Makefile:82: deps] Error 1",
+ "go: downloading go1.27.1 (linux/amd64)\ngo: download go1.27.1 for linux/amd64: golang.org/toolchain@v0.0.1-go1.27.1.linux-amd64: module lookup disabled by GOPROXY=off",
+ "go: amadan.net/oficina/home/handoff@v0.0.0-20261120140933-17cdcaff3345: module lookup disabled by GOPROXY=off",
+ } {
+ if !offline.MatchString(out) {
+ t.Fatalf("offline gate counted as a failure: %q", out)
+ }
+ }
+ for _, out := range []string{
+ "--- FAIL: TestDoorPages (0.01s)\n render_test.go:12: missing door\nFAIL",
+ "go: go.mod requires go >= 1.27.0 (running go 1.26.10; GOTOOLCHAIN=local)",
+ "./calma.go:12:2: undefined: doorView",
+ } {
+ if offline.MatchString(out) {
+ t.Fatalf("candidate failure counted as offline: %q", out)
+ }
+ }
+}