pause: restore the refusal for an unreadable namespace
Astra on 1069b2f5: NOT READY. Placing an unreadable process by its parent trusted separately sampled identities: a parent pid reused outside between reads can classify a live member as outside, and the copy's re-check (metadata only) cannot catch same-size or mapped writes. Ruling (coordinating session): take the placement out. Design for later on discussion 105. pause_linux.go is 3b8b089c's again: an unreadable process of ours, as deep as the sandbox, refuses the pause (ErrBusy naming it). Kept: the testUnreadable seam (nil in production). Tests: - TestHoldRefusesAnUnreadableSandbox and TestHoldRefusesUnreadableMembers replace the placement witnesses: Hold refuses, names the process, never calls the work, and leaves every writer running. - holdAmid: the success-path tests retry Hold, for up to 20 s, only while the refusal names an unreadable process outside their own sandbox (another test's, as on hosted CI). Every assertion runs on the Hold that succeeds; a refusal naming the test's own process is returned as is. - TestHoldStopsAReparentedDaemon keeps 1069b2f5's fix: the root keeps waiting, so killing the daemon's parent no longer ends the namespace. Local: the package passes 6 runs; a throwaway check showed holdAmid retrying past a foreign unreadable sandbox and not its own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+78
−101
internal/runner/pause/pause_linux.go+20 −58internal/runner/pause/pause_linux_test.go+58 −43
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/specialists-slice-1: 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 4.6s
ci-box: codex-code-mode-host: fetched and verified in 2.2s
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: image pulled in 9.8s
ci-box: pi: installed and verified in 7.4s
ci-box: opencode: installed and verified in 2.4s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 9.4s
ci-box: clone deepened in 4.9s
ci-box: file times set from content: 3655 files, 233 directories
ci-box: ready in 19.7s
=== 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.235s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
3.1s
+ go list -export -test -tags testbuild -f ./...
4.2s
+ go list -export -test -tags browser,testbuild -f ./internal/equipo ./internal/equipotest ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
1.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-24 15:56:00 +0000 UTC
go run github.com/zricethezav/gitleaks/v8@v8.30.1 version
version is set by build process
=== check ===
--- shard 0 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-work: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$' ./internal/headless
receipt: test step 1m14.102s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m12.281s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m12.28s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 43.54, cpu waiting 27.48%, memory waiting 0.00%, io waiting 0.67%
--- 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
--- FAIL amadan.net/oficina/equipo/internal/headless TestHeadless
=== RUN TestHeadless
--- FAIL: TestHeadless (68.56s)
--- FAIL amadan.net/oficina/equipo/internal/headless TestHeadless/2b_desk_failure
=== RUN TestHeadless/2b_desk_failure
time=2026-11-30T13:16:18.749Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-30T13:16:18.749Z level=INFO msg="startup phase done" phase=state_lock took=47µs
time=2026-11-30T13:16:18.749Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-30T13:16:18.749Z level=INFO msg="startup phase done" phase=claim_roots took=93µs
time=2026-11-30T13:16:18.749Z level=INFO msg="startup phase" phase=sweep
time=2026-11-30T13:16:18.788Z level=INFO msg="startup phase done" phase=sweep took=39.437ms
time=2026-11-30T13:16:18.788Z level=INFO msg="startup phase" phase=credentials
time=2026-11-30T13:16:18.789Z level=INFO msg="startup phase done" phase=credentials took=185µs
time=2026-11-30T13:16:18.789Z level=INFO msg="startup phase" phase=open_state
time=2026-11-30T13:16:18.839Z level=INFO msg="startup phase done" phase=open_state took=50.769ms
time=2026-11-30T13:16:18.840Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-30T13:16:18.842Z level=INFO msg=connecting host=127.0.0.1:38993 protocol=38
time=2026-11-30T13:16:18.843Z level=INFO msg=connected host=127.0.0.1:38993 took=1.103ms
time=2026-11-30T13:16:18.843Z level=INFO msg="capabilities gathering"
time=2026-11-30T13:16:18.847Z level=INFO msg="capabilities gathered" took=3.937ms tags=linux,claude,go
time=2026-11-30T13:16:18.851Z level=INFO msg="hello sent" protocol=38
time=2026-11-30T13:16:18.857Z level=INFO msg=welcome protocol=38 role=primary generation=1
time=2026-11-30T13:16:19.604Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-30T13:16:21.342Z level=WARN msg="coordinator desk" err=*os.LinkError
movein_test.go:304: introductions 0, coordinator moving_in
--- FAIL: TestHeadless/2b_desk_failure (3.11s)
--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m8.557s
FAIL amadan.net/oficina/equipo/internal/headless 68.768s
receipt: test step 1m10.294s 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 1m8.557s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m8.56s amadan.net/oficina/equipo/internal/headless TestHeadless
rastrillo: budget test: go test failed
exit status 1
+ go 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$' -v -run '^TestHeadless$/^2b_desk_failure$' -count=1 ./internal/headless (retry, once)
##############################################################################
FLAKE ./internal/headless:TestHeadless/2b_desk_failure headless-review eb454aa83bcd574dc8d891b5b1ace1e0c3815abe 3.11s 42.80
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 45.42, cpu waiting 27.69%, memory waiting 0.00%, io waiting 0.64%
--- 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 1m14.102s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m12.238s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m3.25s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 4.94s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.05s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 43.54, cpu waiting 27.69%, memory waiting 0.00%, io waiting 0.64%
--- 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 2m36.448s 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 2m34.493s amadan.net/oficina/equipo/internal/headless
receipt: slow test 2m1.05s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 15.49s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.06s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 8.89s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 19.69, cpu waiting 8.94%, memory waiting 0.00%, io waiting 0.16%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless
receipt: test step 1m29.187s 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.45s amadan.net/oficina/equipo/internal/headless
receipt: slow test 57.93s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.17s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 8.06s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 7.41s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.87s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 43.88, cpu waiting 25.40%, memory waiting 0.00%, io waiting 0.51%
--- shard 5 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-rest: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$|^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$|^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$|^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$|^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless
receipt: test step 3m19.491s 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 3m17.556s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m35.06s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.22s amadan.net/oficina/equipo/internal/headless TestMacMixedVersions
receipt: slow test 20.54s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.29s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.01s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistantAttachments
machine: 32 CPUs, load 11.98, cpu waiting 4.30%, 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 535ms 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 3m29.547s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 15.65s amadan.net/oficina/equipo/internal/thintest TestTasklessHoldResumes
receipt: slow test 11.4s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.7s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 5.46s amadan.net/oficina/equipo/internal/thintest TestNudgeResumesHeldJob
receipt: slow test 5.42s amadan.net/oficina/equipo/internal/thintest TestAbilityHoldResumes
machine: 32 CPUs, load 1.08, cpu waiting 0.00%, memory waiting 0.00%, io waiting 2.17%
--- 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 534ms 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 2m24.671s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.58s amadan.net/oficina/equipo/internal/thintest TestContractRetryPreviewUnverifiedMerge
receipt: slow test 9.11s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 4.93s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.93s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 3.01s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
machine: 32 CPUs, load 1.08, cpu waiting 0.00%, memory waiting 0.00%, io waiting 2.17%
--- 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 7m23.316s, over the 45s its record on line 44 allows; reported only, timing fails on CI
receipt: test step 7m29.773s 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 7m23.316s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.11s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.9s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.88s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 33.26s amadan.net/oficina/equipo/internal/runner/thin TestWorkerHelloConnections
receipt: slow test 18.53s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
machine: 32 CPUs, load 1.14, cpu waiting 0.05%, memory waiting 0.00%, io waiting 0.00%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed
receipt: test step 48.298s 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.051s amadan.net/oficina/equipo/internal/runner
receipt: slow test 27.02s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 39.23, cpu waiting 25.64%, memory waiting 0.00%, io waiting 1.03%
--- 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 52.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 50.027s amadan.net/oficina/equipo/internal/runner
receipt: slow test 40.07s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 34.11s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.41s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.53s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 41.21, cpu waiting 27.65%, memory waiting 0.00%, io waiting 0.96%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/runner TestDarwinToolProxyFrameBounds
=== RUN TestDarwinToolProxyFrameBounds
tool_proxy_mac_test.go:149: a reply over the bound: io: read/write on closed pipe, 0 bytes out
--- FAIL: TestDarwinToolProxyFrameBounds (0.01s)
--- FAIL amadan.net/oficina/equipo/internal/runner (package output)
FAIL
rastrillo-budget/v1 ran 40.413s
FAIL amadan.net/oficina/equipo/internal/runner 40.426s
receipt: test step 41.312s 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 40.413s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 5.01s amadan.net/oficina/equipo/internal/runner TestEnrolCommitsTheCredentialLast
receipt: slow test 3.57s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.82s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
exit status 1
+ go test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' -v -run '^TestDarwinToolProxyFrameBounds$' -count=1 ./internal/runner (retry, once)
##############################################################################
FLAKE ./internal/runner:TestDarwinToolProxyFrameBounds runner-rest eb454aa83bcd574dc8d891b5b1ace1e0c3815abe 0.01s 34.81
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 34.81, cpu waiting 21.28%, memory waiting 0.00%, io waiting 1.14%
--- 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 32.0%, load 24.08
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 1m14.698s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m12.54s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 34.17s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 34.1s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 31.62s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 28.53s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 28.31s amadan.net/oficina/equipo/internal/equipotest TestAuthoritySnapshotChanges
machine: 32 CPUs, load 36.11, cpu waiting 20.03%, memory waiting 0.00%, io waiting 0.39%
--- 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 32.0%, load 24.08
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 621ms 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 2m24.675s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.97s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 24.95s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
receipt: slow test 24.88s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
receipt: slow test 24.87s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
receipt: slow test 24.87s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
machine: 32 CPUs, load 24.08, cpu waiting 13.63%, memory waiting 0.00%, io waiting 1.35%
--- 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 32.0%, load 21.21
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
budget note: internal/equipotest took 5m41.476s, over the 5m0s its record on line 15 allows; reported only, timing fails on CI
receipt: test step 5m56.397s 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 5m41.476s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 4m46.53s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 14.54s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 11.5s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 11.44s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 8.4s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 2.10, cpu waiting 0.18%, memory waiting 0.00%, io waiting 0.00%
--- shard 15 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-rest started 30s late; cpu waiting 32.0%, load 21.21
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 420ms 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 1m13.066s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 30.69s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 30.62s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 29.64s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 28.06s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
receipt: slow test 28.06s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettings
machine: 32 CPUs, load 21.21, cpu waiting 12.74%, memory waiting 0.00%, io waiting 1.40%
--- 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 32.0%, load 21.21
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 642ms 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 58.411s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 4.5s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.7s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.95s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.62s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.51s amadan.net/oficina/equipo/internal/plan3test TestPreferencesMigrationUpgrade
machine: 32 CPUs, load 24.08, cpu waiting 13.63%, memory waiting 0.00%, io waiting 1.35%
--- 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.0%, load 21.21
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/diffscan ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/github ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/release/renderertest ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/designstep ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mac/creds ./internal/runner/mac/denylist ./internal/runner/mac/fprobe ./internal/runner/mac/proc ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/pause ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/render ./internal/runner/renderpage ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websearch ./internal/websearch/websearchtest ./internal/websource ./internal/websource/guard ./internal/websource/hostaddrs ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/diffscan ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/github ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/release/renderertest ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/designstep ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mac/creds ./internal/runner/mac/denylist ./internal/runner/mac/fprobe ./internal/runner/mac/proc ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/pause ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/render ./internal/runner/renderpage ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websearch ./internal/websearch/websearchtest ./internal/websource ./internal/websource/guard ./internal/websource/hostaddrs ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/idtest: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/release: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/render: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
--- FAIL amadan.net/oficina/equipo/internal/runner/pause TestHoldResumesAtTheBound
=== RUN TestHoldResumesAtTheBound
pause_linux_test.go:300: writers not resumed at the bound while the work ran on: moved []
pause_linux_test.go:71: sandbox stderr:
--- FAIL: TestHoldResumesAtTheBound (1.07s)
--- FAIL amadan.net/oficina/equipo/internal/runner/pause (package output)
FAIL
FAIL amadan.net/oficina/equipo/internal/runner/pause 7.519s
--- 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:301 Reason: File:s001.txt}
--- FAIL: TestTimeouts (0.61s)
--- FAIL amadan.net/oficina/equipo/internal/runner/webread (package output)
FAIL
rastrillo-budget/v1 ran 1.009s
FAIL amadan.net/oficina/equipo/internal/runner/webread 1.015s
budget note: internal/equipo took 2m36.036s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 53.868s, 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/github took 41.996s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/setup took 13.934s, 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 1m53.557s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 30.989s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 40.212s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/mac took 48.751s, over the 45s its record on line 43 allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/runner/mac/fprobe took 12.72s, 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/render took 1m27.121s, over the 10s the default allows; reported only, timing fails on CI
receipt: test step 2m40.226s against a 60s target (the gate's other steps are not in this figure)
receipt: 18 packages ran, 59 cached, 19 without tests, 2 failed
receipt: slow package 2m36.036s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 1m53.557s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m27.121s amadan.net/oficina/equipo/internal/runner/render
receipt: slow package 55.765s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 53.868s amadan.net/oficina/equipo/internal/equipo/chat
receipt: slow test 51.32s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 51.16s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 50.72s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 50.29s amadan.net/oficina/equipo/internal/runner/render TestLaunchNeverClaimsAnUnprovenEnd
receipt: slow test 21.53s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestHoldResumesAtTheBound$' -count=1 ./internal/runner/pause (retry, once)
##############################################################################
FLAKE ./internal/runner/pause:TestHoldResumesAtTheBound rest eb454aa83bcd574dc8d891b5b1ace1e0c3815abe 1.07s 12.85
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
+ go test -tags testbuild -timeout 15m -v -run '^TestTimeouts$' -count=1 ./internal/runner/webread (retry, once)
##############################################################################
FLAKE ./internal/runner/webread:TestTimeouts rest eb454aa83bcd574dc8d891b5b1ace1e0c3815abe 0.61s 12.85
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 12.85, cpu waiting 4.75%, memory waiting 0.00%, io waiting 0.08%
--- 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 1m22.941s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m21.394s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.71s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.85s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 9.93s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.54s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.03s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 44.74, cpu waiting 26.26%, memory waiting 0.00%, io waiting 0.54%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless
receipt: test step 1m25.469s 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.525s amadan.net/oficina/equipo/internal/headless
receipt: slow test 25.73s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 20.06s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 12.97s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 8.8s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 7.24s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 43.88, cpu waiting 26.26%, memory waiting 0.00%, io waiting 0.54%
--- 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 1m49.609s 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 1m48.055s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.41s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.97s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 11.93s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.17s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 10.88s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
machine: 32 CPUs, load 34.02, cpu waiting 18.28%, memory waiting 0.00%, io waiting 0.35%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserCardAnswerSettlesAtBottom|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN TestBrowserCopyContinue
time=2026-11-30T13:16:42.295Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-30T13:16:42.295Z level=INFO msg="startup phase done" phase=state_lock took=77µs
time=2026-11-30T13:16:42.295Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-30T13:16:42.295Z level=INFO msg="startup phase done" phase=claim_roots took=84µs
time=2026-11-30T13:16:42.295Z level=INFO msg="startup phase" phase=sweep
time=2026-11-30T13:16:42.348Z level=INFO msg="startup phase done" phase=sweep took=53.17ms
time=2026-11-30T13:16:42.348Z level=INFO msg="startup phase" phase=credentials
time=2026-11-30T13:16:42.348Z level=INFO msg="startup phase done" phase=credentials took=105µs
time=2026-11-30T13:16:42.348Z level=INFO msg="startup phase" phase=open_state
time=2026-11-30T13:16:42.406Z level=INFO msg="startup phase done" phase=open_state took=57.621ms
time=2026-11-30T13:16:42.407Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-30T13:16:42.409Z level=INFO msg=connecting host=127.0.0.1:34949 protocol=38
time=2026-11-30T13:16:42.411Z level=INFO msg=connected host=127.0.0.1:34949 took=1.054ms
time=2026-11-30T13:16:42.411Z level=INFO msg="capabilities gathering"
time=2026-11-30T13:16:42.412Z level=INFO msg="capabilities gathered" took=481µs tags=linux,claude,go
time=2026-11-30T13:16:42.416Z level=INFO msg="hello sent" protocol=38
time=2026-11-30T13:16:42.421Z level=INFO msg=welcome protocol=38 role=primary generation=1
browser_copy_test.go:90: waiting for !document.querySelector('[data-copy-continue]'): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserCopyContinue (6.38s)
--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m35.16s
FAIL amadan.net/oficina/equipo/internal/headless 95.353s
receipt: test step 1m36.842s 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 1m35.16s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.14s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 12.14s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.01s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 9.16s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.45s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserCardAnswerSettlesAtBottom|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserCopyContinue$' -count=1 ./internal/headless (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest eb454aa83bcd574dc8d891b5b1ace1e0c3815abe 6.38s 40.23
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 38.21, cpu waiting 21.34%, 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/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation|TestBrowserPreviewPassExchange)$' ./internal/equipo
receipt: test step 936ms 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 2.714s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 2.06s amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewPassExchange
receipt: slow test 660ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/equipotest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserGitHubManifestCSP)$' ./internal/equipotest
receipt: test step 352ms 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 6.555s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 6.55s amadan.net/oficina/equipo/internal/equipotest TestBrowserGitHubManifestCSP
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor|TestBrowserSmartDoor)$' ./internal/idtest
budget note: internal/idtest took 11.41s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
receipt: test step 209ms 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 11.41s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 9.04s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.37s 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 233ms 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 2.737s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.74s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAskMacOffline|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPausedWork|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRhythm|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingSteady|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackPulse|TestBrowserTrackStarCentre|TestBrowserTryAgain)$' ./internal/thintest
receipt: test step 397ms 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 3m44.47s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 28s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.37s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.07s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.83s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.4s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 9.89, cpu waiting 1.99%, memory waiting 0.00%, io waiting 2.16%
--- 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 (50s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.75s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.24s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 7.56s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.49s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 25.77s
+ 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 (52s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 11.45s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 11.18s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 10.18s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 16.75s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless (20s)
ok ./internal/headless TestMixedVersions 18.03s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.81s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin (2s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.06s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 41.21, cpu waiting 27.65%, memory waiting 0.00%, io waiting 0.96%
--- 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.66s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 4 without tests, 0 failed
receipt: slow package 7.158s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 191ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 83ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow test 5.09s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.68s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 290ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 80ms 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.389s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3.02s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 300ms 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 TestNamespaceRecoveryCleansScratch
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicy
machine: 32 CPUs, load 13.35, cpu waiting 5.03%, 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 32.0%, load 21.21
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 3367 text files, 3957 matches, 0 failures
python3 native/scripts/check-share.py
Share packaging, keychain-only boundary and reviewed copy verified
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 tool fiesta spacing -skip tokens.css internal/equipo/static
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 107 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok amadan.net/oficina/equipo/internal/equipo 2.813s
machine: 32 CPUs, load 41.21, cpu waiting 27.82%, memory waiting 0.00%, io waiting 0.93%
--- 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 32.0%, load 21.21
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 27.92, cpu waiting 18.20%, memory waiting 0.00%, io waiting 1.22%
--- shard 27 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: govulncheck started 30s late; cpu waiting 32.0%, load 24.08
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===
No vulnerabilities found.
Your code is affected by 0 vulnerabilities.
This scan also found 1 vulnerability in packages you import and 10
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 41.21, cpu waiting 27.65%, memory waiting 0.00%, io waiting 0.96%
--- 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 32.0%, load 21.21
shard 28: make gitleaks
[90m1:16PM[0m [32mINF[0m [1mUnknown SCM platform. Use --platform to include links in findings.[0m [36mhost=[0mamadan.net
[90m1:16PM[0m [32mINF[0m [1m1364 commits scanned.[0m
[90m1:16PM[0m [32mINF[0m [1mscanned ~73231215 bytes (73.23 MB) in 18.6s[0m
[90m1:16PM[0m [32mINF[0m [1mno leaks found[0m
machine: 32 CPUs, load 39.23, cpu waiting 25.64%, memory waiting 0.00%, io waiting 1.03%
=== perf ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -require TestPerfScreens,TestPerfBoot -tags perf -count=1 -p 1 -parallel 1 -run '^TestPerf' ./...
perf: GET /: median 1.011ms, worst 1.052ms, budget 150ms
perf: GET /api/runner/protocol: median 72µs, worst 102µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 552µs, worst 617µs, budget 150ms
perf: GET /api/v1/accounts: median 411µs, worst 454µs, budget 150ms
perf: GET /api/v1/auth/devices: median 440µs, worst 497µs, budget 150ms
perf: GET /api/v1/budgets: median 473µs, worst 519µs, budget 150ms
perf: GET /api/v1/capabilities: median 241µs, worst 251µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.163ms, worst 1.271ms, budget 150ms
perf: GET /api/v1/connections: median 555µs, worst 605µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 519µs, worst 584µs, budget 150ms
perf: GET /api/v1/conversation: median 857µs, worst 927µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.361ms, worst 1.382ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.678ms, worst 1.716ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 444µs, worst 483µs, budget 150ms
perf: GET /api/v1/journey: median 8.601ms, worst 8.724ms, budget 150ms
perf: GET /api/v1/me: median 480µs, worst 508µs, budget 150ms
perf: GET /api/v1/me/settings: median 578µs, worst 602µs, budget 150ms
perf: GET /api/v1/needs-you: median 8.298ms, worst 8.498ms, budget 150ms
perf: GET /api/v1/notifications: median 1.587ms, worst 1.703ms, budget 150ms
perf: GET /api/v1/onboarding: median 391µs, worst 412µs, budget 150ms
perf: GET /api/v1/people: median 438µs, worst 470µs, budget 150ms
perf: GET /api/v1/playbooks: median 570µs, worst 609µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 522µs, worst 566µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 812µs, worst 852µs, budget 150ms
perf: GET /api/v1/preferences: median 747µs, worst 794µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 451µs, worst 486µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 587µs, worst 656µs, budget 150ms
perf: GET /api/v1/roster: median 453µs, worst 506µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 426µs, worst 451µs, budget 150ms
perf: GET /api/v1/specialists: median 7.705ms, worst 7.862ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.687ms, worst 7.745ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 817µs, worst 901µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.151ms, worst 1.183ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 745µs, worst 781µs, budget 150ms
perf: GET /api/v1/teams: median 449µs, worst 507µs, budget 150ms
perf: GET /api/v1/templates: median 614µs, worst 634µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 473µs, worst 506µs, budget 150ms
perf: GET /auth/callback: median 84µs, worst 108µs, budget 150ms
perf: GET /auth/devices/{id}: median 4.131ms, worst 7.052ms, budget 150ms
perf: GET /auth/verify: median 89µs, worst 99µs, budget 150ms
perf: GET /connections: median 4.41ms, worst 4.48ms, budget 150ms
perf: GET /conversation: median 8.683ms, worst 9.005ms, budget 150ms
perf: GET /conversation/connections: median 234µs, worst 275µs, budget 150ms
perf: GET /conversation/notebook: median 235µs, worst 266µs, budget 150ms
perf: GET /conversation/settings: median 4.617ms, worst 4.853ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 4.585ms, worst 4.786ms, budget 150ms
perf: GET /conversation/settings/connections: median 7.524ms, worst 7.757ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 7.615ms, worst 7.886ms, budget 150ms
perf: GET /conversation/settings/copy: median 4.742ms, worst 6.827ms, budget 150ms
perf: GET /conversation/settings/github: median 4.218ms, worst 4.322ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.807ms, worst 4.879ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.954ms, worst 5.059ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.964ms, worst 4.99ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.978ms, worst 4.047ms, budget 150ms
perf: GET /conversation/settings/places: median 4.108ms, worst 4.138ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.533ms, worst 4.634ms, budget 150ms
perf: GET /github/connect/installation: median 175µs, worst 191µs, budget 150ms
perf: GET /github/connect/manifest: median 157µs, worst 166µs, budget 150ms
perf: GET /housekeeping: median 4.286ms, worst 4.398ms, budget 150ms
perf: GET /invites/new: median 570µs, worst 593µs, budget 150ms
perf: GET /invites/{id}: median 629µs, worst 653µs, budget 150ms
perf: GET /jobs: median 4.096ms, worst 4.18ms, budget 150ms
perf: GET /jobs/{id}: median 5.457ms, worst 7.134ms, budget 150ms
perf: GET /journey: median 12.148ms, worst 12.341ms, budget 150ms
perf: GET /nav/rail: median 3.696ms, worst 3.776ms, budget 150ms
perf: GET /needs-you: median 11.58ms, worst 11.94ms, budget 150ms
perf: GET /onboarding: median 4.751ms, worst 4.825ms, budget 150ms
perf: GET /people: median 4.072ms, worst 4.133ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 5.184ms, worst 5.374ms, budget 150ms
perf: GET /playbooks: median 4.813ms, worst 4.94ms, budget 150ms
perf: GET /playbooks/new: median 4.933ms, worst 5.091ms, budget 150ms
perf: GET /playbooks/{id}: median 5.687ms, worst 9.046ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 5.669ms, worst 5.762ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4.941ms, worst 5.076ms, budget 150ms
perf: GET /preferences: median 4.805ms, worst 4.892ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.575ms, worst 4.67ms, budget 150ms
perf: GET /projects: median 6.497ms, worst 6.645ms, budget 150ms
perf: GET /projects/accounts: median 4.143ms, worst 4.274ms, budget 150ms
perf: GET /projects/new: median 4.186ms, worst 4.275ms, budget 150ms
perf: GET /projects/{id}: median 10.68ms, worst 10.795ms, budget 150ms
perf: GET /projects/{id}/edit: median 4.342ms, worst 4.416ms, budget 150ms
perf: GET /runners/enrol: median 5.082ms, worst 7.956ms, budget 150ms
perf: GET /settings: median 4.108ms, worst 4.217ms, budget 150ms
perf: GET /settings/coordinator: median 6.066ms, worst 6.182ms, budget 150ms
perf: GET /settings/devices: median 3.861ms, worst 4.048ms, budget 150ms
perf: GET /settings/recovery: median 4.039ms, worst 4.144ms, budget 150ms
perf: GET /settings/recovery/release: median 4.064ms, worst 4.139ms, budget 150ms
perf: GET /settings/thinking: median 256µs, worst 309µs, budget 150ms
perf: GET /signed-out: median 268µs, worst 299µs, budget 150ms
perf: GET /signin: median 281µs, worst 330µs, budget 150ms
perf: GET /specialists/new: median 4.007ms, worst 4.197ms, budget 150ms
perf: GET /specialists/{key}: median 13.22ms, worst 13.446ms, budget 150ms
perf: GET /specialists/{key}/edit: median 4.695ms, worst 4.949ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.788ms, worst 4.877ms, budget 150ms
perf: GET /tasks: median 7.244ms, worst 10.01ms, budget 150ms
perf: GET /tasks/new: median 4.219ms, worst 4.304ms, budget 150ms
perf: GET /tasks/{id}: median 6.84ms, worst 6.935ms, budget 150ms
perf: GET /tasks/{id}/merge: median 6.142ms, worst 6.268ms, budget 150ms
perf: GET /tasks/{id}/move: median 5.962ms, worst 6.112ms, budget 150ms
perf: GET /tasks/{id}/plan: median 6.187ms, worst 6.325ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.728ms, worst 1.81ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.677ms, worst 5.71ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 5.209ms, worst 5.328ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.749ms, worst 4.847ms, budget 150ms
perf: GET /tasks/{id}/thread: median 8.469ms, worst 10.178ms, budget 150ms
perf: GET /team/{specialist}: median 5.315ms, worst 5.42ms, budget 150ms
perf: GET /teams: median 12.65ms, worst 13.003ms, budget 150ms
perf: GET /templates: median 4.5ms, worst 4.661ms, budget 150ms
perf: GET /usage: median 5.547ms, worst 5.577ms, budget 150ms
perf: GET /work: median 4.11ms, worst 4.203ms, budget 150ms
perf: GET /auth/devices/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /connections: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/autonomy: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/connections: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/connections/add: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/copy: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/github: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/housekeeping: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/machines: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/machines/add: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/notebook: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/places: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/thinking: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /housekeeping: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /invites/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /invites/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /jobs: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /jobs/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /journey: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /nav/rail: 0 bytes of framework CSS and JS, gzipped; 16000-byte budget
perf: GET /needs-you: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /onboarding: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /people: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbook-suggestions/{suggestion}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/{id}/edit: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/{id}/template-diff: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /preferences: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /preferences/sources/{source}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/accounts: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/{id}/edit: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /runners/enrol: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/coordinator: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/devices: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/recovery: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/recovery/release: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /signed-out: 30270 bytes of framework CSS and JS, gzipped; 40000-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/{key}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/{key}/edit: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/{key}/template-diff: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/merge: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/move: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/plan: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/preview: 25954 bytes of framework CSS and JS, gzipped; 40000-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/questions/{question}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/rendered-change: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/thread: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /team/{specialist}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /teams: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /templates: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /usage: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /work: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: cold boot: median 164ms of [162.678022ms 164.448219ms 166.444142ms], budget 500ms
receipt: test step 42.794s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 103 without tests, 0 failed
receipt: slow package 10.995s amadan.net/oficina/equipo/internal/equipotest
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-tool-proxy
receipt: slow package 0s amadan.net/oficina/equipo/internal/advice
receipt: slow test 10.44s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 550ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 4.16 GiB in 27104 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 1.25 GiB in 41706 files
ci-box: build cache over 4.0 GiB: dropped 0.42 GiB this job did not read, kept 3.74 GiB
diff --git a/internal/runner/pause/pause_linux.go b/internal/runner/pause/pause_linux.go| index 2cadada5..f64d4590 100644 |
| --- a/internal/runner/pause/pause_linux.go |
| +++ b/internal/runner/pause/pause_linux.go |
| @@ -130,7 +130,6 @@ type held struct { |
| sandbox, ours uint64 |
| sandboxFD int |
| rootDepth int |
| - rootPID int |
| uid int |
| ns map[uint64]nsEntry |
| } |
| @@ -215,7 +214,6 @@ func (h *held) pin(p Process) (int, uint64, error) { |
| if h.sandbox, err = inode(nsFD); err != nil || p.Namespace != "" && p.Namespace != fmt.Sprintf("pid:[%d]", h.sandbox) { |
| return fail(ErrGone) |
| } |
| - h.rootPID = p.PID |
| if h.rootDepth = nsDepth(p.PID); h.rootDepth < 2 || exited(fd) { |
| // Not in a pid namespace of its own, or exited (its pid may have |
| // been reused for what was read). |
| @@ -428,6 +426,16 @@ func busy(format string, args ...any) error { |
| return fmt.Errorf("%w: "+format, append([]any{ErrBusy}, args...)...) |
| } |
| +// statusName is the Name: line of a /proc status file. |
| +func statusName(status []byte) string { |
| + for _, line := range strings.Split(string(status), "\n") { |
| + if rest, ok := strings.CutPrefix(line, "Name:"); ok { |
| + return strings.TrimSpace(rest) |
| + } |
| + } |
| + return "" |
| +} |
| + |
| // gone: a /proc read failed because the process (or thread) is gone. |
| func gone(err error) bool { |
| return errors.Is(err, fs.ErrNotExist) || errors.Is(err, unix.ESRCH) |
| @@ -436,22 +444,20 @@ func gone(err error) bool { |
| // inSandbox places pid's pid namespace: the sandbox's, one nested below it |
| // (by NS_GET_PARENT up to the sandbox's), or neither. A process whose |
| // namespace cannot be read (another user's, or one of ours that is not |
| -// dumpable) is placed by unreadable. errVanished: the process went while |
| -// it was read. |
| -func (h *held) inSandbox(pid int) (bool, error) { return h.placed(pid, 0) } |
| - |
| -// placed is inSandbox, hops parents up from the process first placed. |
| -func (h *held) placed(pid, hops int) (bool, error) { |
| +// dumpable) is outside when it is not ours (members all run as this user) |
| +// or sits shallower than the sandbox (NSpid); otherwise the pause is |
| +// refused. errVanished: the process went while it was read. |
| +func (h *held) inSandbox(pid int) (bool, error) { |
| path := fmt.Sprintf("/proc/%d/ns/pid", pid) |
| if testUnreadable != nil && testUnreadable(pid) { |
| - return h.unreadable(pid, hops) |
| + return h.unreadable(pid) |
| } |
| link, err := os.Readlink(path) |
| if gone(err) { |
| return false, errVanished |
| } |
| if err != nil { |
| - return h.unreadable(pid, hops) |
| + return h.unreadable(pid) |
| } |
| var ino uint64 |
| if _, err := fmt.Sscanf(link, "pid:[%d]", &ino); err != nil { |
| @@ -472,7 +478,7 @@ func (h *held) placed(pid, hops int) (bool, error) { |
| return false, errVanished |
| } |
| if err != nil { |
| - return h.unreadable(pid, hops) |
| + return h.unreadable(pid) |
| } |
| if got, err := inode(fd); err != nil || got != ino { |
| unix.Close(fd) |
| @@ -526,10 +532,8 @@ func (h *held) below(fd int) (bool, error) { |
| return false, busy("namespaces nested too deep") |
| } |
| -// unreadable places a process whose namespace cannot be read: outside |
| -// when it is not ours (members all run as this user) or sits shallower |
| -// than the sandbox (NSpid); otherwise by its parent (byParent). |
| -func (h *held) unreadable(pid, hops int) (bool, error) { |
| +// unreadable places a process whose namespace cannot be read. |
| +func (h *held) unreadable(pid int) (bool, error) { |
| raw, err := os.ReadFile(fmt.Sprintf("/proc/%d/status", pid)) |
| if gone(err) { |
| return false, errVanished |
| @@ -549,49 +553,7 @@ func (h *held) unreadable(pid, hops int) (bool, error) { |
| if depth := depthOf(raw); depth > 0 && depth < h.rootDepth { |
| return false, nil |
| } |
| - return h.byParent(pid, hops) |
| -} |
| - |
| -// maxHops bounds how far up byParent goes. |
| -const maxHops = 64 |
| - |
| -// byParent places a process of ours, as deep as the sandbox, whose |
| -// namespace cannot be read (another sandbox's non-dumpable process, as |
| -// containment's namespace helper is) by its parent, whose /proc stat is |
| -// always readable: the sandbox's first process or any member makes a |
| -// member (a child is in its parent's pid namespace or one below it, and |
| -// an orphan goes to its namespace's init), and a parent outside, or |
| -// none in our namespace (ppid 0 or 1), makes it outside. A process an |
| -// outside one moved into the sandbox's namespaces (setns) and made |
| -// non-dumpable reads as outside: only a process of ours outside the |
| -// sandbox can do that, and the copy's own check (see Hold) still refuses |
| -// any change it makes. |
| -func (h *held) byParent(pid, hops int) (bool, error) { |
| - if hops >= maxHops { |
| - return false, busy("the parents of %d go too deep", pid) |
| - } |
| - for range 3 { |
| - _, ppid, _, err := readStat(fmt.Sprintf("/proc/%d/stat", pid)) |
| - if gone(err) { |
| - return false, errVanished |
| - } |
| - if err != nil { |
| - return false, busy("stat %d: %v", pid, err) |
| - } |
| - switch { |
| - case ppid == h.rootPID: |
| - return true, nil |
| - case ppid <= 1: |
| - return false, nil |
| - } |
| - inside, err := h.placed(ppid, hops+1) |
| - if errors.Is(err, errVanished) { |
| - // The parent went: the process has a new one now. |
| - continue |
| - } |
| - return inside, err |
| - } |
| - return false, busy("the parent of %d kept going", pid) |
| + return false, busy("%d (%s, depth %d) is ours but its pid namespace is unreadable", pid, statusName(raw), depthOf(raw)) |
| } |
| func inode(fd int) (uint64, error) { |
diff --git a/internal/runner/pause/pause_linux_test.go b/internal/runner/pause/pause_linux_test.go| index 6087b560..9a751532 100644 |
| --- a/internal/runner/pause/pause_linux_test.go |
| +++ b/internal/runner/pause/pause_linux_test.go |
| @@ -10,7 +10,9 @@ import ( |
| "os" |
| "os/exec" |
| "path/filepath" |
| + "regexp" |
| "strconv" |
| + "strings" |
| "sync" |
| "syscall" |
| "testing" |
| @@ -226,7 +228,7 @@ func TestHoldStopsEveryWriter(t *testing.T) { |
| p, dir := writerSandbox(t) |
| var moved []string |
| called := false |
| - err := Hold(p, Bound, func(deadline time.Time) error { |
| + err := holdAmid(p, Bound, func(deadline time.Time) error { |
| called = true |
| if time.Until(deadline) <= 0 || time.Until(deadline) > Bound { |
| t.Errorf("deadline %s away", time.Until(deadline)) |
| @@ -247,7 +249,7 @@ func TestHoldStopsEveryWriter(t *testing.T) { |
| func TestHoldReturnsWorkError(t *testing.T) { |
| p, dir := writerSandbox(t) |
| want := errors.New("work failed") |
| - if err := Hold(p, Bound, func(time.Time) error { return want }); err != want { |
| + if err := holdAmid(p, Bound, func(time.Time) error { return want }); err != want { |
| t.Fatalf("Hold: %v", err) |
| } |
| allGrowing(t, dir, 2*time.Second) |
| @@ -263,7 +265,7 @@ func TestHoldResumesAfterPanic(t *testing.T) { |
| t.Fatalf("recovered %v", r) |
| } |
| }() |
| - Hold(p, Bound, func(time.Time) error { |
| + holdAmid(p, Bound, func(time.Time) error { |
| moved = movedOver(dir, 100*time.Millisecond) |
| panic("injected") |
| }) |
| @@ -281,7 +283,7 @@ func TestHoldResumesAtTheBound(t *testing.T) { |
| p, dir := writerSandbox(t) |
| var early, late []string |
| start := time.Now() |
| - err := Hold(p, 800*time.Millisecond, func(time.Time) error { |
| + err := holdAmid(p, 800*time.Millisecond, func(time.Time) error { |
| early = movedOver(dir, 200*time.Millisecond) |
| time.Sleep(time.Until(start.Add(900 * time.Millisecond))) |
| // The work is still running here, past the bound. |
| @@ -305,7 +307,7 @@ func TestHoldResumesAtTheBound(t *testing.T) { |
| func TestHoldBusyWhenStoppingRunsOut(t *testing.T) { |
| p, dir := writerSandbox(t) |
| called := false |
| - err := Hold(p, time.Nanosecond, func(time.Time) error { called = true; return nil }) |
| + err := holdAmid(p, time.Nanosecond, func(time.Time) error { called = true; return nil }) |
| if !errors.Is(err, ErrBusy) || called { |
| t.Fatalf("Hold: %v (called %v)", err, called) |
| } |
| @@ -327,7 +329,7 @@ func TestHoldRefusesAnotherProcess(t *testing.T) { |
| "zero": {}, |
| } { |
| called := false |
| - err := Hold(q, Bound, func(time.Time) error { called = true; return nil }) |
| + err := holdAmid(q, Bound, func(time.Time) error { called = true; return nil }) |
| if !errors.Is(err, ErrGone) || called { |
| t.Errorf("%s: Hold %v (called %v)", name, err, called) |
| } |
| @@ -338,7 +340,7 @@ func TestHoldRefusesAnotherProcess(t *testing.T) { |
| // After Hold, no process of the sandbox is left stopped. |
| func TestHoldLeavesNothingStopped(t *testing.T) { |
| p, _ := writerSandbox(t) |
| - if err := Hold(p, Bound, func(time.Time) error { return nil }); err != nil { |
| + if err := holdAmid(p, Bound, func(time.Time) error { return nil }); err != nil { |
| t.Fatal(err) |
| } |
| // SIGCONT is delivered at once; give the scheduler a moment. |
| @@ -496,7 +498,7 @@ func TestHoldStopsANamespaceJoiner(t *testing.T) { |
| join(t, p, dir, "joiner") |
| growingFile(t, dir, "joiner", 10*time.Second) |
| var moved []string |
| - if err := Hold(p, Bound, func(time.Time) error { |
| + if err := holdAmid(p, Bound, func(time.Time) error { |
| moved = movedOver(dir, 300*time.Millisecond, append([]string{"joiner"}, writers...)...) |
| return nil |
| }); err != nil { |
| @@ -593,7 +595,7 @@ func TestHoldStopsAReparentedDaemon(t *testing.T) { |
| } |
| defer func() { testHook = nil }() |
| var moved []string |
| - if err := Hold(p, Bound, func(time.Time) error { |
| + if err := holdAmid(p, Bound, func(time.Time) error { |
| moved = movedOver(dir, 300*time.Millisecond, "daemon") |
| return nil |
| }); err != nil { |
| @@ -657,7 +659,7 @@ func TestHoldBusyWhenTheWatchdogIsLate(t *testing.T) { |
| p, dir := writerSandbox(t) |
| afterFunc = func(time.Duration, func()) *time.Timer { return time.AfterFunc(time.Hour, func() {}) } |
| defer func() { afterFunc = time.AfterFunc }() |
| - err := Hold(p, 300*time.Millisecond, func(deadline time.Time) error { |
| + err := holdAmid(p, 300*time.Millisecond, func(deadline time.Time) error { |
| time.Sleep(time.Until(deadline) + 50*time.Millisecond) |
| return nil |
| }) |
| @@ -686,7 +688,7 @@ func plainHeld(t *testing.T) *held { |
| // descendant: pid is root or one of its descendants (by parent pid). |
| func descendant(pid, root int) bool { |
| - for range maxHops { |
| + for range 64 { |
| if pid == root { |
| return true |
| } |
| @@ -708,45 +710,58 @@ func unreadableWhile(t *testing.T, is func(pid int) bool) { |
| t.Cleanup(func() { testUnreadable = nil }) |
| } |
| -// Another sandbox of ours whose processes' namespaces cannot be read is |
| -// not this one's: the pause holds this sandbox and leaves the other |
| -// running (its processes are placed by their parents, which lead out |
| -// through its own bwrap). |
| -func TestHoldIgnoresAnUnreadableSandbox(t *testing.T) { |
| +// refusedUnreadable: Hold refuses (ErrBusy, naming the unreadable |
| +// process) without calling the work, and every writer of dirs goes on. |
| +func refusedUnreadable(t *testing.T, p Process, dirs ...string) { |
| + t.Helper() |
| + called := false |
| + err := Hold(p, Bound, func(time.Time) error { called = true; return nil }) |
| + if !errors.Is(err, ErrBusy) || called || !strings.Contains(err.Error(), "pid namespace is unreadable") { |
| + t.Fatalf("Hold: %v (called %v)", err, called) |
| + } |
| + for _, dir := range dirs { |
| + allGrowing(t, dir, 2*time.Second) |
| + } |
| +} |
| + |
| +// Another sandbox of ours, as deep, whose processes' namespaces cannot be |
| +// read cannot be told from this one's members: the pause refuses rather |
| +// than guess, and leaves both running. (Placing such a process by its |
| +// parent needs validated ancestry: discussion 105.) |
| +func TestHoldRefusesAnUnreadableSandbox(t *testing.T) { |
| p, dir := writerSandbox(t) |
| other, otherDir := writerSandbox(t) |
| unreadableWhile(t, func(pid int) bool { return descendant(pid, other.PID) }) |
| - var moved, otherMoved []string |
| - if err := Hold(p, Bound, func(time.Time) error { |
| - moved = movedOver(dir, 300*time.Millisecond) |
| - otherMoved = movedOver(otherDir, 300*time.Millisecond) |
| - return nil |
| - }); err != nil { |
| - t.Fatal(err) |
| - } |
| - if len(moved) > 0 { |
| - t.Fatalf("writers ran while paused: %v", moved) |
| - } |
| - if len(otherMoved) != len(writers) { |
| - t.Fatalf("the other sandbox was stopped: only %v moved", otherMoved) |
| - } |
| - allGrowing(t, dir, 2*time.Second) |
| + refusedUnreadable(t, p, dir, otherDir) |
| } |
| // Members whose namespaces cannot be read (the first process's can: it |
| -// is pinned) are members by their parents, and are held. |
| -func TestHoldStopsUnreadableMembers(t *testing.T) { |
| +// is pinned) refuse the pause too, and nothing is left stopped. |
| +func TestHoldRefusesUnreadableMembers(t *testing.T) { |
| p, dir := writerSandbox(t) |
| unreadableWhile(t, func(pid int) bool { return pid != p.PID && descendant(pid, p.PID) }) |
| - var moved []string |
| - if err := Hold(p, Bound, func(time.Time) error { |
| - moved = movedOver(dir, 300*time.Millisecond) |
| - return nil |
| - }); err != nil { |
| - t.Fatal(err) |
| - } |
| - if len(moved) > 0 { |
| - t.Fatalf("writers ran while paused: %v", moved) |
| + refusedUnreadable(t, p, dir) |
| +} |
| + |
| +// foreignUnreadable is Hold's refusal naming a process whose namespace |
| +// cannot be read. |
| +var foreignUnreadable = regexp.MustCompile(`: (\d+) \(.*\) is ours but its pid namespace is unreadable`) |
| + |
| +// holdAmid is Hold on a host where other tests' sandboxes come and go: |
| +// a refusal naming an unreadable process outside p's sandbox (another |
| +// test's) is tried again, for up to 20 seconds, and anything else is |
| +// Hold's own result. The pause refuses rather than guess (discussion |
| +// 105); what these tests prove is what a pause that holds does. |
| +func holdAmid(p Process, bound time.Duration, fn func(time.Time) error) error { |
| + for deadline := time.Now().Add(20 * time.Second); ; { |
| + err := Hold(p, bound, fn) |
| + m := foreignUnreadable.FindStringSubmatch(fmt.Sprint(err)) |
| + if m == nil || time.Now().After(deadline) { |
| + return err |
| + } |
| + if pid, _ := strconv.Atoi(m[1]); descendant(pid, p.PID) { |
| + return err |
| + } |
| + time.Sleep(200 * time.Millisecond) |
| } |
| - allGrowing(t, dir, 2*time.Second) |
| } |