oficina / equipo Public

hostedproxy: stagger origin dials across checked addresses

Task 6 review round 2: a first address that silently drops no longer
spends the whole 15 s origin budget. The next checked address starts
when an attempt fails or every 300 ms; the first connection wins. One
lookup and host-name TLS verification are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev e2c7d9193fb0514713eb927c55ddffdc33a469c9 parent cf65db7
3 files changed, +111 −7
  • docs/superpowers/plans/HOSTED-SLICE2-PROGRESS.md +10 −0
  • internal/hostedproxy/egress_test.go +37 −0
  • internal/hostedproxy/origin.go +64 −7

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/hosted-runners-2: 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 1.7s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.4s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 10.0s
ci-box: pi: installed and verified in 7.6s
ci-box: opencode: installed and verified in 2.3s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 9.1s
ci-box: clone deepened in 5.2s
ci-box: file times set from content: 3796 files, 253 directories
ci-box: ready in 18.9s
=== 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.238s
=== compile ===
go build ./...
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0
go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.14
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.31
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.23
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  5.8s
+ go list -export -test -tags testbuild -f  ./...
  6.8s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/equipotest ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  4.2s
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-24 15:56:00 +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 1m25.352s 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.782s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m22.78s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 84.51, cpu waiting 47.16%, memory waiting 0.00%, io waiting 0.37%
--- 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 1m22.032s 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 1m19.382s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m19.38s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 84.51, cpu waiting 46.38%, memory waiting 0.00%, io waiting 0.40%
--- 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 1m26.354s 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 1m23.993s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m12.77s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.21s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.01s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 87.76, cpu waiting 47.77%, memory waiting 0.00%, io waiting 0.36%
--- 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 2m50.701s 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 2m48.083s amadan.net/oficina/equipo/internal/headless
receipt: slow test 2m13.74s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 15.73s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.53s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.08s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 40.82, cpu waiting 18.80%, memory waiting 0.00%, io waiting 0.08%
--- 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_step_refused$|^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 1m43.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 1m40.835s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m9.9s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.73s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 8.73s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 7.58s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.88s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 82.45, cpu waiting 46.92%, memory waiting 0.00%, io waiting 0.27%
--- 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_step_refused$|^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 3m35.733s 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 3m32.817s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m48.29s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.62s amadan.net/oficina/equipo/internal/headless TestMacMixedVersions
receipt: slow test 20.87s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.35s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.25s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistantAttachments
machine: 32 CPUs, load 23.83, cpu waiting 9.05%, memory waiting 0.00%, io waiting 0.03%
--- 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 3m31.357s 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 3m28.91s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 15.68s amadan.net/oficina/equipo/internal/thintest TestTasklessHoldResumes
receipt: slow test 11.08s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.68s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 5.5s amadan.net/oficina/equipo/internal/thintest TestAbilityHoldResumes
receipt: slow test 5.43s amadan.net/oficina/equipo/internal/thintest TestResumeBeforeRefusalReported
machine: 32 CPUs, load 23.83, cpu waiting 9.68%, memory waiting 0.00%, io waiting 0.04%
--- 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 2m27.685s 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 2m24.635s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.63s amadan.net/oficina/equipo/internal/thintest TestContractRetryPreviewUnverifiedMerge
receipt: slow test 9.09s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.03s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 4.94s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 3s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
machine: 32 CPUs, load 49.29, cpu waiting 27.29%, memory waiting 0.00%, io waiting 0.12%
--- 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 7m36.584s, over the 45s its record on line 45 allows; reported only, timing fails on CI

