oficina / equipo Public

Adding a Codex connection fails with "The sign-in did not match an account."

I couldn't run Go or the repository's gates. The sandbox rejected every command outside the repo folder, and it also blocked my attempt to run the fake Codex by hand. I also couldn't read James's runner log, so I can't say for certain which message from Codex tripped the check.

**The cause, as far as I can tell:** the instance isn't what refuses the sign-in. After the OpenAI sign-in succeeds, the runner starts Codex again in the new account's home to read which account it holds. It did this twice in a row, and the check gave up on any message from Codex other than the two seen in an earlier live run. The runner reports every failure at that step as "did not match an account", even when no account was ever compared.

**What I changed:**
- **One check:** the runner now reads the new home once and saves what it read.
- **Other notices ignored:** Codex notices that aren't about the account (rate limits, for example) are now skipped, as the runner's normal Codex sessions and the rate-limit read already do. Notices that the account changed are still allowed only once, as before.
- **A real account match:** the saved connection must now be the same account the person just approved with the code, so a home holding a different account is refused. Before, that wasn't checked.

**Tests (written, not run):** one where a valid Codex sign-in completes and is saved for the right person, one where a home holding a different account is refused and deleted, and one for the account check skipp

Equipo task tkk37ag7udqd, Engineering step attempt 1.
Equipo Engineering pushed by equipo-james agent, operated by james@keymail.dev ff4da1211ffa233bd590525c15c3a9fe44bd786e parent 4efbacd
5 files changed, +128 −11
  • internal/runner/provider/login_probe.go +6 −2
  • internal/runner/provider/login_startup_test.go +1 −0
  • internal/runner/thin/connector.go +10 −5
  • internal/runner/thin/connector_codex_test.go +101 −0
  • internal/runner/thin/login.go +10 −4

CI failed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/equipo__tkk37ag7udqd-adding-a-codex-connection-fails-with-the: Type  Size Avail | ext4   96G   87G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   87G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: image pulled in 9.7s
ci-box: claude: fetched and verified in 12.2s
ci-box: codex: fetched and verified in 5.1s
ci-box: codex-code-mode-host: fetched and verified in 1.9s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.4s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: pi: installed and verified in 7.0s
ci-box: opencode: installed and verified in 1.9s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.9s
ci-box: clone deepened in 4.9s
ci-box: file times set from content: 2591 files, 151 directories
ci-box: ready in 26.4s
=== 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.244s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  3.8s
+ go list -export -test -tags testbuild -f  ./...
  4.1s
+ go list -export -test -tags browser,testbuild -f  ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  2.4s
rastrillo: budget size: 3 problem(s)
exit status 1
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-11 02:51:11 +0000 UTC

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

--- FAIL amadan.net/oficina/equipo/internal/headless TestHeadless/4c_rebase
=== RUN   TestHeadless/4c_rebase
time=2026-11-18T13:45:37.311Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-18T13:45:37.311Z level=INFO msg="startup phase done" phase=state_lock took=63µs
time=2026-11-18T13:45:37.311Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-18T13:45:37.311Z level=INFO msg="startup phase done" phase=claim_roots took=108µs
time=2026-11-18T13:45:37.311Z level=INFO msg="startup phase" phase=sweep
time=2026-11-18T13:45:37.341Z level=INFO msg="startup phase done" phase=sweep took=30.432ms
time=2026-11-18T13:45:37.341Z level=INFO msg="startup phase" phase=credentials
time=2026-11-18T13:45:37.341Z level=INFO msg="startup phase done" phase=credentials took=118µs
time=2026-11-18T13:45:37.341Z level=INFO msg="startup phase" phase=open_state
time=2026-11-18T13:45:37.383Z level=INFO msg="startup phase done" phase=open_state took=41.941ms
time=2026-11-18T13:45:37.384Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-18T13:45:37.385Z level=INFO msg=connecting host=127.0.0.1:34663 protocol=26
time=2026-11-18T13:45:37.388Z level=INFO msg=connected host=127.0.0.1:34663 took=2.111ms
time=2026-11-18T13:45:37.388Z level=INFO msg="capabilities gathering"
time=2026-11-18T13:45:37.388Z level=INFO msg="capabilities gathered" took=473µs tags=linux,claude,go
time=2026-11-18T13:45:37.389Z level=INFO msg="hello sent" protocol=26
time=2026-11-18T13:45:37.393Z level=INFO msg=welcome protocol=26 role=primary generation=1
time=2026-11-18T13:45:38.350Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-18T13:45:42.521Z level=INFO msg="kept sessions" kept=1 bytes=1869 expired=0
time=2026-11-18T13:45:47.994Z level=INFO msg="kept sessions" kept=2 bytes=3297 expired=0
    merge_test.go:245: steps [engineering:done checks:passed review:approve merge:merge_conflict engineering:queued], want [engineering:done checks:passed review:approve merge:merge_conflict engineering:done checks:passed review:approve merge:done] (in_progress )
