oficina / equipo Public

hostedctl: retry pending deadline stops before replay

Residual B2-1 (re-review): the early deadline step skipped jobs with a
stop already requested, so a stop whose provider call failed waited for
Refresh, behind Replay. reapOverdue now sends the provider stop again
for every overdue job with a pending stop, whatever its reason, keeping
the recorded reason and request time; jobs with no request still get
reapJob's deadline stop. The regression adds a throttled user stop.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev ab9e96bf7f5a8420568753276052f34825f29530 parent f2c8918
4 files changed, +100 −41
  • .rastrillo/budgets.txt +1 −1
  • docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md +17 −0
  • internal/hostedctl/reaper.go +35 −8
  • internal/hostedctl/reaper_test.go +47 −32

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   86G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   86G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 2.0s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.9s
ci-box: pi: installed and verified in 7.6s
ci-box: opencode: installed and verified in 2.2s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.8s
ci-box: clone deepened in 3.7s
ci-box: file times set from content: 2897 files, 194 directories
ci-box: ready in 17.3s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipotest	0.249s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  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 1m22.982s 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.366s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m21.36s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 45.03, cpu waiting 28.46%, memory waiting 0.00%, io waiting 0.65%
--- 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 1m26.691s 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.927s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m24.93s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 43.35, cpu waiting 27.72%, memory waiting 0.00%, io waiting 0.60%
--- 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 1m27.547s 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 1m25.39s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m14.49s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.96s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.94s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 43.35, cpu waiting 27.37%, memory waiting 0.00%, io waiting 0.58%
--- 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 1m22.073s 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.33s amadan.net/oficina/equipo/internal/headless
receipt: slow test 39.22s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 20.94s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.7s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.47s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 45.03, cpu waiting 28.46%, memory waiting 0.00%, io waiting 0.65%
--- 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 1m40.119s 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.356s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m2.1s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.29s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.1s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.93s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.94s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 39.81, cpu waiting 22.97%, memory waiting 0.00%, io waiting 0.48%
--- 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 3m13.297s 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 3m11.21s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m48.09s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 24.38s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.66s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.21s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.37s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 10.09, cpu waiting 4.99%, memory waiting 0.00%, io waiting 0.09%
--- shard 6 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 1.072s 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.81, cpu waiting 0.19%, memory waiting 0.00%, io waiting 2.57%
--- 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.193s 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 6.27, cpu waiting 0.19%, memory waiting 0.00%, io waiting 2.57%
--- 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 4m32.263s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m45.505s 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 4m32.263s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.98s 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.79s 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.93s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 2.60, cpu waiting 1.07%, 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.654s 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 46.444s amadan.net/oficina/equipo/internal/runner
receipt: slow test 26.41s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 40.64, cpu waiting 23.11%, memory waiting 0.00%, io waiting 1.19%
--- 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 51.08s 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.16s amadan.net/oficina/equipo/internal/runner
receipt: slow test 39.15s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 34.19s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.39s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 44.43, cpu waiting 25.72%, memory waiting 0.00%, io waiting 1.11%
--- 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.168s 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.248s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.42s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.11s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.39s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 27.64, cpu waiting 14.88%, memory waiting 0.00%, io waiting 1.45%
--- 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 28.0%, load 24.56
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 1m5.294s 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.326s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.82s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 26.79s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 24.82s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.4s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.14s amadan.net/oficina/equipo/internal/equipotest TestAuthProductionConfig
machine: 32 CPUs, load 41.80, cpu waiting 25.27%, memory waiting 0.00%, io waiting 0.53%
--- 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 27.8%, load 24.56
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.392s 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 27.64, cpu waiting 11.53%, memory waiting 0.00%, io waiting 1.56%
--- 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 27.8%, load 24.56
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 1m16.857s 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 1m4.626s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.48s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 12.91s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 9.83s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.78s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.76s amadan.net/oficina/equipo/internal/equipotest TestRosterProtectsLastOwner
machine: 32 CPUs, load 34.31, cpu waiting 20.78%, memory waiting 0.00%, io waiting 0.43%
--- 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 27.8%, load 24.56
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
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m6.5s 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 1m4.903s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.52s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.66s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.64s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 22.02s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
receipt: slow test 21.99s amadan.net/oficina/equipo/internal/equipotest TestSigninBackgroundSweep
machine: 32 CPUs, load 39.81, cpu waiting 24.51%, memory waiting 0.00%, io waiting 0.51%
--- 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 27.8%, load 24.56
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 558ms 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 24.56, cpu waiting 11.53%, memory waiting 0.00%, io waiting 1.56%
--- 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 28.0%, load 24.56
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/isolatedjob: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/cmd/equipo-runner: 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/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/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: 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
--- FAIL amadan.net/oficina/equipo/internal/runner/provider/claude TestClaudeCaptureSequence
=== RUN   TestClaudeCaptureSequence
    launcher_test.go:806: claude_turn_uncertain