receipt: test step 7m43.586s 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 7m36.584s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.15s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.92s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.89s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 33.26s amadan.net/oficina/equipo/internal/runner/thin TestWorkerHelloConnections
receipt: slow test 18.53s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
machine: 32 CPUs, load 1.08, cpu waiting 0.13%, memory waiting 0.00%, io waiting 0.00%
--- 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 50.581s 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 49.244s amadan.net/oficina/equipo/internal/runner
receipt: slow test 29.21s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 61.01, cpu waiting 33.37%, memory waiting 0.00%, io waiting 0.66%
--- 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 1m1.956s 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 1m0.319s amadan.net/oficina/equipo/internal/runner
receipt: slow test 50.26s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 44.33s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.43s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.62s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 75.17, cpu waiting 41.67%, memory waiting 0.00%, io waiting 0.54%
--- 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 42.221s 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 41.043s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.14s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 5.01s amadan.net/oficina/equipo/internal/runner TestEnrolCommitsTheCredentialLast
receipt: slow test 3.4s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.32s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 3.1s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
machine: 32 CPUs, load 47.75, cpu waiting 27.52%, memory waiting 0.00%, io waiting 0.76%
--- 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 40.7%, load 30.94
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
--- FAIL amadan.net/oficina/equipo/internal/equipotest TestDirectDeadReferencesRepository
=== RUN   TestDirectDeadReferencesRepository
    direct_cutover_test.go:221: repository reference inventory: exit status 1
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:9:210: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:236:744: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:236:783: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:287:60: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:296:119: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:318:225: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:382:97: unclassified equipo-runner
        internal/hostedproxy/policy_test.go:404:24: unclassified Node
        internal/hostedproxy/policy_test.go:425:29: unclassified Node
        internal/hostedproxy/policy_test.go:443:29: unclassified Node
        reference scan: 3508 text files, 3994 matches, 10 failures
--- FAIL: TestDirectDeadReferencesRepository (2.81s)

--- FAIL amadan.net/oficina/equipo/internal/equipotest (package output)
FAIL
rastrillo-budget/v1 ran 1m14.353s
FAIL	amadan.net/oficina/equipo/internal/equipotest	74.680s


receipt: test step 1m16.446s 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 1m14.353s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 33.87s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 33.75s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 30.88s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 27.14s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 27.13s amadan.net/oficina/equipo/internal/equipotest TestAuthorityProjectKinds
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' -v -run '^TestDirectDeadReferencesRepository$' -count=1 ./internal/equipotest   (retry, once)
FAILED TWICE ./internal/equipotest:TestDirectDeadReferencesRepository equipotest-a
=== RUN   TestDirectDeadReferencesRepository
    direct_cutover_test.go:221: repository reference inventory: exit status 1
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:9:210: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:236:744: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:236:783: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:287:60: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:296:119: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:318:225: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:382:97: unclassified equipo-runner
        internal/hostedproxy/policy_test.go:404:24: unclassified Node
        internal/hostedproxy/policy_test.go:425:29: unclassified Node
        internal/hostedproxy/policy_test.go:443:29: unclassified Node
        reference scan: 3508 text files, 3994 matches, 10 failures
--- FAIL: TestDirectDeadReferencesRepository (2.71s)
FAIL
rastrillo-budget/v1 ran 2.711s
FAIL	amadan.net/oficina/equipo/internal/equipotest	2.908s
FAIL
machine: 32 CPUs, load 77.20, cpu waiting 46.36%, memory waiting 0.00%, io waiting 0.24%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 12 of 29 failed: exit status 2
--- 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 38.0%, load 30.94
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 2m25.892s 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 2m23.666s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.25s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 24.23s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 24.21s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
receipt: slow test 24.2s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 24.14s amadan.net/oficina/equipo/internal/equipotest TestProjectKindsAndDefaultBranch
machine: 32 CPUs, load 38.27, cpu waiting 17.62%, memory waiting 0.00%, io waiting 0.07%
--- 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 38.0%, load 30.94
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
budget note: internal/equipotest took 5m43.308s, over the 5m0s its record on line 15 allows; reported only, timing fails on CI

