oficina / equipo Public

Invalidate departed native sessions and show renewal recovery

Co-Authored-By: Codex GPT-6-Astra <noreply@openai.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev f90cf412b66c9c6e05140fb0aa007d0f0abbcb94 parent 7f4e100
8 files changed, +322 −30
  • native/OFICINA-ID-REPORT.md +143 −7
  • native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings +3 −3
  • native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings +3 −3
  • native/apple/Sources/EquipoKit/Session/EquipoSession.swift +21 −7
  • native/apple/Sources/EquipoKit/UI/Screens/AppModel.swift +6 −5
  • native/apple/Sources/EquipoKit/UI/Screens/OficinaNotice.swift +6 −1
  • native/apple/Tests/EquipoKitTests/OficinaIDTests.swift +137 −1
  • native/scripts/strings.json +3 −3

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/native__oficina-id: Type  Size Avail | ext4   96G   85G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   85G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.6s
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.4s
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.7s
ci-box: clone deepened in 3.2s
ci-box: file times set from content: 2811 files, 185 directories
ci-box: ready in 16.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.242s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  1.1s
+ go list -export -test -tags testbuild -f  ./...
  0.6s
+ 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 1m20.314s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m18.82s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m18.82s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 36.63, cpu waiting 19.90%, 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m20.711s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m19.103s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m19.1s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 36.63, cpu waiting 19.90%, memory waiting 0.00%, io waiting 0.51%
--- 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 1m22.445s 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.379s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m10.03s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.66s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.69s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 36.63, cpu waiting 19.42%, memory waiting 0.00%, io waiting 0.49%
--- 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 1m17.3s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m15.789s amadan.net/oficina/equipo/internal/headless
receipt: slow test 36.16s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.2s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.4s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 38.51, cpu waiting 20.59%, memory waiting 0.00%, io waiting 0.54%
--- 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 1m34.604s 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 1m33.008s amadan.net/oficina/equipo/internal/headless
receipt: slow test 58.38s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.77s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 9.71s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.5s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.65s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 33.38, cpu waiting 16.19%, memory waiting 0.00%, io waiting 0.40%
--- 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 3m14.366s 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 3m12.399s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m43.07s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.73s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 20.32s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.96s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.28s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 11.33, cpu waiting 3.18%, memory waiting 0.00%, io waiting 0.07%
--- 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 373ms 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 2m2.804s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 8.14s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.79s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 3.81s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.61s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 2.56s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 3.54, cpu waiting 0.45%, memory waiting 0.00%, io waiting 1.96%
--- 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 324ms 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 1m25.558s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.2s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.1s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.49s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.44s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotNow
receipt: slow test 2.37s amadan.net/oficina/equipo/internal/thintest TestContractPreview
machine: 32 CPUs, load 3.54, cpu waiting 0.00%, memory waiting 0.00%, io waiting 1.86%
--- 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 4m28.208s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m41.065s 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 4m28.208s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.99s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.91s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.8s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.47s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.8s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 3.27, cpu waiting 0.73%, 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.107s 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.044s amadan.net/oficina/equipo/internal/runner
receipt: slow test 26.02s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 35.35, cpu waiting 19.42%, memory waiting 0.00%, io waiting 0.90%
--- 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 45.71s 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 43.872s amadan.net/oficina/equipo/internal/runner
receipt: slow test 33.91s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 30.29s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.38s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.56s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 35.35, cpu waiting 19.42%, memory waiting 0.00%, io waiting 0.90%
--- 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 34.938s 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.101s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.55s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.1s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 23.00, cpu waiting 14.05%, memory waiting 0.00%, io waiting 1.11%
--- 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 25.6%, load 23.00
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.742s 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.789s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 27.17s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 27.14s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.06s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.74s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.39s amadan.net/oficina/equipo/internal/equipotest TestAuthorityProjectOwnershipIsLocal
machine: 32 CPUs, load 31.42, cpu waiting 16.19%, memory waiting 0.00%, io waiting 0.40%
--- 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 25.6%, load 18.82
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 324ms 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 1m15.284s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 20.04s amadan.net/oficina/equipo/internal/equipotest TestProjectConcurrentRetry
receipt: slow test 20.04s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 20s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 20s amadan.net/oficina/equipo/internal/equipotest TestProjectRequestActorAndUpdate
receipt: slow test 19.89s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
machine: 32 CPUs, load 23.00, cpu waiting 10.30%, memory waiting 0.00%, io waiting 1.22%
--- 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 25.6%, load 23.00
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 1m14.457s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m2.787s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.33s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 12.72s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 9.67s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.64s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.57s amadan.net/oficina/equipo/internal/equipotest TestRosterAuditFailureRollsBack
machine: 32 CPUs, load 29.26, cpu waiting 13.71%, memory waiting 0.00%, io waiting 0.34%
--- 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 25.6%, load 23.00
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 455ms 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 1m6.827s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.88s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 24.88s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 24.85s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.08s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
receipt: slow test 23.04s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
machine: 32 CPUs, load 23.00, cpu waiting 11.21%, memory waiting 0.00%, io waiting 1.18%
--- 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 25.6%, load 23.00
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 541ms 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 53.424s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.82s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.59s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.72s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.57s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.27s amadan.net/oficina/equipo/internal/plan3test TestInviteMigration
machine: 32 CPUs, load 23.00, cpu waiting 11.21%, memory waiting 0.00%, io waiting 1.18%
--- 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 25.6%, load 18.82
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/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: 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/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: 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/webread TestTimeouts
=== RUN   TestTimeouts
    fetch_test.go:537: s1: {Source:s1 Origin:paul Parent: URL:https://shop.example.com/slow-body Hops:[{URL:https://shop.example.com/slow-body Address:151.101.1.1 Status:200}] Address:151.101.1.1 Status:200 Type:text/plain Bytes:5 SHA256:2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 Millis:304 Reason: File:s001.txt}
--- FAIL: TestTimeouts (0.61s)

--- FAIL amadan.net/oficina/equipo/internal/runner/webread (package output)
FAIL
rastrillo-budget/v1 ran 1.107s
FAIL	amadan.net/oficina/equipo/internal/runner/webread	1.115s

budget note: internal/equipo took 28.353s, 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 15.717s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/setup took 12.903s, 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 44.976s, 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 19.39s, 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 38.289s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m16.018s against a 60s target (the gate's other steps are not in this figure)
receipt: 10 packages ran, 50 cached, 18 without tests, 1 failed
receipt: slow package 54.05s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 51.846s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 44.976s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 38.289s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 36.281s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow test 22.2s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 21.19s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 14.85s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 12.6s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 9.06s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringMissingModuleCache
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestTimeouts$' -count=1 ./internal/runner/webread   (retry, once)
##############################################################################
FLAKE ./internal/runner/webread:TestTimeouts rest f90cf412b66c9c6e05140fb0aa007d0f0abbcb94 0.61s 13.84
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 13.84, cpu waiting 4.90%, memory waiting 0.00%, io waiting 0.11%
--- 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 1m21.41s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m20.001s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.18s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.01s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.33s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.63s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.6s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 36.63, cpu waiting 19.42%, memory waiting 0.00%, io waiting 0.49%
--- 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 1m30.033s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m28.456s amadan.net/oficina/equipo/internal/headless
receipt: slow test 25.18s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 22.1s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 13.67s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.02s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 7.85s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 33.38, cpu waiting 17.27%, memory waiting 0.00%, io waiting 0.43%
--- 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 1m39.574s 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.952s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.79s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 12.95s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.85s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 10.29s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.12s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 31.55, cpu waiting 15.15%, memory waiting 0.00%, io waiting 0.37%
--- 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

receipt: test step 1m28.631s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m27.323s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.07s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 10.81s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.26s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.14s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.91s amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
machine: 32 CPUs, load 33.38, cpu waiting 17.79%, memory waiting 0.00%, io waiting 0.44%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

receipt: test step 296ms 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 165ms 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.697s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.7s 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 174ms 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.893s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.89s 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|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)$' ./internal/thintest

receipt: test step 263ms 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 3m25.942s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.9s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.35s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.07s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.74s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 8.26s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 3.54, cpu waiting 1.39%, memory waiting 0.00%, io waiting 1.89%
--- 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   (51s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.31s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.34s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.06s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.28s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.67s
+ 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   (61s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 12.66s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 13.42s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 20.11s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 12.91s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (21s)
ok ./internal/headless TestMixedVersions 19.41s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.78s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (0s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.06s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 38.11, cpu waiting 20.92%, memory waiting 0.00%, io waiting 0.71%
--- 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.155s 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.139s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 178ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 65ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 2ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.11s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.64s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 90ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.026s 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.676s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
machine: 32 CPUs, load 7.51, cpu waiting 4.26%, memory waiting 0.00%, io waiting 1.66%
--- 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 27.8%, load 23.00
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2524 text files, 2846 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: 88 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.479s
machine: 32 CPUs, load 33.12, cpu waiting 18.56%, memory waiting 0.00%, io waiting 0.97%
--- 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 23.00
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 23.00, cpu waiting 12.74%, memory waiting 0.00%, io waiting 1.14%
--- 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 25.6%, load 23.00
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 29.65, cpu waiting 14.05%, memory waiting 0.00%, io waiting 1.11%
--- 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 25.6%, load 18.82
shard 28: make gitleaks
8:40PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
8:40PM INF 1066 commits scanned.
8:40PM INF scanned ~60679137 bytes (60.68 MB) in 12.6s
8:40PM INF no leaks found
machine: 32 CPUs, load 33.12, cpu waiting 18.56%, memory waiting 0.00%, io waiting 0.97%
=== 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 987µs, worst 1.032ms, budget 150ms
perf: GET /api/runner/protocol: median 75µs, worst 104µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 601µs, worst 690µs, budget 150ms
perf: GET /api/v1/accounts: median 419µs, worst 445µs, budget 150ms
perf: GET /api/v1/auth/devices: median 404µs, worst 443µs, budget 150ms
perf: GET /api/v1/budgets: median 484µs, worst 552µs, budget 150ms
perf: GET /api/v1/capabilities: median 249µs, worst 281µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.202ms, worst 1.264ms, budget 150ms
perf: GET /api/v1/connections: median 626µs, worst 665µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 590µs, worst 619µs, budget 150ms
perf: GET /api/v1/conversation: median 999µs, worst 1.063ms, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.637ms, worst 1.68ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.931ms, worst 2.099ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 476µs, worst 553µs, budget 150ms
perf: GET /api/v1/journey: median 7.861ms, worst 7.959ms, budget 150ms
perf: GET /api/v1/me: median 446µs, worst 472µs, budget 150ms
perf: GET /api/v1/me/settings: median 506µs, worst 579µs, budget 150ms
perf: GET /api/v1/needs-you: median 7.609ms, worst 10.578ms, budget 150ms
perf: GET /api/v1/notifications: median 1.669ms, worst 1.761ms, budget 150ms
perf: GET /api/v1/onboarding: median 393µs, worst 436µs, budget 150ms
perf: GET /api/v1/people: median 442µs, worst 506µs, budget 150ms
perf: GET /api/v1/playbooks: median 603µs, worst 633µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 549µs, worst 589µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 868µs, worst 908µs, budget 150ms
perf: GET /api/v1/preferences: median 745µs, worst 832µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 445µs, worst 459µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 576µs, worst 617µs, budget 150ms
perf: GET /api/v1/roster: median 459µs, worst 471µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 427µs, worst 442µs, budget 150ms
perf: GET /api/v1/specialists: median 7.895ms, worst 8.126ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.95ms, worst 8.055ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 819µs, worst 858µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.09ms, worst 1.145ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 698µs, worst 722µs, budget 150ms
perf: GET /api/v1/teams: median 419µs, worst 433µs, budget 150ms
perf: GET /api/v1/templates: median 578µs, worst 601µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 427µs, worst 466µs, budget 150ms
perf: GET /auth/callback: median 74µs, worst 114µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.183ms, worst 3.293ms, budget 150ms
perf: GET /auth/verify: median 74µs, worst 101µs, budget 150ms
perf: GET /connections: median 3.409ms, worst 3.52ms, budget 150ms
perf: GET /conversation: median 7.147ms, worst 7.267ms, budget 150ms
perf: GET /conversation/connections: median 235µs, worst 271µs, budget 150ms
perf: GET /conversation/notebook: median 237µs, worst 261µs, budget 150ms
perf: GET /conversation/settings: median 3.882ms, worst 3.944ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.474ms, worst 4.757ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.212ms, worst 6.362ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.246ms, worst 6.42ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.514ms, worst 3.637ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 3.93ms, worst 4.009ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.244ms, worst 4.297ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.261ms, worst 4.438ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.214ms, worst 3.272ms, budget 150ms
perf: GET /conversation/settings/thinking: median 3.821ms, worst 4.002ms, budget 150ms
perf: GET /housekeeping: median 3.806ms, worst 5.597ms, budget 150ms
perf: GET /invites/new: median 608µs, worst 649µs, budget 150ms
perf: GET /invites/{id}: median 632µs, worst 665µs, budget 150ms
perf: GET /jobs: median 3.303ms, worst 3.397ms, budget 150ms
perf: GET /jobs/{id}: median 4.352ms, worst 4.481ms, budget 150ms
perf: GET /journey: median 11.83ms, worst 12.216ms, budget 150ms
perf: GET /nav/rail: median 3.051ms, worst 3.144ms, budget 150ms
perf: GET /needs-you: median 11.616ms, worst 11.693ms, budget 150ms
perf: GET /onboarding: median 4.13ms, worst 4.227ms, budget 150ms
perf: GET /people: median 3.573ms, worst 3.619ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 5.151ms, worst 6.878ms, budget 150ms
perf: GET /playbooks: median 4.565ms, worst 4.784ms, budget 150ms
perf: GET /playbooks/new: median 4.72ms, worst 4.81ms, budget 150ms
perf: GET /playbooks/{id}: median 4.33ms, worst 4.535ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.36ms, worst 4.418ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 3.609ms, worst 3.693ms, budget 150ms
perf: GET /preferences: median 4.016ms, worst 4.083ms, budget 150ms
perf: GET /preferences/sources/{source}: median 3.842ms, worst 3.884ms, budget 150ms
perf: GET /projects: median 5.023ms, worst 5.11ms, budget 150ms
perf: GET /projects/accounts: median 3.421ms, worst 3.567ms, budget 150ms
perf: GET /projects/new: median 3.488ms, worst 3.618ms, budget 150ms
perf: GET /projects/{id}: median 10.481ms, worst 13.667ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.618ms, worst 3.651ms, budget 150ms
perf: GET /runners/enrol: median 4.181ms, worst 4.307ms, budget 150ms
perf: GET /settings: median 3.296ms, worst 3.407ms, budget 150ms
perf: GET /settings/coordinator: median 5.208ms, worst 5.286ms, budget 150ms
perf: GET /settings/devices: median 3.11ms, worst 3.292ms, budget 150ms
perf: GET /settings/recovery: median 3.331ms, worst 3.412ms, budget 150ms
perf: GET /settings/recovery/release: median 3.264ms, worst 3.363ms, budget 150ms
perf: GET /settings/thinking: median 232µs, worst 260µs, budget 150ms
perf: GET /signin: median 302µs, worst 336µs, budget 150ms
perf: GET /specialists/new: median 3.189ms, worst 3.32ms, budget 150ms
perf: GET /specialists/{key}: median 10.596ms, worst 13.478ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.534ms, worst 3.64ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 3.561ms, worst 3.744ms, budget 150ms
perf: GET /tasks: median 4.967ms, worst 5.015ms, budget 150ms
perf: GET /tasks/new: median 3.084ms, worst 3.204ms, budget 150ms
perf: GET /tasks/{id}: median 5.23ms, worst 5.413ms, budget 150ms
perf: GET /tasks/{id}/merge: median 4.587ms, worst 4.792ms, budget 150ms
perf: GET /tasks/{id}/move: median 4.444ms, worst 4.57ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.507ms, worst 5.632ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.448ms, worst 1.514ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.129ms, worst 7.94ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.787ms, worst 4.974ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.23ms, worst 4.353ms, budget 150ms
perf: GET /tasks/{id}/thread: median 7.917ms, worst 8.269ms, budget 150ms
perf: GET /team/{specialist}: median 4.245ms, worst 4.327ms, budget 150ms
perf: GET /teams: median 9.841ms, worst 9.938ms, budget 150ms
perf: GET /templates: median 3.312ms, worst 3.419ms, budget 150ms
perf: GET /usage: median 4.034ms, worst 4.152ms, budget 150ms
perf: GET /work: median 2.992ms, worst 3.103ms, budget 150ms
perf: cold boot: median 258ms of [255.508409ms 258.059225ms 258.134205ms], budget 500ms

receipt: test step 29.256s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 84 without tests, 0 failed
receipt: slow package 8.797s amadan.net/oficina/equipo/internal/equipotest
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 package 0s amadan.net/oficina/equipo/internal/attach
receipt: slow test 7.98s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 820ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 4.15 GiB in 24551 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.84 GiB in 27348 files
ci-box: build cache over 4.0 GiB: dropped 1.77 GiB this job did not read, kept 2.39 GiB
diff --git a/native/OFICINA-ID-REPORT.md b/native/OFICINA-ID-REPORT.md
index 4b32c231..02b32549 100644
--- a/native/OFICINA-ID-REPORT.md
+++ b/native/OFICINA-ID-REPORT.md
@@ -68,7 +68,7 @@ regression test distinguishes definite permission refusals from renewal outages.
The native gate is `native/scripts/check-native.sh`: signing contract, API
fixtures, strings, web parity, reference scan, Swift tests, Mac build and an
-unsigned iOS Simulator build. The final gate passes 114 Swift tests, including 20 Oficina ID adoption tests.
+unsigned iOS Simulator build. The initial gate passed 114 Swift tests, including 20 Oficina ID adoption tests.
All 28 deliberate mutations below failed their selected check; each change was
restored before the final gate. Two initially surviving mutations led to stronger
assertions for local credential removal and absence of fallback Home requests.
@@ -85,26 +85,27 @@ session/device expiry match and reads the engine snapshot with the bearer.
The Swift integration suite tests the app side separately with the kit fake;
this was not a signed app or passkey UI smoke test.
-## Copy for Luna
+## Copy reviewed by Luna
Five new English strings; existing Equipo strings are unchanged:
| Key | Text |
| --- | --- |
| `oficina.sign_in` | Sign in with Oficina ID |
-| `oficina.connecting` | Signing in to your team |
-| `oficina.device_failed` | Could not sign in to this team. Try again. |
-| `oficina.retry` | Try again |
+| `oficina.connecting` | Connecting to your team |
+| `oficina.device_failed` | Could not connect to this team. |
+| `oficina.retry` | Connect again |
| `oficina.current_team` | Current team |
The onboarding, Other ways to sign in, Use another Oficina ID, identity/team
rows, replacement confirmation and identity-labelled Sign out reuse the kit's
copy. Both existing string catalogs are generated from the English source;
-string and web-parity checks pass. New copy remains for Luna's review.
+string and web-parity checks pass. Luna reviewed all five strings; her three
+edits are applied exactly. Her brief and result are copied below.
## Controller follow-up
-Review the branch and the five new strings. Signed-device/shared-Keychain and
+Review the branch. The five strings have Luna's delegated approval. Signed-device/shared-Keychain and
Developer ID launch checks remain with the controller: this task does not
change profiles, identities, App Store Connect or Keychains. Nothing is merged,
deployed or uploaded.
@@ -146,3 +147,138 @@ mutations used a temporary module copy because SwiftPM's checkout is read-only.
| Push registrar detached on sign-out | `signOutStopsPushesAndRevokesThisDevice` |
| Definite permission refusal remains a 403 | `aDefinite403StaysARefusalAfterRemint` |
| Event-stream authentication re-mints | `rejectedEventStreamRemintsAndPreservesCursor` |
+
+
+## Independent review fixes
+
+Astra requested changes at `7f4e1006`: a snapshot released after sign-out could
+save the departed account's bearer and private key while updating its team name;
+a failed re-mint could leave the kit unavailable with no error string and hence
+no recovery notice.
+
+The three new regression tests first failed with six assertions. The snapshot
+was held until after sign-out, then released: the old session became ready and
+saved its credential again. A held renewal plus a queued session update also
+restored metadata. The unavailable test reproduced an engine 401 followed by
+Home offline, with both error strings nil and no notice.
+
+Departing sessions now become permanently invalid before they are released.
+Snapshot completion, direct metadata application and renewal all respect that
+invalidation. Sign-out, replacement, pairing fallback and session expiry use the
+same invalidation. Native device registration retains its existing epoch/state
+check before persistence, tested with a renewal response released after sign-out.
+Pairing sign-out forgets its credential before network cleanup, so a late
+revocation cannot remove a newly saved credential at the same origin. Push
+cleanup remains in place.
+
+The mounted conversation explicitly shows the kit's unavailable title when the
+kit is unavailable, even without error strings. Its Connect again button retries
+the kit and refreshes the conversation. Recovery removes the notice.
+
+Regression commands:
+
+```sh
+swift test --package-path native/apple --filter 'OficinaIDTests/(lateSnapshot|lateRenewal|unavailableRenewal)'
+swift test --package-path native/apple --filter OficinaIDTests
+```
+
+First command before fixes: three tests failed, six assertions. The mutation
+checks remove one guard at a time and run its selected test, requiring an
+assertion failure rather than a compiler error; every mutation is restored.
+
+| Guard broken | Regression test |
+| --- | --- |
+| Invalidate departing session | lateSnapshotCannotRestoreSignedOutDevice |
+| Ignore late snapshot completion | lateSnapshotCannotRestoreSignedOutDevice |
+| Ignore direct metadata on invalid session | lateRenewalCannotRestoreSignedOutDevice |
+| Refuse renewal of invalid session | lateRenewalCannotRestoreSignedOutDevice |
+| Reject native device response from departed epoch | lateRenewalCannotRestoreSignedOutDevice |
+| Show unavailable notice without an error | unavailableRenewalShowsRecoveryWithoutAnErrorString |
+| Invalidate when switching to pairing | departingSessionCannotPersistAfterItsReplacement |
+| Invalidate when replacing team | departingSessionCannotPersistAfterItsReplacement |
+| Forget paired credential before revocation awaits | latePairingRevocationCannotRemoveANewCredential |
+
+The review gate passed `native/scripts/check-native.sh`: 119 Swift tests in
+14 suites (25 Oficina ID tests), Mac build, unsigned iOS Simulator build,
+7 fixtures, 169 strings, 23 parity entries and a clean reference scan. All nine
+review mutations above failed their intended assertion and were restored. The
+loopback native exchange test also passed again. Logs are under the ignored
+`native/build/logs` directory: `review-red.log`, `review-mutations`,
+`review-native-gate.log` and `review-loopback.log`.
+
+## Luna's brief and verdict
+
+The controller supplied this review from `gpt-5.6-luna`, with Paul's instruction
+to apply the verdicts as approved copy. Source: the controller's `luna-oid`
+brief and result, copied verbatim below. All three changes are applied in
+`strings.json` and both generated catalogs. None has a web parity mapping.
+
+### Brief
+
+# Copy review brief: Equipo's apps sign in with Oficina ID (native, 2026-11-20)
+
+Paul delegates copy review for this work to you. You are the copy editor. Your
+edits will be applied as approved copy.
+
+## Context
+
+Equipo is Oficina's team app, on iPhone and Mac. It now signs in with Oficina
+ID, the one account behind every Oficina app. It uses a shared sign-in kit
+whose own screens (Welcome, "Sign in with a passkey", email and code, choosing
+a team, "Other ways to sign in…", "Sign out", "Try again") are reviewed
+already and are not yours to change. The strings below are Equipo's own and
+appear next to the kit's. With an Oficina ID already on the device, the app
+goes straight in. The person never types anything. "Other ways to sign in…"
+opens the older pairing (type the team's address, approve a code in the
+browser).
+
+## The strings (ids are fixed, text is yours to change)
+
+- `oficina.sign_in`: a button at the bottom of the pairing screen, which
+ takes the person back to signing in with Oficina ID. Draft: `Sign in with Oficina ID`
+- `oficina.connecting`: the label of a spinner, shown after Oficina ID has
+ signed the person in while the app gets its own access to the chosen team
+ (normally a second or less). Draft: `Signing in to your team`
+- `oficina.device_failed`: an error shown on that same screen when the app
+ could not get access to the team (network or server failure). Below it are
+ a retry button, "Other ways to sign in…" and "Sign out". Draft:
+ `Could not sign in to this team. Try again.`
+- `oficina.retry`: the retry button under that error. Draft: `Try again`.
+ The kit already has a "Try again" string of its own.
+- `oficina.current_team`: the accessibility label (VoiceOver) of a checkmark
+ next to the team the app is using, in the account menu's list of teams.
+ Draft: `Current team`
+
+## House rules (Paul's, all binding)
+
+- No em dashes, ever. No exclamation marks.
+- Plain words. No jargon a reader would not know. Short. Sentence case.
+- Say what happened and what to do.
+- Use the product names exactly: Oficina ID, Equipo.
+- Do not change the facts. If something looks wrong, flag it.
+
+## Output
+
+1. A table of every string: `id | current | new (or "unchanged") | why`.
+2. A list of flagged rows: `id | problem`.
+3. One line of counts: changed, flagged, left alone.
+
+### Verdict
+
+| id | current | new | why |
+|---|---|---|---|
+| `oficina.sign_in` | Sign in with Oficina ID | unchanged | Clear and accurate. |
+| `oficina.connecting` | Signing in to your team | Connecting to your team | Oficina ID has already signed the person in. |
+| `oficina.device_failed` | Could not sign in to this team. Try again. | Could not connect to this team. | Describes the app's access problem. The retry button gives the next step. |
+| `oficina.retry` | Try again | Connect again | Avoids repeating the sign-in kit's “Try again” label. |
+| `oficina.current_team` | Current team | unchanged | Clear accessibility label. |
+
+Flagged rows:
+
+| id | problem |
+|---|---|
+| `oficina.connecting` | “Signing in” suggests the person is signing in again. |
+| `oficina.device_failed` | “Sign in” describes the wrong failure, and the sentence duplicates the retry button. |
+| `oficina.retry` | Duplicates the sign-in kit's “Try again” label. |
+
+Changed: 3. Flagged: 3. Left alone: 2.
diff --git a/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings b/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
index e3138a02..f280a180 100644
--- a/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
+++ b/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
@@ -712,7 +712,7 @@
"en": {
"stringUnit": {
"state": "translated",
- "value": "Signing in to your team"
+ "value": "Connecting to your team"
}
}
}
@@ -734,7 +734,7 @@
"en": {
"stringUnit": {
"state": "translated",
- "value": "Could not sign in to this team. Try again."
+ "value": "Could not connect to this team."
}
}
}
@@ -745,7 +745,7 @@
"en": {
"stringUnit": {
"state": "translated",
- "value": "Try again"
+ "value": "Connect again"
}
}
}
diff --git a/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings b/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
index e3138a02..f280a180 100644
--- a/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
+++ b/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
@@ -712,7 +712,7 @@
"en": {
"stringUnit": {
"state": "translated",
- "value": "Signing in to your team"
+ "value": "Connecting to your team"
}
}
}
@@ -734,7 +734,7 @@
"en": {
"stringUnit": {
"state": "translated",
- "value": "Could not sign in to this team. Try again."
+ "value": "Could not connect to this team."
}
}
}
@@ -745,7 +745,7 @@
"en": {
"stringUnit": {
"state": "translated",
- "value": "Try again"
+ "value": "Connect again"
}
}
}
diff --git a/native/apple/Sources/EquipoKit/Session/EquipoSession.swift b/native/apple/Sources/EquipoKit/Session/EquipoSession.swift
index 0a60dce4..31a35943 100644
--- a/native/apple/Sources/EquipoKit/Session/EquipoSession.swift
+++ b/native/apple/Sources/EquipoKit/Session/EquipoSession.swift
@@ -22,6 +22,9 @@ public final class EquipoSession {
let write: PendingWrite
}
+ /// A departing session can never become current again, even if a read
+ /// or credential renewal ignores cancellation and completes later.
+ private(set) var isInvalidated = false
public private(set) var status: Status = .loading
public private(set) var account: DeviceAccount
public private(set) var me: ThinMe?
@@ -83,12 +86,14 @@ public final class EquipoSession {
}
private func refreshPass() async {
+ guard !isInvalidated else { return }
let client = self.client
do {
async let snapshotRead = client.snapshot()
async let taskRead = client.tasks()
async let needsRead = client.needsYou()
let (snapshot, taskList, needsList) = try await (snapshotRead, taskRead, needsRead)
+ guard !isInvalidated else { return }
apply(snapshot)
tasks = taskList.items ?? []
needsYou = needsList.items ?? []
@@ -101,14 +106,17 @@ public final class EquipoSession {
Task { await self.deliver(id) }
}
} catch let error as EquipoAPIError where error.endsSession {
+ guard !isInvalidated else { return }
endSession()
} catch is CancellationError {
} catch {
+ guard !isInvalidated else { return }
refreshFailed = true
}
}
func apply(_ snapshot: Snapshot) {
+ guard !isInvalidated else { return }
me = snapshot.me
messages = Self.merge(messages, snapshot.messages ?? [])
turns = Self.merge(turns, snapshot.turns ?? [])
@@ -137,7 +145,7 @@ public final class EquipoSession {
/// updates the thinking line; anything else is read again through the
/// snapshot. A dropped stream reconnects with backoff.
public func startLive() {
- guard live == nil else { return }
+ guard !isInvalidated, live == nil else { return }
live = Task { [weak self] in
var backoff = Backoff()
while !Task.isCancelled {
@@ -347,6 +355,7 @@ public final class EquipoSession {
/// A renewed Oficina ID credential keeps the conversation and pending
/// writes mounted. Every new request uses the replacement bearer.
func renew(_ account: DeviceAccount, transport: EquipoTransport) {
+ guard !isInvalidated else { return }
self.account = account
client = EquipoClient(transport: transport, token: account.credential?.token)
if status == .signedOut { status = .loading }
@@ -354,22 +363,27 @@ public final class EquipoSession {
// MARK: Signing out
- private func endSession() {
+ private func endSession() { invalidate() }
+
+ /// Called before the app releases this session. Cancellation alone does
+ /// not prevent a completed network response from reaching persistence.
+ func invalidate() {
+ isInvalidated = true
status = .signedOut
stopLive()
pendingRead?.cancel(); pendingRead = nil
}
- /// Revokes this device on the server, then forgets it here. Forgetting
- /// happens even if the server cannot be reached.
+ /// Forgets this device immediately, then revokes it best effort. No
+ /// late cleanup may remove a newly signed-in account at the same origin.
public func signOut() async {
- stopLive()
+ invalidate()
+ accounts.remove(origin)
+ let client = self.client
if let id = account.credential?.id, let page = try? await client.devices(),
let device = page.items.first(where: { $0.id == id }) {
_ = try? await client.revokeDevice(id, EquipoClient.empty(ifMatch: device.revision))
}
- accounts.remove(origin)
- status = .signedOut
}
}
diff --git a/native/apple/Sources/EquipoKit/UI/Screens/AppModel.swift b/native/apple/Sources/EquipoKit/UI/Screens/AppModel.swift
index cd1b2ec6..995d1336 100644
--- a/native/apple/Sources/EquipoKit/UI/Screens/AppModel.swift
+++ b/native/apple/Sources/EquipoKit/UI/Screens/AppModel.swift
@@ -83,7 +83,7 @@ public final class EquipoAppModel {
showingPairing = true
try? accounts.store.write(Data("pairing".utf8), account: Self.routeKey)
oficina.pause()
- session?.stopLive(); session = nil
+ session?.invalidate(); session = nil
pairing.cancel()
forgetPushes()
}
@@ -104,12 +104,12 @@ public final class EquipoAppModel {
func adopt(_ account: DeviceAccount, transport: EquipoTransport? = nil) {
endedTeam = nil
- if let session, account.oficinaIdentity != nil,
+ if let session, !session.isInvalidated, account.oficinaIdentity != nil,
session.account.oficinaIdentity == account.oficinaIdentity,
session.account.oficinaTeam == account.oficinaTeam, session.origin == account.origin, let transport {
session.renew(account, transport: transport)
} else {
- session?.stopLive()
+ session?.invalidate()
session = EquipoSession(account: account, accounts: accounts, transport: transport)
}
sessionStarted()
@@ -128,7 +128,7 @@ public final class EquipoAppModel {
/// The server ended the session (revoked, removed or expired): pair again.
public func sessionEnded() {
endedTeam = session?.teamName
- session?.stopLive()
+ session?.invalidate()
session = nil
pairing.cancel()
forgetPushes()
@@ -139,11 +139,12 @@ public final class EquipoAppModel {
oficina.signOut()
return
}
- await session?.signOut()
+ let departing = session
session = nil
endedTeam = nil
pairing.cancel()
forgetPushes()
+ await departing?.signOut()
}
/// No team: nothing more is registered, no badge, no task on the Lock Screen.
diff --git a/native/apple/Sources/EquipoKit/UI/Screens/OficinaNotice.swift b/native/apple/Sources/EquipoKit/UI/Screens/OficinaNotice.swift
index cf10077d..3e7e7207 100644
--- a/native/apple/Sources/EquipoKit/UI/Screens/OficinaNotice.swift
+++ b/native/apple/Sources/EquipoKit/UI/Screens/OficinaNotice.swift
@@ -6,8 +6,13 @@ public struct EquipoOficinaNotice: View {
private let app: EquipoAppModel
@ObservedObject private var model: OficinaIDModel
public init(model: EquipoAppModel) { app = model; self.model = model.oficina.model }
+ var message: String? {
+ if let error = app.oficina.error ?? model.error { return error }
+ if case .unavailable = model.step { return OficinaIDText.text("unavailable.title") }
+ return nil
+ }
public var body: some View {
- if let error = app.oficina.error ?? model.error {
+ if let error = message {
VStack(alignment: .leading, spacing: 8) {
OficinaErrorLine(error)
Button(String(localized: "oficina.retry", bundle: .module)) {
diff --git a/native/apple/Tests/EquipoKitTests/OficinaIDTests.swift b/native/apple/Tests/EquipoKitTests/OficinaIDTests.swift
index e5589baa..0c4647af 100644
--- a/native/apple/Tests/EquipoKitTests/OficinaIDTests.swift
+++ b/native/apple/Tests/EquipoKitTests/OficinaIDTests.swift
@@ -24,7 +24,7 @@ private final class IDClock: @unchecked Sendable {
let model: OficinaIDModel
let app: EquipoAppModel
- init(held: HeldIDTransport? = nil) {
+ init(held: (any EquipoTransport)? = nil) {
defaults = UserDefaults(suiteName: suite)!
let store = OficinaIDStore(shared: shared, appPrivate: privateStore, group: defaults)
let clock = clock
@@ -340,6 +340,111 @@ private final class IDClock: @unchecked Sendable {
#expect(f.model.identity == nil)
}
+ @Test func lateSnapshotCannotRestoreSignedOutDevice() async throws {
+ let held = HeldEquipoRead()
+ let f = IDFixture(held: held)
+ await f.signIn()
+ let departed = try #require(f.app.session)
+ await held.hold("/snapshot")
+ let refresh = Task { await departed.refresh() }
+ await held.waitUntilEntered()
+ await f.app.signOut()
+ #expect(f.app.accounts.all().isEmpty)
+ await held.release()
+ await refresh.value
+ #expect(departed.status == .signedOut)
+ #expect(departed.me == nil)
+ #expect(f.app.session == nil)
+ #expect(f.app.accounts.all().isEmpty)
+ }
+
+ @Test func lateRenewalCannotRestoreSignedOutDevice() async throws {
+ let held = HeldEquipoRead()
+ let f = IDFixture(held: held)
+ await f.signIn()
+ let departed = try #require(f.app.session)
+ let oldAccount = departed.account
+ f.clock.advance(86401)
+ await held.hold("/auth/devices/native")
+ let renewal = Task { await f.app.oficina.renewIfNeeded() }
+ await held.waitUntilEntered()
+ await f.app.signOut()
+ await held.release()
+ await renewal.value
+ #expect(f.app.session == nil)
+ #expect(f.app.accounts.all().isEmpty)
+ #expect(f.app.oficina.account == nil)
+ #expect(f.model.identity == nil)
+ // Even a queued adoption and direct metadata update cannot reopen
+ // the departed session or save its private key again.
+ departed.renew(oldAccount, transport: held)
+ departed.apply(try Fixture.decode("thin/snapshot"))
+ #expect(departed.status == .signedOut)
+ #expect(f.app.accounts.all().isEmpty)
+ }
+
+ @Test(arguments: ["pairing", "replacement", "ended"])
+ func departingSessionCannotPersistAfterItsReplacement(_ route: String) async throws {
+ let held = HeldEquipoRead()
+ let f = IDFixture(held: held); await f.signIn()
+ let departed = try #require(f.app.session)
+ await held.hold("/snapshot")
+ let refresh = Task { await departed.refresh() }
+ await held.waitUntilEntered()
+ switch route {
+ case "pairing": f.app.otherWays()
+ case "replacement":
+ var next = departed.account
+ next.oficinaTeam = "replacement"
+ try f.app.accounts.save(next)
+ f.app.adopt(next, transport: held)
+ default: f.app.sessionEnded()
+ }
+ let saved = f.app.accounts.all()
+ await held.release()
+ await refresh.value
+ #expect(departed.status == .signedOut)
+ #expect(departed.me == nil)
+ #expect(f.app.accounts.all() == saved)
+ }
+
+ @Test func latePairingRevocationCannotRemoveANewCredential() async throws {
+ let held = HeldEquipoRead()
+ let accounts = DeviceAccounts(store: MemorySecretStore())
+ var old = DeviceAccount.new(origin: held.origin, label: "Old phone")
+ old.credential = try Fixture.decode("device-credential")
+ try accounts.save(old)
+ let departed = EquipoSession(account: old, accounts: accounts, transport: held)
+ await held.hold("/auth/devices")
+ let signOut = Task { await departed.signOut() }
+ await held.waitUntilEntered()
+ #expect(departed.status == .signedOut)
+ #expect(accounts.all().isEmpty)
+ var replacement = old
+ replacement.keySeed = DeviceAccount.new(origin: held.origin, label: "New phone").keySeed
+ try accounts.save(replacement)
+ await held.release()
+ await signOut.value
+ #expect(accounts.all() == [replacement])
+ }
+
+ @Test func unavailableRenewalShowsRecoveryWithoutAnErrorString() async throws {
+ let f = IDFixture(); await f.signIn()
+ let original = try #require(f.app.session)
+ #expect(EquipoOficinaNotice(model: f.app).message == nil)
+ f.service.failNext("assert", at: f.transport.origin.absoluteString, with: .offline)
+ f.transport.on("GET /me", .success(APIResponse(status: 401, data: Data())))
+ _ = try? await original.client.me()
+ guard case .unavailable = f.model.step else { Issue.record("expected an unavailable team"); return }
+ #expect(f.app.oficina.error == nil)
+ #expect(f.model.error == nil)
+ #expect(EquipoOficinaNotice(model: f.app).message == OficinaIDText.text("unavailable.title"))
+ #expect(f.app.session === original)
+ await f.app.oficina.renewIfNeeded()
+ #expect(EquipoOficinaNotice(model: f.app).message == nil)
+ #expect(f.app.session === original)
+ }
+
@Test func oldSavedPairingStillLoadsWithoutOficinaID() throws {
let f = IDFixture()
var account = DeviceAccount.new(origin: f.transport.origin, label: "Old phone")
@@ -381,3 +486,34 @@ private actor IDDailySleep {
clock.advance(86401)
}
}
+
+/// Lets an actual scripted response arrive after its caller has signed out.
+/// Cancellation deliberately does not release it: a network reply can be late.
+private actor HeldEquipoRead: EquipoTransport {
+ nonisolated let origin = URL(string: "https://oficina.example.test")!
+ private let script = ScriptedTransport()
+ private var path: String?
+ private var entered = false
+ private var continuation: CheckedContinuation<Void, Never>?
+ init() {
+ script.on("POST /auth/devices/native", fixture: "device-credential")
+ script.on("GET /auth/devices", fixture: "devices")
+ script.on("DELETE /auth/devices/dev_01JD5Z4Q2X", fixture: "ack")
+ script.on("GET /snapshot", fixture: "thin/snapshot")
+ script.on("GET /tasks", fixture: "thin/tasks")
+ script.on("GET /needs-you", fixture: "thin/needs-you")
+ }
+ func hold(_ path: String) { self.path = path; entered = false }
+ func send(_ request: APIRequest) async throws -> APIResponse {
+ let response = try await script.send(request)
+ if request.path == path {
+ path = nil
+ entered = true
+ await withCheckedContinuation { continuation = $0 }
+ }
+ return response
+ }
+ func lines(_ request: APIRequest) async throws -> AsyncThrowingStream<String, Error> { throw EquipoAPIError.offline }
+ func waitUntilEntered() async { while !entered { await Task.yield() } }
+ func release() { continuation?.resume(); continuation = nil }
+}
diff --git a/native/scripts/strings.json b/native/scripts/strings.json
index 1cac3afb..5055573a 100644
--- a/native/scripts/strings.json
+++ b/native/scripts/strings.json
@@ -163,9 +163,9 @@
"track.position %@ %@": "%1$@ of %2$@",
"track.spoken %@": "Stage: %@",
"work.tl.merge_dropped": "An earlier attempt to add this change was dropped when the task became an exploration.",
- "oficina.device_failed": "Could not sign in to this team. Try again.",
+ "oficina.device_failed": "Could not connect to this team.",
"oficina.sign_in": "Sign in with Oficina ID",
- "oficina.retry": "Try again",
- "oficina.connecting": "Signing in to your team",
+ "oficina.retry": "Connect again",
+ "oficina.connecting": "Connecting to your team",
"oficina.current_team": "Current team"
}