time=2026-11-18T13:45:48.090Z level=WARN msg="step clone" err=*exec.ExitError
time=2026-11-18T13:45:48.091Z level=WARN msg="step sweep" err="context canceled"
time=2026-11-18T13:45:48.091Z level=WARN msg="kept sessions" err="context canceled"
--- FAIL: TestHeadless/4c_rebase (11.17s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m14.019s
FAIL	amadan.net/oficina/equipo/internal/headless	74.379s


receipt: test step 1m16.341s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m14.019s amadan.net/oficina/equipo/internal/headless
rastrillo: budget test: go test failed
receipt: slow test 1m14.02s amadan.net/oficina/equipo/internal/headless TestHeadless
exit status 1
+ go test -tags testbuild -timeout 15m -run '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$' -v -run '^TestHeadless$/^4c_rebase$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestHeadless/4c_rebase headless-work ff4da1211ffa233bd590525c15c3a9fe44bd786e 11.17s 50.14
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 43.11, cpu waiting 26.29%, memory waiting 0.00%, io waiting 0.51%
--- shard 1 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-review: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$' ./internal/headless

receipt: test step 1m25.251s 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.369s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m23.37s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 47.83, cpu waiting 29.86%, 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

receipt: test step 1m27.55s 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.849s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m14.4s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.7s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.74s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 47.83, cpu waiting 29.86%, memory waiting 0.00%, io waiting 0.60%
--- shard 3 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-mac: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$' ./internal/headless

receipt: test step 1m23.327s 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.698s amadan.net/oficina/equipo/internal/headless
receipt: slow test 40.82s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 20.06s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.29s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.53s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 49.73, cpu waiting 30.75%, memory waiting 0.00%, io waiting 0.64%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

receipt: test step 1m39.75s 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 1m37.226s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m1.74s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.2s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 9.9s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.68s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.7s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 40.38, cpu waiting 24.66%, memory waiting 0.00%, io waiting 0.47%
--- shard 5 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-rest: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$|^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$|^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$|^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$|^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

receipt: test step 3m6.06s 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 3m3.525s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m46.71s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.37s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.09s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.9s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.27s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 11.62, cpu waiting 5.91%, memory waiting 0.00%, io waiting 0.10%
--- 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.973s 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 1m56.643s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 8.71s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.77s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.4s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.81s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.38s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 4.18, cpu waiting 3.13%, memory waiting 0.00%, io waiting 2.46%
--- 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 1m9.719s 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 1m8.003s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 6.8s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 3.74s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.33s amadan.net/oficina/equipo/internal/thintest TestContractPreview
receipt: slow test 2.05s amadan.net/oficina/equipo/internal/thintest TestContractHostedBindingRules
receipt: slow test 1.77s amadan.net/oficina/equipo/internal/thintest TestContractTokenConnection
machine: 32 CPUs, load 49.63, cpu waiting 32.20%, memory waiting 0.00%, io waiting 0.79%
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
budget note: internal/runner/thin took 4m17.317s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m22.423s 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 4m17.317s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.79s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.73s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.62s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.36s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.7s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 3.66, cpu waiting 1.66%, memory waiting 0.00%, io waiting 0.02%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner

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

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

receipt: test step 35.092s 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.054s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.14s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.16s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 27.63, cpu waiting 17.82%, memory waiting 0.00%, io waiting 1.44%
--- 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 31.4%, load 21.51
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.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 1m2.231s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.84s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 25.81s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 23.76s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 21.4s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 21.23s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfiguration
machine: 32 CPUs, load 43.11, cpu waiting 27.11%, memory waiting 0.00%, io waiting 0.52%
--- 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 31.4%, load 21.51
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.22s 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.08s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19s amadan.net/oficina/equipo/internal/equipotest TestProjectRequestActorAndUpdate
receipt: slow test 18.98s amadan.net/oficina/equipo/internal/equipotest TestProjectsSharedAndGrouped
receipt: slow test 18.92s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 18.86s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 18.85s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
machine: 32 CPUs, load 21.51, cpu waiting 14.40%, memory waiting 0.00%, io waiting 1.54%
--- 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 31.4%, load 21.51
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 1m11.111s 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.215s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.3s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 12.82s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 9.75s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.7s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.68s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 40.38, cpu waiting 24.66%, memory waiting 0.00%, io waiting 0.47%
--- 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 31.4%, load 21.51
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 1.272s 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.547s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 23.06s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.03s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 21.31s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
receipt: slow test 21.22s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
machine: 32 CPUs, load 21.51, cpu waiting 14.40%, memory waiting 0.00%, io waiting 1.54%
--- 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 31.4%, load 21.51
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 49.259s 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 47.516s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.48s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 3.42s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 1.42s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.38s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.2s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorMessageSourcesUpgrade
machine: 32 CPUs, load 49.73, cpu waiting 31.63%, memory waiting 0.00%, io waiting 0.69%
--- 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 32.5%, load 21.51
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 24.227s, 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 11.886s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/idtest took 42.05s, 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 47.993s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/workspace took 12.821s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m2.831s against a 60s target (the gate's other steps are not in this figure)
receipt: 15 packages ran, 43 cached, 18 without tests, 0 failed
receipt: slow package 1m3.596s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 56.851s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 47.993s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 46.189s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 42.05s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 22.57s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 18.32s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 15.45s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 12.89s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeP1OnlyOpenCodeReachable
receipt: slow test 11.89s amadan.net/oficina/equipo/internal/runner/provider/codex TestCodexEmptyHomeReplay
machine: 32 CPUs, load 19.19, cpu waiting 10.41%, memory waiting 0.00%, io waiting 0.19%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless

receipt: test step 1m25.499s 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.939s amadan.net/oficina/equipo/internal/headless
receipt: slow test 38.51s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.19s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.95s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.65s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.98s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 47.83, cpu waiting 29.86%, memory waiting 0.00%, io waiting 0.60%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
=== RUN   TestBrowserRailFollowsWork
time=2026-11-18T13:44:59.374Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-18T13:44:59.374Z level=INFO msg="startup phase done" phase=state_lock took=63µs
time=2026-11-18T13:44:59.374Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-18T13:44:59.374Z level=INFO msg="startup phase done" phase=claim_roots took=82µs
time=2026-11-18T13:44:59.374Z level=INFO msg="startup phase" phase=sweep
time=2026-11-18T13:44:59.404Z level=INFO msg="startup phase done" phase=sweep took=29.558ms
time=2026-11-18T13:44:59.404Z level=INFO msg="startup phase" phase=credentials
time=2026-11-18T13:44:59.404Z level=INFO msg="startup phase done" phase=credentials took=142µs
time=2026-11-18T13:44:59.404Z level=INFO msg="startup phase" phase=open_state
time=2026-11-18T13:44:59.452Z level=INFO msg="startup phase done" phase=open_state took=48.039ms
time=2026-11-18T13:44:59.453Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-18T13:44:59.453Z level=INFO msg=connecting host=127.0.0.1:36935 protocol=26
time=2026-11-18T13:44:59.454Z level=INFO msg=connected host=127.0.0.1:36935 took=862µs
time=2026-11-18T13:44:59.454Z level=INFO msg="capabilities gathering"
time=2026-11-18T13:44:59.455Z level=INFO msg="capabilities gathered" took=590µs tags=linux,claude,go
time=2026-11-18T13:44:59.455Z level=INFO msg="hello sent" protocol=26
time=2026-11-18T13:44:59.459Z level=INFO msg=welcome protocol=26 role=primary generation=1
time=2026-11-18T13:45:00.575Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-18T13:45:08.949Z level=INFO msg="kept sessions" kept=1 bytes=1842 expired=0
time=2026-11-18T13:45:12.996Z level=INFO msg="kept sessions" kept=2 bytes=3243 expired=0
time=2026-11-18T13:45:13.694Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-18T13:45:13.694Z level=INFO msg="startup phase done" phase=state_lock took=164µs
time=2026-11-18T13:45:13.694Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-18T13:45:13.694Z level=INFO msg="startup phase done" phase=claim_roots took=223µs
time=2026-11-18T13:45:13.694Z level=INFO msg="startup phase" phase=sweep
time=2026-11-18T13:45:13.728Z level=INFO msg="startup phase done" phase=sweep took=33.956ms
time=2026-11-18T13:45:13.728Z level=INFO msg="startup phase" phase=credentials
time=2026-11-18T13:45:13.728Z level=INFO msg="startup phase done" phase=credentials took=149µs
time=2026-11-18T13:45:13.728Z level=INFO msg="startup phase" phase=open_state
time=2026-11-18T13:45:13.771Z level=INFO msg="startup phase done" phase=open_state took=42.271ms
time=2026-11-18T13:45:13.771Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-18T13:45:13.773Z level=INFO msg=connecting host=127.0.0.1:33729 protocol=26
time=2026-11-18T13:45:13.774Z level=INFO msg=connected host=127.0.0.1:33729 took=1.03ms
time=2026-11-18T13:45:13.774Z level=INFO msg="capabilities gathering"
time=2026-11-18T13:45:13.776Z level=INFO msg="capabilities gathered" took=2.303ms tags=linux,claude,go
time=2026-11-18T13:45:13.778Z level=INFO msg="hello sent" protocol=26
time=2026-11-18T13:45:13.783Z level=INFO msg=welcome protocol=26 role=primary generation=1
time=2026-11-18T13:45:15.725Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_review_test.go:57: waiting for document.querySelector('#rail [data-specialist="engineering"]')?.dataset.state==='working' && document.querySelector('#rail [data-specialist="engineering"]').querySelector('[equipo-nav-task]')?.textContent==='Slow sidebar change' && document.querySelector('#nav-tasks [data-count]')?.textContent==='1': context deadline exceeded (last evaluation: context deadline exceeded)
time=2026-11-18T13:45:20.118Z level=WARN msg="step account" err="context canceled"
time=2026-11-18T13:45:20.118Z level=WARN msg="step sweep" err="context canceled"
time=2026-11-18T13:45:20.118Z level=WARN msg="kept sessions" err="context canceled"
--- FAIL: TestBrowserRailFollowsWork (21.33s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m28.246s
FAIL	amadan.net/oficina/equipo/internal/headless	88.577s


receipt: test step 1m30.022s 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 1m28.246s amadan.net/oficina/equipo/internal/headless
receipt: slow test 23s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 21.33s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 14.14s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.48s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 9.44s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' -v -run '^TestBrowserRailFollowsWork$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserRailFollowsWork browser-headless-work ff4da1211ffa233bd590525c15c3a9fe44bd786e 21.33s 46.00
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 32.64, cpu waiting 19.57%, memory waiting 0.00%, io waiting 0.37%
--- shard 20 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-connections: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless

receipt: test step 1m42.542s 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.672s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.24s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 12.92s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 12.88s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.8s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.27s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 37.47, cpu waiting 23.86%, 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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-18T13:45:13.453Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-18T13:45:13.453Z level=INFO msg="startup phase done" phase=state_lock took=224µs
time=2026-11-18T13:45:13.453Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-18T13:45:13.453Z level=INFO msg="startup phase done" phase=claim_roots took=138µs
time=2026-11-18T13:45:13.453Z level=INFO msg="startup phase" phase=sweep
time=2026-11-18T13:45:13.495Z level=INFO msg="startup phase done" phase=sweep took=41.638ms
time=2026-11-18T13:45:13.495Z level=INFO msg="startup phase" phase=credentials
time=2026-11-18T13:45:13.495Z level=INFO msg="startup phase done" phase=credentials took=196µs
time=2026-11-18T13:45:13.496Z level=INFO msg="startup phase" phase=open_state
time=2026-11-18T13:45:13.550Z level=INFO msg="startup phase done" phase=open_state took=54.698ms
time=2026-11-18T13:45:13.551Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-18T13:45:13.552Z level=INFO msg=connecting host=127.0.0.1:41325 protocol=26
time=2026-11-18T13:45:13.555Z level=INFO msg=connected host=127.0.0.1:41325 took=1.199ms
time=2026-11-18T13:45:13.556Z level=INFO msg="capabilities gathering"
time=2026-11-18T13:45:13.560Z level=INFO msg="capabilities gathered" took=4.162ms tags=linux,claude,go
time=2026-11-18T13:45:13.565Z level=INFO msg="hello sent" protocol=26
time=2026-11-18T13:45:13.567Z level=INFO msg=welcome protocol=26 role=primary generation=1
    browser_copy_test.go:90: waiting for !document.querySelector('[data-copy-continue]'): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserCopyContinue (6.23s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-18T13:45:50.218Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-18T13:45:50.218Z level=INFO msg="startup phase done" phase=state_lock took=249µs
time=2026-11-18T13:45:50.218Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-18T13:45:50.218Z level=INFO msg="startup phase done" phase=claim_roots took=173µs
time=2026-11-18T13:45:50.218Z level=INFO msg="startup phase" phase=sweep
time=2026-11-18T13:45:50.250Z level=INFO msg="startup phase done" phase=sweep took=31.9ms
time=2026-11-18T13:45:50.250Z level=INFO msg="startup phase" phase=credentials
time=2026-11-18T13:45:50.250Z level=INFO msg="startup phase done" phase=credentials took=191µs
time=2026-11-18T13:45:50.251Z level=INFO msg="startup phase" phase=open_state
time=2026-11-18T13:45:50.290Z level=INFO msg="startup phase done" phase=open_state took=39.191ms
time=2026-11-18T13:45:50.290Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-18T13:45:50.291Z level=INFO msg=connecting host=127.0.0.1:42913 protocol=26
time=2026-11-18T13:45:50.293Z level=INFO msg=connected host=127.0.0.1:42913 took=1.075ms
time=2026-11-18T13:45:50.293Z level=INFO msg="capabilities gathering"
time=2026-11-18T13:45:50.293Z level=INFO msg="capabilities gathered" took=400µs tags=linux,claude,go
time=2026-11-18T13:45:50.294Z level=INFO msg="hello sent" protocol=26
time=2026-11-18T13:45:50.298Z level=INFO msg=welcome protocol=26 role=primary generation=1
time=2026-11-18T13:45:51.239Z 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 1m33.309s
FAIL	amadan.net/oficina/equipo/internal/headless	93.607s


receipt: test step 1m34.756s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m33.309s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.05s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.89s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.03s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.3s 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 '^TestBrowserCopyContinue$|^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest ff4da1211ffa233bd590525c15c3a9fe44bd786e 6.23s 43.11
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest ff4da1211ffa233bd590525c15c3a9fe44bd786e 5.78s 43.11
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 37.47, cpu waiting 21.62%, memory waiting 0.00%, io waiting 0.41%
--- 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/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor)$' ./internal/idtest

receipt: test step 1.219s 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.679s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.68s amadan.net/oficina/equipo/internal/idtest TestBrowserOficinaIDDoor
browser lane browser-rest: ./internal/plan3test
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestTeamsHierarchyBrowser)$' ./internal/plan3test

receipt: test step 3.105s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1.839s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.84s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserCoordinatorQueue|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|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackStarCentre)$' ./internal/thintest

receipt: test step 1.099s 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 2m59.541s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.54s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.33s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 10.69s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.02s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 8.73s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 6.33, cpu waiting 5.27%, memory waiting 0.00%, io waiting 2.30%
--- 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   (55s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.18s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.35s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.97s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.99s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 25.94s
+ 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   (66s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 16.27s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 21.86s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 11.80s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 13.49s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (24s)
ok ./internal/headless TestMixedVersions 21.01s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (3s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.89s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (2s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.07s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 50.03, cpu waiting 32.46%, memory waiting 0.00%, io waiting 0.84%
--- 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 12.626s 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.549s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 194ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 97ms 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.32s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.79s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 340ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.756s 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.859s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 310ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryMalformedRecord
machine: 32 CPUs, load 13.38, cpu waiting 10.43%, memory waiting 0.00%, io waiting 1.89%
--- 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 31.4%, load 21.51
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2306 text files, 2739 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
rastrillo: budget size: 3 problem(s)
internal/runner/provider: 5521 source lines, over the 5517 its exemption (line 29) allows
internal/runner/thin: 20238 test lines, over the 20137 its exemption (line 41) allows
internal/runner/thin: 27182 source lines, over the 27171 its exemption (line 41) allows
exit status 1
make[1]: *** [Makefile:75: budget] Error 1
machine: 32 CPUs, load 48.90, cpu waiting 32.89%, memory waiting 0.00%, io waiting 0.93%
make: *** [Makefile:113: ci-shard] Error 2

amadan: step check shard 25 of 29 failed: exit status 2
--- shard 26 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: staticcheck started 30s late; cpu waiting 31.4%, load 21.51
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 44.97, cpu waiting 30.28%, memory waiting 0.00%, io waiting 1.10%
--- 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 31.4%, load 21.51
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 27.63, cpu waiting 19.47%, memory waiting 0.00%, io waiting 1.39%
--- 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 31.4%, load 21.51
shard 28: make gitleaks
1:45PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
1:45PM INF 970 commits scanned.
1:45PM INF scanned ~58534703 bytes (58.53 MB) in 19.2s
1:45PM INF no leaks found
machine: 32 CPUs, load 44.97, cpu waiting 30.28%, memory waiting 0.00%, io waiting 1.10%

amadan: job failed at step check shard 25 of 29 — its output is above, not at the tail of this log
diff --git a/internal/runner/provider/login_probe.go b/internal/runner/provider/login_probe.go
index fc9aec2a..e232c5e1 100644
--- a/internal/runner/provider/login_probe.go
+++ b/internal/runner/provider/login_probe.go
@@ -157,8 +157,12 @@ func (d *terminalLoginDriver) probeReading(ctx context.Context, b Binding, refre
if json.Unmarshal(raw, &r) != nil {
return nil, ErrIdentity
}
- // Recorded 0.165.0 startup notification can precede initialize.
- if len(r.ID) == 0 && r.Method == "remoteControl/status/changed" && len(r.Error) == 0 {
+ // A notification about anything but the account (the recorded
+ // 0.165.0 remoteControl/status/changed, rate limits) says
+ // nothing about who is signed in: passed over, as the
+ // rate-limit read below does. account/updated is the account
+ // itself, and only its one startup notice is allowed.
+ if len(r.ID) == 0 && r.Method != "" && r.Method != "account/updated" && len(r.Error) == 0 && len(r.Result) == 0 {
continue
}
if !startupNoticeSeen && len(r.Error) == 0 && len(r.Result) == 0 && CodexStartupNotice(r.ID, r.Method, r.Params) {
diff --git a/internal/runner/provider/login_startup_test.go b/internal/runner/provider/login_startup_test.go
index c7f70b8a..1a7dd84a 100644
--- a/internal/runner/provider/login_startup_test.go
+++ b/internal/runner/provider/login_startup_test.go
@@ -46,6 +46,7 @@ func TestCodexLoginStartupNotice(t *testing.T) {
{"before-initialize", notice, false},
{"across-initialize", notice, true},
{"plan-ignored", `{"method":"account/updated","params":{"authMode":"chatgpt"}}`, false},
+ {"other-notice", notice + "\n" + `{"method":"account/rateLimits/updated","params":{"rateLimits":{}}}`, false},
{"duplicate", notice + "\n" + notice, true},
{"api-key", strings.ReplaceAll(notice, "chatgpt", "apikey"), true},
{"missing-mode", `{"method":"account/updated","params":{}}`, true},
diff --git a/internal/runner/thin/connector.go b/internal/runner/thin/connector.go
index e2e68463..8161b30b 100644
--- a/internal/runner/thin/connector.go
+++ b/internal/runner/thin/connector.go
@@ -561,7 +561,7 @@ func (c *Connector) run(ctx context.Context, cancel context.CancelFunc, cmd wire
return
}
// The same account connected twice would only split one limit.
- observed, err := c.identify(ctx, cmd, id, home)
+ observed, err := c.identify(ctx, cmd, id, home, acct.Email)
if err != nil {
c.removeHome(home)
if errors.Is(err, errAlreadyConnected) {
@@ -614,9 +614,11 @@ func firstErr(errs ...error) error {
var errAlreadyConnected = errors.New("already connected")
-// identify records the signed-in home as a connection of the person's,
-// unless the same account is already one.
-func (c *Connector) identify(ctx context.Context, cmd wire.ConnectCommand, id, home string) (provider.Identity, error) {
+// identify records the signed-in home as a connection of the person's:
+// the account the home holds must be the one the person just signed in
+// (signedIn), and not one of theirs already. The home is read once;
+// what it reported is what is saved.
+func (c *Connector) identify(ctx context.Context, cmd wire.ConnectCommand, id, home, signedIn string) (provider.Identity, error) {
options := provider.LoginOptions{ClaudePath: c.Runner.ClaudePath, CodexPath: c.Runner.CodexPath}
probe, ok := provider.NewLoginDriver(options).(interface {
Probe(context.Context, provider.Binding) (provider.Identity, error)
@@ -628,12 +630,15 @@ func (c *Connector) identify(ctx context.Context, cmd wire.ConnectCommand, id, h
if err != nil {
return observed, err
}
+ if signedIn == "" || observed.AccountID != signedIn {
+ return observed, provider.ErrIdentity
+ }
for _, b := range c.mine(cmd.Person) {
if b.Provider == cmd.Provider && b.AccountID == observed.AccountID {
return observed, errAlreadyConnected
}
}
- return finishLogin(ctx, c.Runner, cmd.Person, cmd.Provider, id, home)
+ return observed, saveLogin(ctx, c.Runner, cmd.Person, cmd.Provider, id, home, observed)
}
func (c *Connector) mine(person string) []runner.AccountBinding {
diff --git a/internal/runner/thin/connector_codex_test.go b/internal/runner/thin/connector_codex_test.go
new file mode 100644
index 00000000..1b1a36ef
--- /dev/null
+++ b/internal/runner/thin/connector_codex_test.go
@@ -0,0 +1,101 @@
+package thin
+
+import (
+ "os"
+ "path/filepath"
+ "testing"
+
+ "amadan.net/oficina/equipo/internal/wire"
+)
+
+// fakeCodexLogin is the pinned app-server as a Codex sign-in from the
+// app meets it: the device code (the account that approves it is in
+// <root>/.signs-in), then, in every later start of the signed-in home,
+// the recorded startup notices and a rate-limit notice before
+// account/read answers. <root>/.home-account, when there, is the account
+// the sign-in leaves in the home instead of the one that approved it.
+const fakeCodexLogin = `#!/bin/sh
+case "$*" in
+ '--version') echo 'codex-cli 0.165.0'; exit 0;;
+ 'login --device-auth --help'|'logout') exit 0;;
+ 'app-server --strict-config --listen stdio://') ;;
+ *) exit 2;;
+esac
+root=$(dirname "$CODEX_HOME")
+email=$(cat "$CODEX_HOME/auth.json" 2>/dev/null)
+while IFS= read -r line; do
+ id=$(printf '%s' "$line" | sed -n 's/.*"id":\("[^"]*"\).*/\1/p')
+ case "$line" in
+ *'"method":"initialize"'*)
+ printf '{"id":%s,"result":{"userAgent":"equipo/0.165.0 (fake; linux)","codexHome":"%s","platformFamily":"unix","platformOs":"linux"}}\n' "$id" "$CODEX_HOME";;
+ *'"method":"initialized"'*)
+ if [ -n "$email" ]; then
+ printf '%s\n' '{"method":"remoteControl/status/changed","params":{"status":"disabled","serverName":"fake","installationId":"fake-installation","environmentId":null}}' '{"method":"account/updated","params":{"authMode":"chatgpt","planType":"pro"}}' '{"method":"account/rateLimits/updated","params":{"rateLimits":{}}}'
+ fi;;
+ *'"method":"account/login/start"'*)
+ printf '{"id":%s,"result":{"type":"chatgptDeviceCode","loginId":"login-1","verificationUrl":"https://auth.openai.com/codex/device","userCode":"FAKE-1234"}}\n' "$id"
+ email=$(cat "$root/.signs-in")
+ if [ -f "$root/.home-account" ]; then cat "$root/.home-account" > "$CODEX_HOME/auth.json"; else printf '%s' "$email" > "$CODEX_HOME/auth.json"; fi
+ printf '%s\n' '{"method":"account/login/completed","params":{"loginId":"login-1","success":true,"error":null}}' '{"method":"account/updated","params":{"authMode":"chatgpt","planType":"pro"}}';;
+ *'"method":"account/read"'*)
+ printf '{"id":%s,"result":{"account":{"type":"chatgpt","email":"%s","planType":"pro"},"requiresOpenaiAuth":true}}\n' "$id" "$email";;
+ *'"method":"account/rateLimits/read"'*)
+ printf '{"id":%s,"result":{"rateLimits":{"primary":{"usedPercent":10,"windowDurationMins":300,"resetsAt":1762941600},"secondary":{"usedPercent":5,"windowDurationMins":10080,"resetsAt":1763287200},"planType":"pro","rateLimitReachedType":null}}}\n' "$id";;
+ esac
+done
+`
+
+// codexRig is a connector whose Codex is fakeCodexLogin and whose person
+// signs in as email.
+func codexRig(t *testing.T, email string) (*tokenRig, *Connector) {
+ r := newTokenRig(t)
+ r.cfg.CodexPath = filepath.Join(r.dir, "bin", "codex")
+ if err := os.WriteFile(r.cfg.CodexPath, []byte(fakeCodexLogin), 0755); err != nil {
+ t.Fatal(err)
+ }
+ if err := os.WriteFile(filepath.Join(r.root, ".signs-in"), []byte(email), 0600); err != nil {
+ t.Fatal(err)
+ }
+ return r, r.connector()
+}
+
+// James's report: a Codex sign-in that went through at OpenAI ended "The
+// sign-in did not match an account." The home is read once after the
+// sign-in, past the app-server's notices that are not about the account,
+// and the connection is the account the person signed in.
+func TestConnectorCodexSignIn(t *testing.T) {
+ r, c := codexRig(t, "a@example.com")
+ if err := c.Accept(r.ctx, "f-codex-1", wire.ConnectCommand{Connection: "cn_codex_1", Person: connPerson, Provider: wire.ProviderCodex, Kind: wire.KindSubscription}); err != nil {
+ t.Fatal(err)
+ }
+ end := r.ended("cn_codex_1")
+ if end.State != wire.ConnHealthy || end.LocalID != "codex-1" || end.Label != "a@example.com" {
+ t.Fatalf("end %+v\n%s", end, r.logs.String())
+ }
+ b, ok := r.binding("codex-1")
+ if !ok || b.Provider != wire.ProviderCodex || b.AccountID != "a@example.com" || b.PersonID != connPerson || b.ProviderHome != filepath.Join(r.root, "codex-1") {
+ t.Fatalf("binding %+v %v", b, ok)
+ }
+}
+
+// A home that holds another account than the one the person signed in
+// is refused, and nothing of it is kept.
+func TestConnectorCodexSignInMismatch(t *testing.T) {
+ r, c := codexRig(t, "a@example.com")
+ if err := os.WriteFile(filepath.Join(r.root, ".home-account"), []byte("b@example.com"), 0600); err != nil {
+ t.Fatal(err)
+ }
+ if err := c.Accept(r.ctx, "f-codex-2", wire.ConnectCommand{Connection: "cn_codex_2", Person: connPerson, Provider: wire.ProviderCodex, Kind: wire.KindSubscription}); err != nil {
+ t.Fatal(err)
+ }
+ end := r.ended("cn_codex_2")
+ if end.State != wire.ConnError || end.Reason != "identity_mismatch" {
+ t.Fatalf("end %+v", end)
+ }
+ if b, ok := r.binding("codex-1"); ok {
+ t.Fatalf("the mismatched sign-in was bound: %+v", b)
+ }
+ if _, err := os.Stat(filepath.Join(r.root, "codex-1")); !os.IsNotExist(err) {
+ t.Fatalf("the home stayed: %v", err)
+ }
+}
diff --git a/internal/runner/thin/login.go b/internal/runner/thin/login.go
index 19f2d2d5..6a48e922 100644
--- a/internal/runner/thin/login.go
+++ b/internal/runner/thin/login.go
@@ -124,16 +124,22 @@ func finishLogin(ctx context.Context, c runner.Config, person, name, id, home st
if err != nil {
return observed, err
}
+ return observed, saveLogin(ctx, c, person, name, id, home, observed)
+}
+
+// saveLogin records the identity the CLI reported for a home: the
+// identity file and the binding for the person.
+func saveLogin(ctx context.Context, c runner.Config, person, name, id, home string, observed provider.Identity) error {
if observed.AccountID == "" || strings.ContainsAny(observed.AccountID, "\r\n\x1b") {
- return observed, provider.ErrIdentity
+ return provider.ErrIdentity
}
observed.HomeID = rand.Text()
raw, _ := json.Marshal(observed)
- if err = os.WriteFile(filepath.Join(home, provider.IdentityFile), raw, 0600); err != nil {
- return observed, err
+ if err := os.WriteFile(filepath.Join(home, provider.IdentityFile), raw, 0600); err != nil {
+ return err
}
b := provider.Binding{ID: id, Home: home, Provider: name, AccountID: observed.AccountID, Expected: observed}
- return observed, runnersetup.SaveAccountBinding(ctx, c.AccountBindingsPath, person, DefaultModels[name], runnerproto.AccountSetup{ID: id, Provider: name, Label: id}, b)
+ return runnersetup.SaveAccountBinding(ctx, c.AccountBindingsPath, person, DefaultModels[name], runnerproto.AccountSetup{ID: id, Provider: name, Label: id}, b)
}
// nextHome creates the first free <provider>-<n> directory.