receipt: test step 5m49.759s 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 5m43.308s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 4m46.75s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 14.82s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 11.77s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 11.71s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 8.67s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 3.44, cpu waiting 0.58%, memory waiting 0.00%, io waiting 0.00%
--- 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 38.0%, load 30.94
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 1m14.353s 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.104s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 30.65s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 30.29s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 30.22s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 27.75s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
receipt: slow test 27.69s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedAuditRollback
machine: 32 CPUs, load 82.45, cpu waiting 46.96%, memory waiting 0.00%, io waiting 0.26%
--- 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 38.0%, load 30.94
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 1m0.744s 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 58.45s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 4.35s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.59s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.87s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.6s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.53s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 87.76, cpu waiting 48.19%, memory waiting 0.00%, io waiting 0.34%
--- 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 38.0%, load 30.94
test lane rest: ./cmd/equipo ./cmd/equipo-hosted-controller ./cmd/equipo-hosted-proxy ./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/diffscan ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/github ./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/pause ./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/hostedcert ./internal/hostedclient ./internal/hostedctl ./internal/hostedctl/ctlcert ./internal/hostedctl/ctlcert/ctlcerttest ./internal/hostedctl/ctlegress ./internal/hostedctl/ctlops ./internal/hostedctl/ctlproxy ./internal/hostedctl/ctlproxy/ctlproxytest ./internal/hostedproxy ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./internal/ownermodetest ./internal/release ./internal/release/renderertest ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/designstep ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mac/creds ./internal/runner/mac/denylist ./internal/runner/mac/fprobe ./internal/runner/mac/proc ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/pause ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/render ./internal/runner/renderpage ./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/teamprobe ./internal/testci ./internal/toolproxy ./internal/websearch ./internal/websearch/websearchtest ./internal/websource ./internal/websource/guard ./internal/websource/hostaddrs ./internal/wire ./internal/wire/forgekey ./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-hosted-controller ./cmd/equipo-hosted-proxy ./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/diffscan ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/github ./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/pause ./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/hostedcert ./internal/hostedclient ./internal/hostedctl ./internal/hostedctl/ctlcert ./internal/hostedctl/ctlcert/ctlcerttest ./internal/hostedctl/ctlegress ./internal/hostedctl/ctlops ./internal/hostedctl/ctlproxy ./internal/hostedctl/ctlproxy/ctlproxytest ./internal/hostedproxy ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./internal/ownermodetest ./internal/release ./internal/release/renderertest ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/designstep ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mac/creds ./internal/runner/mac/denylist ./internal/runner/mac/fprobe ./internal/runner/mac/proc ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/pause ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/render ./internal/runner/renderpage ./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/teamprobe ./internal/testci ./internal/toolproxy ./internal/websearch ./internal/websearch/websearchtest ./internal/websource ./internal/websource/guard ./internal/websource/hostaddrs ./internal/wire ./internal/wire/forgekey ./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/isolatedjob: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: 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/runnerproto: its inputs changed
--- FAIL amadan.net/oficina/equipo/internal/testci TestBudgetRecordsAreShort
=== RUN   TestBudgetRecordsAreShort
    budgets_file_test.go:37: .rastrillo/budgets.txt:18: reason is 268 bytes, over 200
    budgets_file_test.go:33: .rastrillo/budgets.txt:87: record is 2414 bytes, over 500: keep the reason to the measured value and a short why
--- FAIL: TestBudgetRecordsAreShort (0.00s)

--- FAIL amadan.net/oficina/equipo/internal/testci (package output)
FAIL
rastrillo-budget/v1 ran 2.293s
FAIL	amadan.net/oficina/equipo/internal/testci	2.299s

