oficina / equipo Public

hostedclient: keep server bytes out of transport errors

Review r2 of Task 16. Errors from sending the request or reading the
answer become ErrTransport with the route and step only; Go's text for
a malformed status line, header or trailer quotes the server's bytes
and is dropped. Cancellation and deadlines still match with errors.Is.
Config.HTTP documents that the transport must honour request contexts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 32816eb6cd022782c69ff83ad738d1332d9c44ad parent 8bf4647
3 files changed, +77 −4
  • docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md +19 −0
  • internal/hostedclient/client.go +29 −3
  • internal/hostedclient/client_test.go +29 −1

CI passed — 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-1a: 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 9.1s
ci-box: codex: fetched and verified in 3.3s
ci-box: codex-code-mode-host: fetched and verified in 1.2s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
ci-box: image pulled in 9.8s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: pi: installed and verified in 6.8s
ci-box: opencode: installed and verified in 2.1s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.6s
ci-box: clone deepened in 3.4s
ci-box: file times set from content: 2896 files, 194 directories
ci-box: ready in 21.8s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipotest	0.249s
=== compile ===
go build ./...
go: downloading github.com/aws/aws-sdk-go-v2/config v1.33.21
go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.21.3
go: downloading github.com/aws/aws-sdk-go-v2/service/signin v1.14.0
go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.39.5
go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.20.9
go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.53.0
go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.44.5
go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.5.12
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  1.2s
+ go list -export -test -tags testbuild -f  ./...
  1.3s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  0.3s
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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m21.697s 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 1m20.03s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m20.03s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 35.70, cpu waiting 22.19%, memory waiting 0.00%, io waiting 0.54%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m23.305s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m21.755s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m21.75s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 35.70, cpu waiting 22.19%, memory waiting 0.00%, io waiting 0.54%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m25.284s 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.179s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m12.65s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.74s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.79s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 35.70, cpu waiting 21.15%, memory waiting 0.00%, io waiting 0.51%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m20.11s 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 1m18.45s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.97s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 20.44s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.47s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.57s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 37.07, cpu waiting 22.54%, memory waiting 0.00%, io waiting 0.56%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m38.043s 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 1m36.275s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m0.28s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.3s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.02s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.83s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.84s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 30.03, cpu waiting 17.70%, memory waiting 0.00%, io waiting 0.41%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 3m11.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 3m9.01s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m46.91s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 24.33s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.59s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.16s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.35s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 7.78, cpu waiting 3.72%, memory waiting 0.00%, io waiting 0.08%
--- 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 1.085s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2m1.624s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.84s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.31s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
receipt: slow test 3.81s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.52s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
machine: 32 CPUs, load 0.94, cpu waiting 1.00%, memory waiting 0.00%, io waiting 2.08%
--- 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 1.04s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m26.784s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.08s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.03s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.41s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.4s amadan.net/oficina/equipo/internal/thintest TestContractPreview
receipt: slow test 2.34s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
machine: 32 CPUs, load 5.43, cpu waiting 1.00%, memory waiting 0.00%, io waiting 2.08%
--- 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
cache miss: amadan.net/oficina/equipo/internal/runner/thin: its inputs changed
budget note: internal/runner/thin took 4m29.036s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m41.928s 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 4m29.036s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.99s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.87s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.8s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.47s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.83s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 2.62, cpu waiting 0.82%, memory waiting 0.00%, io waiting 0.01%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 47.113s 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 45.987s amadan.net/oficina/equipo/internal/runner
receipt: slow test 25.96s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 40.64, cpu waiting 21.92%, memory waiting 0.00%, io waiting 0.96%
--- shard 10 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-plans: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 47.704s 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 45.814s amadan.net/oficina/equipo/internal/runner
receipt: slow test 35.95s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 31.32s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.34s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.51s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 40.64, cpu waiting 21.92%, memory waiting 0.00%, io waiting 0.96%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 35.213s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 34.318s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.64s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.11s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.35s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 29.70, cpu waiting 15.57%, memory waiting 0.00%, io waiting 1.18%
--- 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 26.8%, load 22.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
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m4.551s 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 1m2.577s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.54s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 26.5s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 24.47s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.01s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 21.83s amadan.net/oficina/equipo/internal/equipotest TestBudgetLoweringBelowUsage
machine: 32 CPUs, load 32.20, cpu waiting 18.85%, memory waiting 0.00%, io waiting 0.44%
--- 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 26.8%, load 22.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 1.226s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m12.399s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.2s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 19.12s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 19.11s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 19.11s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
receipt: slow test 19.08s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
machine: 32 CPUs, load 29.70, cpu waiting 12.18%, memory waiting 0.00%, io waiting 1.26%
--- 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 26.8%, load 22.10
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
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m15.15s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m3.108s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 13.95s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 12.97s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 9.94s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.88s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.85s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 27.86, cpu waiting 16.08%, memory waiting 0.00%, io waiting 0.37%
--- 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 26.8%, load 22.10
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 497ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m4.231s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.45s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.28s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 23.2s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 21.61s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
receipt: slow test 21.57s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
machine: 32 CPUs, load 22.10, cpu waiting 10.90%, memory waiting 0.00%, io waiting 1.30%
--- 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 26.8%, load 22.10
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 651ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 48.756s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.61s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.41s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.5s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.47s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.21s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 22.10, cpu waiting 12.18%, memory waiting 0.00%, io waiting 1.26%
--- 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 26.8%, load 22.10
test lane rest: ./cmd/equipo ./cmd/equipo-hosted-controller ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/hostedclient ./internal/hostedctl ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./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-hosted-controller ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/hostedclient ./internal/hostedctl ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./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/isolatedjob: 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/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 45.275s, 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/chat took 12.529s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/hostedctl took 14.375s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 39.84s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/release took 34.981s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/runner/containment took 39.704s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m15.823s against a 60s target (the gate's other steps are not in this figure)
receipt: 15 packages ran, 52 cached, 20 without tests, 0 failed
receipt: slow package 53.282s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 51.382s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 45.275s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 39.84s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 39.704s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 21.87s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 15.49s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 13.07s amadan.net/oficina/equipo/internal/hostedctl TestLifecycleSimulation
receipt: slow test 10.89s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 10.82s amadan.net/oficina/equipo/internal/equipo TestAgentReadRechecksIdentity
machine: 32 CPUs, load 11.56, cpu waiting 5.75%, memory waiting 0.00%, io waiting 0.12%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m22.41s 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 1m20.896s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.38s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.96s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.54s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.7s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.98s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 35.70, cpu waiting 21.76%, memory waiting 0.00%, io waiting 0.52%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m33.194s 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 1m31.506s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26.44s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 22.77s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 14.16s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.23s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 8.14s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 32.20, cpu waiting 18.85%, memory waiting 0.00%, io waiting 0.44%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m40.506s 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 1m38.963s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.26s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.24s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 12.97s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.18s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.13s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 27.86, cpu waiting 16.59%, memory waiting 0.00%, io waiting 0.39%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-22T20:07:22.172Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T20:07:22.172Z level=INFO msg="startup phase done" phase=state_lock took=153µs
time=2026-11-22T20:07:22.172Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T20:07:22.172Z level=INFO msg="startup phase done" phase=claim_roots took=123µs
time=2026-11-22T20:07:22.172Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T20:07:22.203Z level=INFO msg="startup phase done" phase=sweep took=31.122ms
time=2026-11-22T20:07:22.203Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T20:07:22.204Z level=INFO msg="startup phase done" phase=credentials took=190µs
time=2026-11-22T20:07:22.204Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T20:07:22.245Z level=INFO msg="startup phase done" phase=open_state took=41.567ms
time=2026-11-22T20:07:22.246Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T20:07:22.248Z level=INFO msg=connecting host=127.0.0.1:37995 protocol=28
time=2026-11-22T20:07:22.248Z level=INFO msg=connected host=127.0.0.1:37995 took=917µs
time=2026-11-22T20:07:22.249Z level=INFO msg="capabilities gathering"
time=2026-11-22T20:07:22.249Z level=INFO msg="capabilities gathered" took=408µs tags=linux,claude,go
time=2026-11-22T20:07:22.249Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T20:07:22.255Z level=INFO msg=welcome protocol=28 role=primary generation=1
    browser_copy_test.go:93: continue did not reach Checks: 0 <nil>
--- FAIL: TestBrowserCopyContinue (1.95s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
rastrillo: budget test: go test failed
time=2026-11-22T20:07:53.638Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T20:07:53.638Z level=INFO msg="startup phase done" phase=state_lock took=73µs
time=2026-11-22T20:07:53.638Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T20:07:53.638Z level=INFO msg="startup phase done" phase=claim_roots took=81µs
time=2026-11-22T20:07:53.638Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T20:07:53.666Z level=INFO msg="startup phase done" phase=sweep took=27.904ms
time=2026-11-22T20:07:53.666Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T20:07:53.666Z level=INFO msg="startup phase done" phase=credentials took=102µs
time=2026-11-22T20:07:53.666Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T20:07:53.705Z level=INFO msg="startup phase done" phase=open_state took=39.11ms
time=2026-11-22T20:07:53.705Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T20:07:53.706Z level=INFO msg=connecting host=127.0.0.1:37191 protocol=28
time=2026-11-22T20:07:53.707Z level=INFO msg=connected host=127.0.0.1:37191 took=755µs
time=2026-11-22T20:07:53.707Z level=INFO msg="capabilities gathering"
time=2026-11-22T20:07:53.708Z level=INFO msg="capabilities gathered" took=421µs tags=linux,claude,go
time=2026-11-22T20:07:53.708Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T20:07:53.712Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T20:07:54.762Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_receipts_test.go:169: waiting for [...document.querySelectorAll('[equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes("I'm your coordinator")): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserEmptyExplore (5.78s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m27.205s
FAIL	amadan.net/oficina/equipo/internal/headless	87.550s


receipt: test step 1m28.721s 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 1m27.205s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.22s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.26s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.51s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 10.36s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 7.96s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserCopyContinue$|^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest 32816eb6cd022782c69ff83ad738d1332d9c44ad 1.95s 33.96
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest 32816eb6cd022782c69ff83ad738d1332d9c44ad 5.78s 33.96
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 30.03, cpu waiting 17.12%, memory waiting 0.00%, io waiting 0.40%
--- 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 986ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 573ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 570ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor)$' ./internal/idtest

receipt: test step 803ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1.673s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.67s 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 179ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1.856s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.86s 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|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 1.125s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 3m20.199s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.52s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.35s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.02s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.55s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 7.93s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 5.43, cpu waiting 1.62%, memory waiting 0.00%, io waiting 2.02%
--- 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   (52s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.41s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.31s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.45s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.86s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.79s
+ 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   (63s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 12.97s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 14.74s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 20.25s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 13.37s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (21s)
ok ./internal/headless TestMixedVersions 19.91s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (1s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.78s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 37.69, cpu waiting 23.04%, memory waiting 0.00%, io waiting 0.74%
--- 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 8.477s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 3 without tests, 0 failed
receipt: slow package 7.177s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 157ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 62ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 3ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.69s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 160ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 80ms 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 3.128s 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.804s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceExitStatus
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryMalformedRecord
machine: 32 CPUs, load 14.15, cpu waiting 4.58%, memory waiting 0.00%, io waiting 1.76%
--- 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 26.8%, load 22.10
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2609 text files, 2854 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 96 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.530s
machine: 32 CPUs, load 39.47, cpu waiting 21.34%, memory waiting 0.00%, io waiting 1.00%
--- 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 26.8%, load 22.10
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 29.70, cpu waiting 14.00%, memory waiting 0.00%, io waiting 1.22%
--- 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 26.8%, load 22.10
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.
This scan also found 0 vulnerabilities in packages you import and 5
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 35.25, cpu waiting 16.86%, memory waiting 0.00%, io waiting 1.14%
--- 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 26.8%, load 22.10
shard 28: make gitleaks
8:07PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
8:07PM INF 1135 commits scanned.
8:07PM INF scanned ~62143976 bytes (62.14 MB) in 14.5s
8:07PM INF no leaks found
machine: 32 CPUs, load 39.47, cpu waiting 20.51%, memory waiting 0.00%, io waiting 1.03%
=== perf ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -require TestPerfScreens,TestPerfBoot -tags perf -count=1 -p 1 -parallel 1 -run '^TestPerf' ./...
perf: GET /: median 1.066ms, worst 1.11ms, budget 150ms
perf: GET /api/runner/protocol: median 91µs, worst 116µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 608µs, worst 642µs, budget 150ms
perf: GET /api/v1/accounts: median 413µs, worst 449µs, budget 150ms
perf: GET /api/v1/auth/devices: median 429µs, worst 473µs, budget 150ms
perf: GET /api/v1/budgets: median 484µs, worst 516µs, budget 150ms
perf: GET /api/v1/capabilities: median 235µs, worst 258µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.156ms, worst 1.259ms, budget 150ms
perf: GET /api/v1/connections: median 622µs, worst 658µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 578µs, worst 621µs, budget 150ms
perf: GET /api/v1/conversation: median 943µs, worst 972µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.555ms, worst 1.591ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.911ms, worst 2.021ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 471µs, worst 503µs, budget 150ms
perf: GET /api/v1/journey: median 7.404ms, worst 7.649ms, budget 150ms
perf: GET /api/v1/me: median 417µs, worst 442µs, budget 150ms
perf: GET /api/v1/me/settings: median 502µs, worst 564µs, budget 150ms
perf: GET /api/v1/needs-you: median 7.163ms, worst 7.315ms, budget 150ms
perf: GET /api/v1/notifications: median 1.631ms, worst 1.72ms, budget 150ms
perf: GET /api/v1/onboarding: median 400µs, worst 422µs, budget 150ms
perf: GET /api/v1/people: median 446µs, worst 475µs, budget 150ms
perf: GET /api/v1/playbooks: median 597µs, worst 672µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 526µs, worst 559µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 838µs, worst 847µs, budget 150ms
perf: GET /api/v1/preferences: median 742µs, worst 776µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 466µs, worst 513µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 676µs, worst 714µs, budget 150ms
perf: GET /api/v1/roster: median 521µs, worst 547µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 498µs, worst 520µs, budget 150ms
perf: GET /api/v1/specialists: median 8.036ms, worst 8.19ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.817ms, worst 7.915ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 862µs, worst 926µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.145ms, worst 1.199ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 733µs, worst 808µs, budget 150ms
perf: GET /api/v1/teams: median 453µs, worst 495µs, budget 150ms
perf: GET /api/v1/templates: median 617µs, worst 660µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 453µs, worst 489µs, budget 150ms
perf: GET /auth/callback: median 77µs, worst 123µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.399ms, worst 3.473ms, budget 150ms
perf: GET /auth/verify: median 92µs, worst 116µs, budget 150ms
perf: GET /connections: median 3.819ms, worst 3.996ms, budget 150ms
perf: GET /conversation: median 7.486ms, worst 7.694ms, budget 150ms
perf: GET /conversation/connections: median 260µs, worst 268µs, budget 150ms
perf: GET /conversation/notebook: median 238µs, worst 259µs, budget 150ms
perf: GET /conversation/settings: median 3.908ms, worst 3.972ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.569ms, worst 3.672ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.82ms, worst 6.866ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.993ms, worst 7.125ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.909ms, worst 4.064ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.532ms, worst 6.582ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.356ms, worst 4.475ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.265ms, worst 4.398ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.292ms, worst 3.345ms, budget 150ms
perf: GET /conversation/settings/thinking: median 3.844ms, worst 3.885ms, budget 150ms
perf: GET /housekeeping: median 3.674ms, worst 3.717ms, budget 150ms
perf: GET /invites/new: median 606µs, worst 623µs, budget 150ms
perf: GET /invites/{id}: median 631µs, worst 648µs, budget 150ms
perf: GET /jobs: median 3.209ms, worst 3.261ms, budget 150ms
perf: GET /jobs/{id}: median 4.235ms, worst 4.402ms, budget 150ms
perf: GET /journey: median 12.197ms, worst 14.666ms, budget 150ms
perf: GET /nav/rail: median 3.287ms, worst 3.401ms, budget 150ms
perf: GET /needs-you: median 11.706ms, worst 12.08ms, budget 150ms
perf: GET /onboarding: median 4.218ms, worst 4.288ms, budget 150ms
perf: GET /people: median 3.534ms, worst 3.637ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.988ms, worst 5.101ms, budget 150ms
perf: GET /playbooks: median 4.549ms, worst 4.667ms, budget 150ms
perf: GET /playbooks/new: median 4.639ms, worst 4.798ms, budget 150ms
perf: GET /playbooks/{id}: median 4.343ms, worst 4.467ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.449ms, worst 4.57ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 3.818ms, worst 6.271ms, budget 150ms
perf: GET /preferences: median 4.328ms, worst 4.353ms, budget 150ms
perf: GET /preferences/sources/{source}: median 3.947ms, worst 4.08ms, budget 150ms
perf: GET /projects: median 5.155ms, worst 5.243ms, budget 150ms
perf: GET /projects/accounts: median 3.491ms, worst 3.621ms, budget 150ms
perf: GET /projects/new: median 3.464ms, worst 3.661ms, budget 150ms
perf: GET /projects/{id}: median 10.225ms, worst 10.366ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.651ms, worst 3.73ms, budget 150ms
perf: GET /runners/enrol: median 4.292ms, worst 4.347ms, budget 150ms
perf: GET /settings: median 3.285ms, worst 3.389ms, budget 150ms
perf: GET /settings/coordinator: median 5.485ms, worst 8.848ms, budget 150ms
perf: GET /settings/devices: median 3.309ms, worst 3.596ms, budget 150ms
perf: GET /settings/recovery: median 3.427ms, worst 3.49ms, budget 150ms
perf: GET /settings/recovery/release: median 3.346ms, worst 3.454ms, budget 150ms
perf: GET /settings/thinking: median 243µs, worst 261µs, budget 150ms
perf: GET /signin: median 317µs, worst 360µs, budget 150ms
perf: GET /specialists/new: median 3.283ms, worst 3.414ms, budget 150ms
perf: GET /specialists/{key}: median 10.603ms, worst 10.909ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.548ms, worst 3.564ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 3.64ms, worst 3.679ms, budget 150ms
perf: GET /tasks: median 5.083ms, worst 5.237ms, budget 150ms
perf: GET /tasks/new: median 3.184ms, worst 3.276ms, budget 150ms
perf: GET /tasks/{id}: median 5.54ms, worst 8.273ms, budget 150ms
perf: GET /tasks/{id}/merge: median 4.821ms, worst 5.115ms, budget 150ms
perf: GET /tasks/{id}/move: median 4.592ms, worst 4.682ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.567ms, worst 5.656ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.511ms, worst 1.585ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.122ms, worst 5.269ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.628ms, worst 4.755ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.188ms, worst 4.332ms, budget 150ms
perf: GET /tasks/{id}/thread: median 7.753ms, worst 8.151ms, budget 150ms
perf: GET /team/{specialist}: median 4.219ms, worst 4.308ms, budget 150ms
perf: GET /teams: median 10.207ms, worst 12.849ms, budget 150ms
perf: GET /templates: median 3.402ms, worst 3.498ms, budget 150ms
perf: GET /usage: median 4.237ms, worst 4.299ms, budget 150ms
perf: GET /work: median 2.992ms, worst 3.102ms, budget 150ms
perf: cold boot: median 264ms of [263.900488ms 264.210602ms 264.776804ms], budget 500ms

receipt: test step 31.489s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 92 without tests, 0 failed
receipt: slow package 8.888s amadan.net/oficina/equipo/internal/equipotest
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-hosted-controller
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-tool-proxy
receipt: slow package 0s amadan.net/oficina/equipo/internal/advice
receipt: slow test 8.04s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 850ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 4.25 GiB in 25308 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.91 GiB in 33199 files
ci-box: build cache over 4.0 GiB: dropped 1.56 GiB this job did not read, kept 2.69 GiB
diff --git a/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md b/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
index 7f918fd5..e4caa414 100644
--- a/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
+++ b/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
@@ -881,3 +881,22 @@ followed. No edit to hostedctl; the test builds the handler from hostedctl's pub
| Skip response verification (rerun) | `... -run '^TestClientRefusesUnsignedResponse$' ...` | `client_test.go:274: unsigned: Get = {AttemptID:a1 ... VMRef:vm-1 ...}, <nil>; want nothing and ErrUnverified` | yes, passes |
The round 0 rows above give line numbers from before this round.
+
+### Task 16 fix round 2 (review r2)
+
+- Transport and body-read errors go through `transportError`: `ErrTransport` plus the route and
+ step ("sending" or "reading the body"). `context.Canceled` and `context.DeadlineExceeded` stay
+ matchable with errors.Is, and a `net.Error` timeout keeps the fixed words "network timeout". The
+ original error's text, which can quote server bytes, is dropped. `Config.HTTP` now documents that
+ the transport must honour request contexts (Request.Cancel or CancelRequest-only transports are
+ not supported).
+- `TestTransportErrorsHoldNoServerBytes`: a TLS server hijacks the connection and sends a malformed
+ status line, a header with no colon, or a chunked body with a malformed trailer. Each gives
+ ErrTransport, not ErrUnverified, and none of the sent bytes.
+- `go test ./internal/hostedclient -count=1` ok 0.95 s (11 tests); gofmt, vet, staticcheck v0.7.0
+ clean; dead-reference scan 0 failures.
+
+| Mutation | Command | Observed failure | Restored |
+| --- | --- | --- | --- |
+| Wrap the raw error again (`%w` of err in `transportError`) | `go test ./internal/hostedclient -run '^TestTransportErrorsHoldNoServerBytes$' -count=1` | `client_test.go:365: malformed status: error "... get: sending: net/http: HTTP/1.x transport connection broken: malformed HTTP status code \"EVIL\"" holds bytes the server sent`, the same for the header (`missing colon: \"EVIL-HEADER-NO-COLON\"`) and the trailer (`reading the body: malformed MIME header: missing colon: \"EVIL-TRAILER\"`) | yes, passes |
+| Deadline classification dropped | `go test ./internal/hostedclient -run '^TestClientHonoursTimeoutAndCancel$' -count=1` | `client_test.go:387: Get past the HTTP timeout = hostedclient: the exchange with the controller failed: get: sending: network timeout after 100.7ms, want context.DeadlineExceeded within 2 s` | yes, passes |
diff --git a/internal/hostedclient/client.go b/internal/hostedclient/client.go
index 9f4fe7d8..392eced9 100644
--- a/internal/hostedclient/client.go
+++ b/internal/hostedclient/client.go
@@ -16,6 +16,7 @@ import (
"errors"
"fmt"
"io"
+ "net"
"net/http"
"net/url"
"os"
@@ -36,6 +37,10 @@ var (
// the controller's own unsigned refusals (a request it could not verify)
// land here too.
ErrUnverified = errors.New("hostedclient: the response could not be verified")
+ // ErrTransport: sending the request or reading the answer failed. Its
+ // text never holds anything the server sent; errors.Is still matches
+ // context.Canceled and context.DeadlineExceeded when those caused it.
+ ErrTransport = errors.New("hostedclient: the exchange with the controller failed")
// ErrBadResponse: a signed success whose body is not the route's strict
// JSON or does not answer the request (another attempt, generation, or a
// stop proof that does not prove a stop).
@@ -139,7 +144,9 @@ type Config struct {
// through HTTP.Transport (http.DefaultTransport when nil) itself, not
// through HTTP.Do, so no redirect is ever followed or even parsed before
// the response is verified; Jar and CheckRedirect are not used. Timeout,
- // when set, bounds each whole call, reading the body included.
+ // when set, bounds each whole call, reading the body included. The
+ // transport must honour request contexts; one that stops only through
+ // Request.Cancel or CancelRequest is not supported.
HTTP *http.Client
}
@@ -368,12 +375,12 @@ func (c *Client) call(ctx context.Context, op, method, path string, body, out an
// client never goes through http.Client.Do.
resp, err := c.rt.RoundTrip(req)
if err != nil {
- return fmt.Errorf("hostedclient: %s: %w", op, err)
+ return transportError(op, "sending", err)
}
defer resp.Body.Close()
got, err := io.ReadAll(io.LimitReader(resp.Body, hostedwire.MaxBody+1))
if err != nil {
- return fmt.Errorf("%w: %s: reading the body: %w", ErrUnverified, op, err)
+ return transportError(op, "reading the body", err)
}
if err := hostedwire.VerifyResponse(resp, got, nonce, c.ctl); err != nil {
return fmt.Errorf("%w: %s: %w", ErrUnverified, op, err)
@@ -387,6 +394,25 @@ func (c *Client) call(ctx context.Context, op, method, path string, body, out an
return refusal(op, resp.StatusCode, got)
}
+// transportError replaces an error from sending or reading with a fixed
+// one: its text may quote bytes the server sent (a malformed status line,
+// header or trailer), and nothing of an unverified answer may reach the
+// caller. Cancellation and deadlines stay recognisable with errors.Is; a
+// network timeout keeps that one fixed word; anything else is ErrTransport
+// alone.
+func transportError(op, step string, err error) error {
+ var ne net.Error
+ switch {
+ case errors.Is(err, context.Canceled):
+ return fmt.Errorf("%w: %s: %s: %w", ErrTransport, op, step, context.Canceled)
+ case errors.Is(err, context.DeadlineExceeded):
+ return fmt.Errorf("%w: %s: %s: %w", ErrTransport, op, step, context.DeadlineExceeded)
+ case errors.As(err, &ne) && ne.Timeout():
+ return fmt.Errorf("%w: %s: %s: network timeout", ErrTransport, op, step)
+ }
+ return fmt.Errorf("%w: %s: %s", ErrTransport, op, step)
+}
+
// refusal turns a verified non-200 answer into an *APIError.
func refusal(op string, status int, body []byte) error {
e := &APIError{Op: op, Status: status, Kind: ErrUnexpected}
diff --git a/internal/hostedclient/client_test.go b/internal/hostedclient/client_test.go
index 5387dd6c..fce4fa43 100644
--- a/internal/hostedclient/client_test.go
+++ b/internal/hostedclient/client_test.go
@@ -339,7 +339,35 @@ func TestClientRefusesUnsignedResponse(t *testing.T) {
}
}
-// TestClientHonoursTimeoutAndCancel: the HTTP client's Timeout and the
+// TestTransportErrorsHoldNoServerBytes: a server that answers with bytes Go
+// cannot parse (status line, header, chunked trailer) gives ErrTransport,
+// and nothing it sent appears in the error.
+func TestTransportErrorsHoldNoServerBytes(t *testing.T) {
+ for name, raw := range map[string]string{
+ "malformed status": "HTTP/1.1 EVIL\r\n\r\n",
+ "malformed header": "HTTP/1.1 200 OK\r\nEVIL-HEADER-NO-COLON\r\nContent-Length: 0\r\n\r\n",
+ "malformed trailer": "HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\n\r\n5\r\nhello\r\n0\r\nEVIL-TRAILER\r\n\r\n",
+ } {
+ srv := serveTLS(t, http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
+ conn, buf, err := http.NewResponseController(w).Hijack()
+ if err != nil {
+ t.Errorf("hijack: %v", err)
+ return
+ }
+ defer conn.Close()
+ _, _ = buf.WriteString(raw)
+ _ = buf.Flush()
+ }))
+ _, err := newClient(t, srv, keyInst, ctlPublic()).Get(context.Background(), "a1")
+ if !errors.Is(err, ErrTransport) || errors.Is(err, ErrUnverified) {
+ t.Errorf("%s: Get = %v, want ErrTransport", name, err)
+ } else if msg := err.Error(); strings.Contains(msg, "EVIL") || strings.Contains(msg, "hello") {
+ t.Errorf("%s: error %q holds bytes the server sent", name, msg)
+ }
+ }
+}
+
+// TestClientHonoursTimeoutAndCancel:the HTTP client's Timeout and the
// caller's context both bound a call to a controller that never answers.
func TestClientHonoursTimeoutAndCancel(t *testing.T) {
srv := serveTLS(t, http.HandlerFunc(func(_ http.ResponseWriter, r *http.Request) {