--- FAIL: TestClaudeCaptureSequence (0.27s)

--- FAIL amadan.net/oficina/equipo/internal/runner/provider/claude (package output)
FAIL
rastrillo-budget/v1 ran 21.37s
FAIL	amadan.net/oficina/equipo/internal/runner/provider/claude	22.048s

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 19.298s, 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 43.379s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m21.657s against a 60s target (the gate's other steps are not in this figure)
receipt: 18 packages ran, 48 cached, 20 without tests, 1 failed
receipt: slow package 1m0.338s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 51.727s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 45.275s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 44.25s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 43.379s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 32.06s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 23.49s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 17.57s amadan.net/oficina/equipo/internal/hostedctl TestLifecycleSimulation
receipt: slow test 16.83s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 10.89s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestClaudeCaptureSequence$' -count=1 ./internal/runner/provider/claude   (retry, once)
##############################################################################
FLAKE ./internal/runner/provider/claude:TestClaudeCaptureSequence rest ab9e96bf7f5a8420568753276052f34825f29530 0.27s 13.60
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 13.60, cpu waiting 6.97%, memory waiting 0.00%, io waiting 0.14%
--- 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 1m24.052s 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.566s amadan.net/oficina/equipo/internal/headless
receipt: slow test 38.2s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.19s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.66s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.82s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.37s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 45.03, cpu waiting 28.12%, memory waiting 0.00%, io waiting 0.63%
--- 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 1m35.807s 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 1m34.042s amadan.net/oficina/equipo/internal/headless
receipt: slow test 27.64s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 23.63s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 14.13s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.48s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 8.28s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 39.81, cpu waiting 24.51%, memory waiting 0.00%, io waiting 0.51%
--- 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 1m42.724s 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.974s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.87s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.43s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 12.99s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.48s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.16s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 36.94, cpu waiting 22.21%, memory waiting 0.00%, io waiting 0.46%
--- 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 TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-22T20:45:23.580Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T20:45:23.580Z level=INFO msg="startup phase done" phase=state_lock took=64µs
time=2026-11-22T20:45:23.580Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T20:45:23.580Z level=INFO msg="startup phase done" phase=claim_roots took=93µs
rastrillo: budget test: go test failed
time=2026-11-22T20:45:23.580Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T20:45:23.609Z level=INFO msg="startup phase done" phase=sweep took=28.778ms
time=2026-11-22T20:45:23.609Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T20:45:23.609Z level=INFO msg="startup phase done" phase=credentials took=101µs
time=2026-11-22T20:45:23.609Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T20:45:23.653Z level=INFO msg="startup phase done" phase=open_state took=44.155ms
time=2026-11-22T20:45:23.654Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T20:45:23.655Z level=INFO msg=connecting host=127.0.0.1:34483 protocol=28
time=2026-11-22T20:45:23.656Z level=INFO msg=connected host=127.0.0.1:34483 took=1.06ms
time=2026-11-22T20:45:23.656Z level=INFO msg="capabilities gathering"
time=2026-11-22T20:45:23.658Z level=INFO msg="capabilities gathered" took=1.347ms tags=linux,claude,go
time=2026-11-22T20:45:23.658Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T20:45:23.663Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T20:45:24.684Z 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.83s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m29.606s
FAIL	amadan.net/oficina/equipo/internal/headless	89.883s


receipt: test step 1m30.977s 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 1m29.606s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.27s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.56s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.08s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.63s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.94s 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 '^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest ab9e96bf7f5a8420568753276052f34825f29530 5.83s 41.80
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 36.94, cpu waiting 22.21%, memory waiting 0.00%, io waiting 0.46%
--- 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 1.19s 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 851ms 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 203ms 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.141s 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 6.27, cpu waiting 2.03%, memory waiting 0.00%, io waiting 2.40%
--- shard 23 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 23: make test-quarantine
python3 scripts/ci-test.py quarantine
quarantine: 12 tests from scripts/ci-quarantine.txt; a failure is retried once, and a pass on the retry is reported as a flake
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^A5_cancel_and_sign_out$|^TestHeadlessConnections$/^C4_claude_sign_in$|^TestHeadlessConnections$/^C5_engineering_failover$|^TestHeadlessConnections$/^C5_engineering_to_codex$|^TestHeadlessConnections$/^C5_engineering_waits$' ./internal/headless   (54s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.24s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.38s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.57s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.99s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 26.03s
+ 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   (58s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 15.52s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 13.04s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 11.56s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 15.59s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (22s)
ok ./internal/headless TestMixedVersions 20.27s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (1s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.76s
+ 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 44.80, cpu waiting 27.42%, memory waiting 0.00%, io waiting 0.97%
--- 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.416s 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.204s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 176ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 105ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 4ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.08s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.7s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 300ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
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.228s 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.923s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 200ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicy
machine: 32 CPUs, load 16.18, cpu waiting 5.06%, memory waiting 0.00%, io waiting 2.10%
--- 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 28.0%, load 24.56
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2610 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.543s
machine: 32 CPUs, load 40.64, cpu waiting 24.25%, memory waiting 0.00%, io waiting 1.15%
--- 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 27.8%, load 24.56
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 27.64, cpu waiting 14.88%, memory waiting 0.00%, io waiting 1.45%
--- 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 28.0%, load 24.56
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 34.48, cpu waiting 17.72%, memory waiting 0.00%, io waiting 1.36%
--- 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 27.8%, load 24.56
shard 28: make gitleaks
8:44PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
8:44PM INF 1143 commits scanned.
8:44PM INF scanned ~62200098 bytes (62.20 MB) in 15.8s
8:44PM INF no leaks found
machine: 32 CPUs, load 36.60, cpu waiting 21.96%, memory waiting 0.00%, io waiting 1.23%
=== 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.095ms, worst 1.199ms, budget 150ms
perf: GET /api/runner/protocol: median 75µs, worst 91µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 570µs, worst 599µs, budget 150ms
perf: GET /api/v1/accounts: median 410µs, worst 454µs, budget 150ms
perf: GET /api/v1/auth/devices: median 444µs, worst 467µs, budget 150ms
perf: GET /api/v1/budgets: median 486µs, worst 555µs, budget 150ms
perf: GET /api/v1/capabilities: median 245µs, worst 277µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.174ms, worst 1.25ms, budget 150ms
perf: GET /api/v1/connections: median 643µs, worst 689µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 592µs, worst 622µs, budget 150ms
perf: GET /api/v1/conversation: median 1.023ms, worst 1.076ms, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.646ms, worst 1.793ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.929ms, worst 2.026ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 452µs, worst 482µs, budget 150ms
perf: GET /api/v1/journey: median 7.629ms, worst 7.89ms, budget 150ms
perf: GET /api/v1/me: median 428µs, worst 455µs, budget 150ms
perf: GET /api/v1/me/settings: median 525µs, worst 598µs, budget 150ms
perf: GET /api/v1/needs-you: median 7.344ms, worst 7.528ms, budget 150ms
perf: GET /api/v1/notifications: median 1.671ms, worst 1.75ms, budget 150ms
perf: GET /api/v1/onboarding: median 406µs, worst 423µs, budget 150ms
perf: GET /api/v1/people: median 456µs, worst 471µs, budget 150ms
perf: GET /api/v1/playbooks: median 585µs, worst 600µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 561µs, worst 586µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 855µs, worst 895µs, budget 150ms
perf: GET /api/v1/preferences: median 748µs, worst 834µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 469µs, worst 515µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 600µs, worst 657µs, budget 150ms
perf: GET /api/v1/roster: median 470µs, worst 512µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 422µs, worst 443µs, budget 150ms
perf: GET /api/v1/specialists: median 8.283ms, worst 8.384ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 8.113ms, worst 8.207ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 898µs, worst 944µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.188ms, worst 1.25ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 764µs, worst 798µs, budget 150ms
perf: GET /api/v1/teams: median 469µs, worst 492µs, budget 150ms
perf: GET /api/v1/templates: median 642µs, worst 674µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 481µs, worst 558µs, budget 150ms
perf: GET /auth/callback: median 91µs, worst 127µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.517ms, worst 5.302ms, budget 150ms
perf: GET /auth/verify: median 83µs, worst 112µs, budget 150ms
perf: GET /connections: median 3.725ms, worst 3.925ms, budget 150ms
perf: GET /conversation: median 7.424ms, worst 7.733ms, budget 150ms
perf: GET /conversation/connections: median 253µs, worst 287µs, budget 150ms
perf: GET /conversation/notebook: median 240µs, worst 274µs, budget 150ms
perf: GET /conversation/settings: median 3.84ms, worst 3.889ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.647ms, worst 3.773ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.207ms, worst 6.359ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.405ms, worst 6.555ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.572ms, worst 5.136ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.299ms, worst 4.637ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.605ms, worst 4.668ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.526ms, worst 4.626ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.449ms, worst 3.536ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.015ms, worst 4.167ms, budget 150ms
perf: GET /housekeeping: median 3.776ms, worst 3.807ms, budget 150ms
perf: GET /invites/new: median 584µs, worst 629µs, budget 150ms
perf: GET /invites/{id}: median 628µs, worst 661µs, budget 150ms
perf: GET /jobs: median 3.362ms, worst 3.439ms, budget 150ms
perf: GET /jobs/{id}: median 4.565ms, worst 4.652ms, budget 150ms
perf: GET /journey: median 12.954ms, worst 15.356ms, budget 150ms
perf: GET /nav/rail: median 3.307ms, worst 3.371ms, budget 150ms
perf: GET /needs-you: median 12.072ms, worst 12.664ms, budget 150ms
perf: GET /onboarding: median 4.429ms, worst 4.744ms, budget 150ms
perf: GET /people: median 3.65ms, worst 3.717ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 5.177ms, worst 5.24ms, budget 150ms
perf: GET /playbooks: median 4.715ms, worst 4.87ms, budget 150ms
perf: GET /playbooks/new: median 4.864ms, worst 4.975ms, budget 150ms
perf: GET /playbooks/{id}: median 4.558ms, worst 4.674ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.694ms, worst 7.136ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 3.856ms, worst 3.987ms, budget 150ms
perf: GET /preferences: median 4.287ms, worst 4.491ms, budget 150ms
perf: GET /preferences/sources/{source}: median 3.997ms, worst 4.193ms, budget 150ms
perf: GET /projects: median 5.271ms, worst 5.405ms, budget 150ms
perf: GET /projects/accounts: median 3.591ms, worst 3.692ms, budget 150ms
perf: GET /projects/new: median 3.586ms, worst 3.661ms, budget 150ms
perf: GET /projects/{id}: median 10.383ms, worst 10.477ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.682ms, worst 3.734ms, budget 150ms
perf: GET /runners/enrol: median 4.402ms, worst 4.517ms, budget 150ms
perf: GET /settings: median 3.548ms, worst 6.823ms, budget 150ms
perf: GET /settings/coordinator: median 5.671ms, worst 6.039ms, budget 150ms
perf: GET /settings/devices: median 3.358ms, worst 3.446ms, budget 150ms
perf: GET /settings/recovery: median 3.475ms, worst 3.757ms, budget 150ms
perf: GET /settings/recovery/release: median 3.528ms, worst 3.566ms, budget 150ms
perf: GET /settings/thinking: median 251µs, worst 282µs, budget 150ms
perf: GET /signin: median 312µs, worst 348µs, budget 150ms
perf: GET /specialists/new: median 3.385ms, worst 3.468ms, budget 150ms
perf: GET /specialists/{key}: median 10.965ms, worst 11.217ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.573ms, worst 3.733ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 3.734ms, worst 3.879ms, budget 150ms
perf: GET /tasks: median 5.273ms, worst 5.402ms, budget 150ms
perf: GET /tasks/new: median 3.392ms, worst 5.494ms, budget 150ms
perf: GET /tasks/{id}: median 5.793ms, worst 6.02ms, budget 150ms
perf: GET /tasks/{id}/merge: median 4.933ms, worst 5.047ms, budget 150ms
perf: GET /tasks/{id}/move: median 4.811ms, worst 4.889ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.882ms, worst 5.957ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.58ms, worst 1.648ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.306ms, worst 5.378ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.813ms, worst 4.891ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.327ms, worst 4.444ms, budget 150ms
perf: GET /tasks/{id}/thread: median 8.045ms, worst 8.213ms, budget 150ms
perf: GET /team/{specialist}: median 4.518ms, worst 7.384ms, budget 150ms
perf: GET /teams: median 10.182ms, worst 10.727ms, budget 150ms
perf: GET /templates: median 3.445ms, worst 3.515ms, budget 150ms
perf: GET /usage: median 4.155ms, worst 4.268ms, budget 150ms
perf: GET /work: median 3.023ms, worst 3.118ms, budget 150ms
perf: cold boot: median 266ms of [261.613021ms 265.891279ms 265.933129ms], budget 500ms

receipt: test step 32.478s 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.975s 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.13s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 840ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 3.27 GiB in 24255 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.91 GiB in 33199 files
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index 999e263a..ef1ee52d 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -76,4 +76,4 @@ size internal/thintest - 33399 Fable follow-up gates, preview isolation and prov
perf GET /api/v1/projects/{id}/merge-policy skip Merge authority person API: bearer-only JSON for devices; the browser reads the policy on /projects/{id}.
perf GET /api/v1/usage skip Thin v1 person API: bearer-only JSON for devices; the browser reads usage through /usage.
perf GET /api/v1/advice skip Thin v1 person API: bearer-only JSON for devices; the browser reads advice through /usage and /conversation.
-size internal/hostedctl 5153 8251 Hosted controller core plus its lifecycle simulation; split planned for slice 1b; measured 5153/8251 source/test lines after the final fix wave.
+size internal/hostedctl 5180 8266 Hosted controller core plus its lifecycle simulation; split planned for slice 1b; measured 5180/8266 source/test lines after the final fix wave.
diff --git a/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md b/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
index 383a7df3..35d920b9 100644
--- a/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
+++ b/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
@@ -996,3 +996,20 @@ Findings from the final whole-branch review (final-A, B1, B2, C), fixed under ru
- `EQUIPO_SIM_SEEDS=2000 go test ./internal/hostedctl -run TestLifecycleSimulation -count=1`: PASS in
30.5 s; no invariant loosened (I5's model was tightened for B2-4).
- `make build vet`, `TestProviderTypesStayInAdapter`, `python3 scripts/ci-test.py check`: clean.
+
+### Residual B2-1 (re-review): pending stops retried before replay
+
+- `reapOverdue` now selects every Ref'd, unproven job at or past its stop time. A job with a stop
+ request, whatever its reason, gets the provider stop again (`resendPendingStop`, under the attempt
+ lock, through `resendStop` with the recorded reason; `stop_requested_t` and `stop_reason` are not
+ written); one without gets `reapJob` as before.
+- `TestDeadlineStopBeforeSlowReplay` gains a case: a user stop ("done") whose provider call was
+ throttled, then a pass with the replay's launch held; the retry has been sent when the launch is
+ entered, with the reason and request time unchanged.
+- Budget record updated to the new measure, 5180/8266 source/test lines.
+- Runs: the test, `go test ./internal/hostedctl -count=1` (ok 7.1 s), `EQUIPO_SIM_SEEDS=1000` (PASS,
+ 14.1 s), `make budget` (all within budget).
+
+| Mutation | Command | Observed failure | Restored |
+| --- | --- | --- | --- |
+| Early step skips pending stops again (`pending = false && ...`) | `go test ./internal/hostedctl -run 'TestDeadlineStopBeforeSlowReplay$' -count=1` | `reaper_test.go:405: pending true: provider stops while the replay's launch call hung = [vm-0001], want [vm-0001 vm-0001]` | yes, passes |
diff --git a/internal/hostedctl/reaper.go b/internal/hostedctl/reaper.go
index 500959c3..acbebe56 100644
--- a/internal/hostedctl/reaper.go
+++ b/internal/hostedctl/reaper.go
@@ -285,18 +285,20 @@ func (c *Controller) replayCounted(ctx context.Context) (int, error) {
return n, errors.Join(rerr, err)
}
-// reapOverdue is step 1b (ruling R26): every job with a saved Ref, no proof
-// and no stop request whose stop time has come gets its deadline stop
-// (reapJob) before Replay, so launch calls, each up to
-// ProviderLaunchTimeout, never delay it. Re-basing after a restart only
-// moves stop times earlier, so this never stops a job early; step 4 finds
-// the stop already asked for.
+// reapOverdue is step 1b (ruling R26): every job with a saved Ref and no
+// proof whose stop time has come is stopped before Replay, so launch calls,
+// each up to ProviderLaunchTimeout, never delay it. With no stop request it
+// gets its deadline stop (reapJob). With one, whatever its reason, the
+// provider stop is sent again (resendStop), its recorded reason and request
+// time unchanged, so a stop whose provider call failed is retried here too.
+// Re-basing after a restart only moves stop times earlier, so this never
+// stops a job early; step 4 and Refresh repeat idempotently.
func (c *Controller) reapOverdue(ctx context.Context, rep *ReapReport) error {
var ids []string
err := c.store.Tx(ctx, func(tx *sql.Tx) error {
var err error
ids, err = textColumn(ctx, tx, `SELECT attempt_id FROM jobs WHERE vm_ref IS NOT NULL AND stop_proof_json IS NULL
- AND stop_requested_t IS NULL AND stop_t <= ? ORDER BY launched_t, attempt_id`, int64(c.store.Clock().Now()))
+ AND stop_t <= ? ORDER BY launched_t, attempt_id`, int64(c.store.Clock().Now()))
return err
})
if err != nil {
@@ -307,12 +309,37 @@ func (c *Controller) reapOverdue(ctx context.Context, rep *ReapReport) error {
if err := ctx.Err(); err != nil {
return errors.Join(append(errs, err)...)
}
- _, err := c.reapJob(ctx, id, rep)
+ pending, err := c.resendPendingStop(ctx, id)
+ if err == nil && !pending {
+ _, err = c.reapJob(ctx, id, rep)
+ }
errs = append(errs, err)
}
return errors.Join(errs...)
}
+// resendPendingStop sends the provider stop again, under the attempt's
+// lock, for a job with a saved Ref, a stop request and no proof, with the
+// recorded reason. pending is false, and nothing is sent, for any other job.
+func (c *Controller) resendPendingStop(ctx context.Context, attempt string) (pending bool, err error) {
+ defer c.lockAttempt(attempt)()
+ var j jobRow
+ var reason sql.NullString
+ err = c.store.Tx(ctx, func(tx *sql.Tx) error {
+ var found bool
+ var err error
+ if j, found, err = loadJob(ctx, tx, attempt); err != nil || !found {
+ return err
+ }
+ pending = j.ref.Valid && j.stopRequested.Valid && !j.stopProof.Valid
+ return tx.QueryRowContext(ctx, `SELECT stop_reason FROM jobs WHERE attempt_id = ?`, attempt).Scan(&reason)
+ })
+ if err != nil || !pending {
+ return pending, err
+ }
+ return true, c.resendStop(ctx, j, isolatedjob.Ref(j.ref.String), reason.String)
+}
+
// reapJobs is step 4: every job with a saved Ref and no proof, in launch
// order. It reads no List, so an incomplete one never holds up a deadline.
func (c *Controller) reapJobs(ctx context.Context, rep *ReapReport) error {
diff --git a/internal/hostedctl/reaper_test.go b/internal/hostedctl/reaper_test.go
index 421442ed..6c4df76f 100644
--- a/internal/hostedctl/reaper_test.go
+++ b/internal/hostedctl/reaper_test.go
@@ -360,40 +360,55 @@ func TestDeadlineEnforcedDuringIncompleteLists(t *testing.T) {
}
// TestDeadlineStopBeforeSlowReplay: a pass that finds a job past its stop
-// time sends its deadline stop before replaying intents, so a launch call
-// that hangs (up to ProviderLaunchTimeout each) never delays it (R26).
+// time sends its stop before replaying intents, so a launch call that hangs
+// (up to ProviderLaunchTimeout each) never delays it (R26): a deadline stop
+// for a job with no stop request, and, for a stop already requested whose
+// provider call failed, the call again with its reason and request kept.
func TestDeadlineStopBeforeSlowReplay(t *testing.T) {
t.Parallel()
- e := newLaunchEnv(t)
- ref := e.launchWith("att-1", 2*time.Hour)
- e.fake.Inject(isolatedjob.OpLaunch, isolatedjob.FaultThrottle)
- q := request("att-2")
- q.MaxLifetime = 8 * time.Hour
- if v, err := e.c.Launch(e.ctx, "inst-1", instKey, q); err != nil || v.State != JobWaiting {
- t.Fatalf("throttled Launch(att-2) = (%+v, %v), want a waiting intent", v, err)
- }
- hold := &holdRunner{Fake: e.fake, entered: make(chan struct{}), release: make(chan struct{})}
- e.run = hold
- e.newController()
- e.clk.AdvanceMono(2 * time.Hour) // att-1 is past its stop time; att-2 is not
- e.audit()
- done := make(chan error, 1)
- go func() { _, err := e.c.Reap(e.ctx); done <- err }()
- select {
- case <-hold.entered:
- case <-time.After(5 * time.Second):
- t.Fatal("the pass's replay never reached the provider")
- }
- stops := e.fake.StopsIssued()
- close(hold.release)
- if err := <-done; err != nil {
- t.Fatalf("Reap = %v", err)
- }
- if !slices.Equal(stops, []isolatedjob.Ref{ref}) {
- t.Fatalf("provider stops while the replay's launch call hung = %v, want att-1's %s", stops, ref)
- }
- if s := e.stopCols("att-1"); s.reason.String != reasonDeadline {
- t.Fatalf("att-1 stop reason = %v, want %s", s.reason, reasonDeadline)
+ for _, pending := range []bool{false, true} {
+ e := newLaunchEnv(t)
+ ref := e.launchWith("att-1", 2*time.Hour)
+ want, reason := []isolatedjob.Ref{ref}, reasonDeadline
+ if pending { // a stop asked for whose provider call was throttled
+ e.fake.Inject(isolatedjob.OpStop, isolatedjob.FaultThrottle)
+ if _, err := e.c.Stop(e.ctx, "inst-1", instKey, "att-1", "done"); err == nil {
+ t.Fatal("throttled Stop = nil, want its error")
+ }
+ want, reason = []isolatedjob.Ref{ref, ref}, "done"
+ }
+ before := e.stopCols("att-1")
+ e.fake.Inject(isolatedjob.OpLaunch, isolatedjob.FaultThrottle)
+ q := request("att-2")
+ q.MaxLifetime = 8 * time.Hour
+ if v, err := e.c.Launch(e.ctx, "inst-1", instKey, q); err != nil || v.State != JobWaiting {
+ t.Fatalf("throttled Launch(att-2) = (%+v, %v), want a waiting intent", v, err)
+ }
+ hold := &holdRunner{Fake: e.fake, entered: make(chan struct{}), release: make(chan struct{})}
+ e.run = hold
+ e.newController()
+ e.clk.AdvanceMono(2 * time.Hour) // att-1 is past its stop time; att-2 is not
+ e.audit()
+ done := make(chan error, 1)
+ go func() { _, err := e.c.Reap(e.ctx); done <- err }()
+ select {
+ case <-hold.entered:
+ case <-time.After(5 * time.Second):
+ t.Fatal("the pass's replay never reached the provider")
+ }
+ stops := e.fake.StopsIssued()
+ close(hold.release)
+ if err := <-done; err != nil {
+ t.Fatalf("pending %v: Reap = %v", pending, err)
+ }
+ if !slices.Equal(stops, want) {
+ t.Fatalf("pending %v: provider stops while the replay's launch call hung = %v, want %v", pending, stops, want)
+ }
+ s := e.stopCols("att-1")
+ if s.reason.String != reason || (pending && s.requested != before.requested) {
+ t.Fatalf("pending %v: att-1 stop reason %v requested %v (was %v), want %s and the request kept",
+ pending, s.reason, s.requested, before.requested, reason)
+ }
}
}