budget: amadan.net/oficina/equipo/internal/hostedctl/ctlproxy ran tests but printed no time: add func TestMain(m *testing.M) { os.Exit(budget.Main(m)) }
budget note: cmd/equipo-runner took 1m26.984s, over the 1m0s its record on line 74 allows; reported only, timing fails on CI
budget note: internal/equipo took 3m2.64s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 48.95s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/github took 40.217s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/setup took 13.848s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/hostedctl took 39.491s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 2m21.319s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 1m10.59s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 1m16.72s, over the 15s its record on line 41 allows; reported only, timing fails on CI
budget note: internal/runner/forge took 31.13s, over the 20s its record on line 36 allows; reported only, timing fails on CI
budget note: internal/runner/mac took 46.72s, over the 45s its record on line 44 allows; reported only, timing fails on CI
budget note: internal/runner/mac/fprobe took 12.2s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/provider/claude/realcli took 15.287s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/provider/pi took 1m27.026s, over the 1m0s its record on line 28 allows; reported only, timing fails on CI
budget note: internal/runner/render took 1m28.853s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 3m9.184s against a 60s target (the gate's other steps are not in this figure)
receipt: 58 packages ran, 33 cached, 24 without tests, 1 failed
receipt: slow package 3m2.64s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 2m21.319s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m28.853s amadan.net/oficina/equipo/internal/runner/render
receipt: slow package 1m27.026s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 1m26.984s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow test 1m19.55s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 1m1.7s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 54.34s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 54.01s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 53.19s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestBudgetRecordsAreShort$' -count=1 ./internal/testci   (retry, once)
FAILED TWICE ./internal/testci:TestBudgetRecordsAreShort rest
=== RUN   TestBudgetRecordsAreShort
    budgets_file_test.go:37: .rastrillo/budgets.txt:18: reason is 268 bytes, over 200
    budgets_file_test.go:33: .rastrillo/budgets.txt:87: record is 2414 bytes, over 500: keep the reason to the measured value and a short why
--- FAIL: TestBudgetRecordsAreShort (0.00s)
FAIL
rastrillo-budget/v1 ran 0s
FAIL	amadan.net/oficina/equipo/internal/testci	0.004s
FAIL
machine: 32 CPUs, load 22.08, cpu waiting 8.47%, memory waiting 0.00%, io waiting 0.03%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 17 of 29 failed: exit status 2
--- 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 1m27.075s 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 1m24.816s amadan.net/oficina/equipo/internal/headless
receipt: slow test 39.03s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.95s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.52s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.66s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.83s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 87.76, cpu waiting 47.77%, memory waiting 0.00%, io waiting 0.36%
--- 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 1m41.094s 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 1m39.05s amadan.net/oficina/equipo/internal/headless
receipt: slow test 29.4s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 25.51s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 13.49s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.89s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
receipt: slow test 10.35s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
machine: 32 CPUs, load 82.45, cpu waiting 46.92%, memory waiting 0.00%, io waiting 0.27%
--- 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 1m58.394s 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 1m56.217s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.64s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.46s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 13.08s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.61s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 11.37s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
machine: 32 CPUs, load 72.70, cpu waiting 41.92%, memory waiting 0.00%, io waiting 0.21%
--- 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|TestBrowserCardAnswerSettlesAtBottom|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|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 TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-30T22:25:14.657Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-30T22:25:14.657Z level=INFO msg="startup phase done" phase=state_lock took=76µs
time=2026-11-30T22:25:14.657Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-30T22:25:14.657Z level=INFO msg="startup phase done" phase=claim_roots took=85µs
time=2026-11-30T22:25:14.657Z level=INFO msg="startup phase" phase=sweep
time=2026-11-30T22:25:14.698Z level=INFO msg="startup phase done" phase=sweep took=40.584ms
time=2026-11-30T22:25:14.698Z level=INFO msg="startup phase" phase=credentials
time=2026-11-30T22:25:14.698Z level=INFO msg="startup phase done" phase=credentials took=108µs
time=2026-11-30T22:25:14.698Z level=INFO msg="startup phase" phase=open_state
time=2026-11-30T22:25:14.758Z level=INFO msg="startup phase done" phase=open_state took=59.873ms
time=2026-11-30T22:25:14.758Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-30T22:25:14.759Z level=INFO msg=connecting host=127.0.0.1:33605 protocol=39
time=2026-11-30T22:25:14.760Z level=INFO msg=connected host=127.0.0.1:33605 took=981µs
time=2026-11-30T22:25:14.760Z level=INFO msg="capabilities gathering"
time=2026-11-30T22:25:14.763Z level=INFO msg="capabilities gathered" took=2.697ms tags=linux,claude,go
time=2026-11-30T22:25:14.765Z level=INFO msg="hello sent" protocol=39
time=2026-11-30T22:25:14.773Z level=INFO msg=welcome protocol=39 role=primary generation=1
time=2026-11-30T22:25:15.868Z 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: <nil>)
--- FAIL: TestBrowserEmptyExplore (6.14s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m41.615s
FAIL	amadan.net/oficina/equipo/internal/headless	101.818s


receipt: test step 1m43.788s 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 1m41.615s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.3s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 13.3s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.92s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.14s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.67s amadan.net/oficina/equipo/internal/headless TestBrowserNotebookLook
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserCardAnswerSettlesAtBottom|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|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 '^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest e2c7d9193fb0514713eb927c55ddffdc33a469c9 6.14s 82.45
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 77.20, cpu waiting 44.25%, memory waiting 0.00%, io waiting 0.22%
--- 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|TestBrowserPreviewPassExchange)$' ./internal/equipo

receipt: test step 4.333s 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.63s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 1.95s amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewPassExchange
receipt: slow test 680ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/equipotest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserGitHubManifestCSP)$' ./internal/equipotest

receipt: test step 8.189s 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 6.559s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 6.56s amadan.net/oficina/equipo/internal/equipotest TestBrowserGitHubManifestCSP
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 11.518s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 13.216s 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 11.518s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 9.23s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.28s 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 4.624s 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.739s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.74s 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|TestBrowserAskMacOffline|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPausedWork|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 3m45.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 3m42.599s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 26.54s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.4s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.08s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.79s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.5s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 12.68, cpu waiting 4.35%, memory waiting 0.00%, io waiting 0.01%
--- 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   (53s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.93s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.29s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 8.76s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.97s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 26.14s
+ 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   (75s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 24.98s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 21.55s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 10.56s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 15.17s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (22s)
ok ./internal/headless TestMixedVersions 19.61s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.81s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (2s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.06s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 80.78, cpu waiting 46.16%, memory waiting 0.00%, io waiting 0.43%
--- 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 13.533s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 4 without tests, 0 failed
receipt: slow package 7.703s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 190ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 80ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 4ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow test 5.28s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.83s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 470ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 EQUIPO_REQUIRE_USER_SESSION=1 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.457s 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.506s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 360ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 230ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 150ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceExitStatus
machine: 32 CPUs, load 26.91, cpu waiting 10.79%, memory waiting 0.00%, io waiting 1.18%
--- 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 38.0%, load 30.94
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:9:210: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:236:744: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:236:783: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:287:60: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:296:119: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:318:225: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:382:97: unclassified equipo-runner
internal/hostedproxy/policy_test.go:404:24: unclassified Node
internal/hostedproxy/policy_test.go:425:29: unclassified Node
internal/hostedproxy/policy_test.go:443:29: unclassified Node
reference scan: 3508 text files, 3994 matches, 10 failures
machine: 32 CPUs, load 34.95, cpu waiting 19.03%, memory waiting 0.00%, io waiting 0.90%
make[1]: *** [Makefile:238: runner-dead-references] Error 1
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 38.0%, load 30.94
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 69.18, cpu waiting 40.45%, memory waiting 0.00%, io waiting 0.56%
--- 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 38.0%, load 30.94
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 1 vulnerability in packages you import and 10
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 75.79, cpu waiting 45.15%, memory waiting 0.00%, io waiting 0.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 38.0%, load 30.94
shard 28: make gitleaks
10:24PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
10:24PM INF 1353 commits scanned.
10:24PM INF scanned ~75757791 bytes (75.76 MB) in 28s
10:24PM INF no leaks found
machine: 32 CPUs, load 69.18, cpu waiting 37.59%, memory waiting 0.00%, io waiting 0.60%

amadan: job failed at step check shards 12, 17, 25 of 29 — its output is above, not at the tail of this log
diff --git a/docs/superpowers/plans/HOSTED-SLICE2-PROGRESS.md b/docs/superpowers/plans/HOSTED-SLICE2-PROGRESS.md
index 90a01366..7434684d 100644
--- a/docs/superpowers/plans/HOSTED-SLICE2-PROGRESS.md
+++ b/docs/superpowers/plans/HOSTED-SLICE2-PROGRESS.md
@@ -270,3 +270,13 @@ Mutation checks (each applied by script, the named test run, then restored and c
18. No version check (`if false && ...` in `readRequest`). Command: `... -run '^TestHTTP11Required$' -count=1`. Observed: FAIL, `egress_test.go:938: CONNECT over HTTP/1.0: answered "HTTP/1.1 200 Connection established", want 505`, `egress_test.go:946: a request over HTTP/1.0 in a tunnel: answered "HTTP/1.1 200 OK", want 505` (and 1.2, 2.0, 0.9), `egress_test.go:951: the origin saw 4 requests, want 0`. Restored.
Also run: `go test ./internal/hostedproxy ./cmd/equipo-hosted-proxy -count=1 -race` ok (3.1 s and 1.2 s); the brief's green command ok; staticcheck v0.7.0 ok; gofmt clean; `make budget build vet` ok (126 directories within budget; `internal/hostedproxy` 1818 source and 1533 test lines, default budgets).
+
+### Task 6 review round 2 (t6-r2.md: round 1 all addressed; one new finding)
+
+Origin fallback kept its time budget: `dialOrigin` no longer dials the checked addresses one after another under one 15 s context. `dialStaggered` starts the first address, then the next one when the last attempt fails or every `dialStagger` (300 ms, happy-eyeballs style), all under the one origin budget; the first connection wins, the rest are cancelled and any late winner is closed. The single lookup, the address check and TLS verification for the host name are unchanged. TestOriginDialFallsBack: the answer is [203.0.113.10, 2001:db8::10] and the first address hangs until cancelled; `dialOrigin` succeeds in about 0.6 s, after dialling the stalled address and then the second, from one lookup; a GET through a tunnel then answers 200.
+
+Mutation check (applied by script, restored and checked with `cmp`):
+
+19. No fallback while an attempt hangs (the stagger timer's `if next < len(addrs)` became `if false && ...`, `origin.go`). Command: `CGO_ENABLED=0 go test ./internal/hostedproxy -run '^TestOriginDialFallsBack$' -count=1`. Observed: FAIL after 15.02 s, `egress_test.go:1080: dialOrigin with the first address stalled: dial tcp 127.0.0.1:35507: i/o timeout` (the second address got the expired context). Restored.
+
+Also run: `go test ./internal/hostedproxy ./cmd/equipo-hosted-proxy -count=1 -race` ok (3.8 s and 1.3 s); staticcheck v0.7.0 ok; gofmt clean; `make budget build vet` ok (126 directories within budget).
diff --git a/internal/hostedproxy/egress_test.go b/internal/hostedproxy/egress_test.go
index 49cc24c2..527ffe0b 100644
--- a/internal/hostedproxy/egress_test.go
+++ b/internal/hostedproxy/egress_test.go
@@ -228,6 +228,7 @@ type env struct {
leaf atomic.Pointer[tls.Certificate] // the origin's certificate
dns *fakeResolver
dials *dialLog
+ stalled sync.Map // address -> true: a dial there hangs until cancelled
srv *Server
log *syncBuffer
}
@@ -326,6 +327,10 @@ func newEnv(t *testing.T) *env {
Clock: e.clock, Resolver: e.dns,
DialOrigin: func(ctx context.Context, network, addr string) (net.Conn, error) {
e.dials.add(addr)
+ if _, ok := e.stalled.Load(addr); ok {
+ <-ctx.Done()
+ return nil, ctx.Err()
+ }
if addr != publicV4+":443" && addr != "["+publicV6+"]:443" {
return nil, fmt.Errorf("test origin dial to %s", addr)
}
@@ -1061,3 +1066,35 @@ func TestOriginTLSVerified(t *testing.T) {
t.Errorf("the right certificate: %d, want 200", status)
}
}
+
+// TestOriginDialFallsBack: when the first checked address silently drops
+// the connection, the next is tried after dialStagger, well inside the
+// origin budget, from the same single lookup (review round 2).
+func TestOriginDialFallsBack(t *testing.T) {
+ e := newEnv(t)
+ e.dns.set([]string{publicV4, publicV6})
+ e.stalled.Store(publicV4+":443", true)
+ began := time.Now()
+ c, err := e.srv.dialOrigin(context.Background(), testHost)
+ if err != nil {
+ t.Fatalf("dialOrigin with the first address stalled: %v", err)
+ }
+ c.Close()
+ if took := time.Since(began); took > originTimeout/3 {
+ t.Errorf("dialOrigin took %v with the first address stalled, want about %v", took, dialStagger)
+ }
+ if got := e.dials.all(); !slices.Equal(got, []string{publicV4 + ":443", "[" + publicV6 + "]:443"}) || e.dns.lookups() != 1 {
+ t.Errorf("dialled %v after %d lookups, want the stalled address, then the second, after one", got, e.dns.lookups())
+ }
+ // Through a tunnel, with the name verified on the second address.
+ e.dns.set([]string{publicV4, publicV6})
+ cert := e.vmCert(0x67, nil)
+ resp, err := e.client(&cert).Get("https://" + testHost + "/api/runner/protocol")
+ if err != nil {
+ t.Fatal(err)
+ }
+ resp.Body.Close()
+ if resp.StatusCode != 200 {
+ t.Errorf("GET with the first address stalled = %d, want 200", resp.StatusCode)
+ }
+}
diff --git a/internal/hostedproxy/origin.go b/internal/hostedproxy/origin.go
index c46e976f..9e8c863f 100644
--- a/internal/hostedproxy/origin.go
+++ b/internal/hostedproxy/origin.go
@@ -167,6 +167,68 @@ func (s *Server) resolveOrigin(ctx context.Context, host string) ([]netip.Addr,
return out, nil
}
+// dialStagger is how long one address gets alone before the next checked
+// address is tried beside it (happy eyeballs, RFC 8305's 250 ms order).
+const dialStagger = 300 * time.Millisecond
+
+// dialStaggered dials the checked addresses on ServicePort, starting the
+// next one when the last attempt fails or every dialStagger, all under
+// ctx; the first connection wins and the rest are cancelled and closed.
+// So an address that silently drops packets costs dialStagger, not the
+// whole budget.
+func dialStaggered(ctx context.Context, dial func(context.Context, string, string) (net.Conn, error),
+ addrs []netip.Addr) (net.Conn, error) {
+ ctx, cancel := context.WithCancel(ctx)
+ defer cancel()
+ type result struct {
+ c net.Conn
+ err error
+ }
+ results := make(chan result, len(addrs))
+ next, pending := 0, 0
+ start := func() {
+ ap := netip.AddrPortFrom(addrs[next], ServicePort).String()
+ next++
+ pending++
+ go func() {
+ c, err := dial(ctx, "tcp", ap)
+ results <- result{c, err}
+ }()
+ }
+ start()
+ timer := time.NewTimer(dialStagger)
+ defer timer.Stop()
+ var lastErr error
+ for pending > 0 {
+ select {
+ case r := <-results:
+ pending--
+ if r.err == nil {
+ // Losers still running end with ctx; close any that won late.
+ go func(n int) {
+ for ; n > 0; n-- {
+ if l := <-results; l.c != nil {
+ l.c.Close()
+ }
+ }
+ }(pending)
+ return r.c, nil
+ }
+ lastErr = r.err
+ if next < len(addrs) {
+ start()
+ timer.Reset(dialStagger)
+ }
+ case <-timer.C:
+ if next < len(addrs) {
+ start()
+ timer.Reset(dialStagger)
+ }
+ }
+ }
+ return nil, lastErr
+}
+
// dialOrigin opens the proxy's own TLS to exactly host on ServicePort. It
// resolves host once (resolveOrigin), dials the checked addresses
// themselves, never the name, so no second lookup can answer otherwise,
@@ -184,13 +246,8 @@ func (s *Server) dialOrigin(ctx context.Context, host string) (net.Conn, error)
d := &net.Dialer{}
dial = d.DialContext
}
- var raw net.Conn
- for _, a := range addrs {
- if raw, err = dial(ctx, "tcp", netip.AddrPortFrom(a, ServicePort).String()); err == nil {
- break
- }
- }
- if raw == nil {
+ raw, err := dialStaggered(ctx, dial, addrs)
+ if err != nil {
return nil, err
}
c := tls.Client(raw, &tls.Config{ServerName: host, RootCAs: s.cfg.OriginRoots, NextProtos: []string{ALPNHTTP11},