oficina / equipo Public

Renderer: fix Astra round 2 (linked fields, copy, header stall)

Astra round 2 on a750c137: NOT READY (2 Important, 2 Minor). Fixed:

- Important: publish-renderer.sh checked only the linked tag. Both modes
  now require everything linked into the kit's runner (tree pin, archive
  digest, size, tag) and the kit's install manifest to be the kit's
  archive, so a runner linked with a wrong size cannot pass publication
  or staging. Tests: each linked field and the manifest's size.
- Important: copyTree opened after Lstat without checking the
  descriptor. It now opens O_NOFOLLOW|O_NONBLOCK, requires the same
  regular file and size, copies exactly that size and refuses growth.
  TestCopyRendererRefusesASwappedFile swaps in a FIFO (a plain open
  blocks: caught) and a longer file through a test hook.
- Minor: the stall bound started after the response's headers. It now
  covers the wait for them; the fetch test adds a server that withholds
  headers and bounds every failure's time (with the old placement it ran
  to the 8 s overall bound: caught).
- Minor: the curl stub logged only the URL. It logs every argument, and
  the test checks it did.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 77d0f52803069ac9099220944ba38694ae82f9e2 parent a750c13
7 files changed, +190 −32
  • internal/release/renderer_install.go +19 −2
  • internal/release/renderer_install_linux_test.go +78 −0
  • internal/release/renderer_publish_test.go +23 −5
  • internal/runner/setup/install.go +4 −2
  • internal/runner/setup/renderer_install_test.go +14 −5
  • scripts/publish-renderer.sh +19 −6
  • scripts/runner-reference-allowlist.json +33 −12

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/renderer-out-of-instance: Type  Size Avail | ext4   96G   84G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   84G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.3s
ci-box: codex: fetched and verified in 4.4s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.4s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.7s
ci-box: pi: installed and verified in 7.4s
ci-box: opencode: installed and verified in 2.2s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.6s
ci-box: clone deepened in 5.8s
ci-box: file times set from content: 3747 files, 243 directories
ci-box: ready in 20.2s
=== 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.237s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  6.0s
+ go list -export -test -tags testbuild -f  ./...
  6.3s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/equipotest ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  4.1s
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 1m24.585s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m22.458s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m22.46s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 70.70, cpu waiting 44.99%, memory waiting 0.00%, io waiting 0.53%
--- shard 1 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-review: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$' ./internal/headless

receipt: test step 1m22.326s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m19.867s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m19.86s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 72.06, cpu waiting 44.85%, memory waiting 0.00%, io waiting 0.57%
--- 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 1m26.226s 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.695s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m12.7s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.86s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.14s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 70.70, cpu waiting 44.99%, memory waiting 0.00%, io waiting 0.53%
--- 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 2m48.513s 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 2m46.423s amadan.net/oficina/equipo/internal/headless
receipt: slow test 2m12.09s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 15.69s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.47s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.18s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 30.97, cpu waiting 15.37%, memory waiting 0.00%, io waiting 0.12%
--- 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 1m42.165s 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 1m39.902s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m9.15s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.5s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 8.55s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 7.63s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.06s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 65.48, cpu waiting 42.59%, memory waiting 0.00%, io waiting 0.40%
--- shard 5 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-rest: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$|^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$|^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$|^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$|^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_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 3m33.921s 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 3m31.115s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m46.12s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.69s amadan.net/oficina/equipo/internal/headless TestMacMixedVersions
receipt: slow test 20.94s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.54s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.25s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistantAttachments
machine: 32 CPUs, load 18.12, cpu waiting 7.40%, memory waiting 0.00%, io waiting 0.05%
--- 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 3m28.307s 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 3m26.195s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 15.71s amadan.net/oficina/equipo/internal/thintest TestTasklessHoldResumes
receipt: slow test 10.76s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.67s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 5.45s amadan.net/oficina/equipo/internal/thintest TestResumeBeforeRefusalReported
receipt: slow test 5.44s amadan.net/oficina/equipo/internal/thintest TestNudgeResumesHeldJob
machine: 32 CPUs, load 19.52, cpu waiting 8.18%, memory waiting 0.00%, io waiting 0.06%
--- 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 2m25.233s 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 2m23.066s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.39s amadan.net/oficina/equipo/internal/thintest TestContractRetryPreviewUnverifiedMerge
receipt: slow test 9.04s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 4.94s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 4.89s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 3.01s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
machine: 32 CPUs, load 37.40, cpu waiting 21.67%, memory waiting 0.00%, io waiting 0.19%
--- 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 7m33.236s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 7m39.83s 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 7m33.236s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.09s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.92s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.91s 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 0.92, cpu waiting 0.11%, 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

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

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

receipt: test step 42.258s 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 41.267s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 5.01s amadan.net/oficina/equipo/internal/runner TestEnrolCommitsTheCredentialLast
receipt: slow test 3.55s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.25s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 3.13s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
machine: 32 CPUs, load 42.87, cpu waiting 26.08%, memory waiting 0.00%, io waiting 1.12%
--- 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 39.1%, load 27.37
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

receipt: test step 1m15.912s 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 1m13.531s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 32.75s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 32.69s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 30.3s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 27.06s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 26.97s amadan.net/oficina/equipo/internal/equipotest TestAuthorityProjectOwnershipIsLocal
machine: 32 CPUs, load 61.52, cpu waiting 40.68%, memory waiting 0.00%, io waiting 0.38%
--- 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 39.1%, load 27.37
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 2m24.933s 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 2m22.703s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 23.77s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 23.74s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 23.71s amadan.net/oficina/equipo/internal/equipotest TestProjectRequestActorAndUpdate
receipt: slow test 23.71s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
receipt: slow test 23.7s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
machine: 32 CPUs, load 27.65, cpu waiting 14.41%, memory waiting 0.00%, io waiting 0.11%
--- 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 39.1%, load 27.37
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
budget note: internal/equipotest took 5m42.795s, over the 5m0s its record on line 15 allows; reported only, timing fails on CI

receipt: test step 5m48.962s 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 5m42.795s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 4m46.94s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 14.38s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 11.34s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 11.29s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 8.24s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 2.71, cpu waiting 0.46%, 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 39.1%, load 27.37
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 1m13.811s 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 1m11.508s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 29.62s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 29.38s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 29.32s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 27.26s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
receipt: slow test 27.12s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
machine: 32 CPUs, load 65.48, cpu waiting 41.78%, memory waiting 0.00%, io waiting 0.39%
--- 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 39.1%, load 24.53
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 59.793s 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 57.468s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 4.38s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.58s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.8s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.53s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.53s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 68.08, cpu waiting 44.44%, memory waiting 0.00%, io waiting 0.50%
--- 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 39.1%, load 24.53
test lane rest: ./cmd/equipo ./cmd/equipo-hosted-controller ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/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/hostedclient ./internal/hostedctl ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./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-hosted-controller ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/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/hostedclient ./internal/hostedctl ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./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/hostedclient: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/isolatedjob: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: 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/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
--- FAIL amadan.net/oficina/equipo/internal/runner/webread TestTimeouts
=== RUN   TestTimeouts
    fetch_test.go:537: s1: {Source:s1 Origin:paul Parent: URL:https://shop.example.com/slow-body Hops:[{URL:https://shop.example.com/slow-body Address:151.101.1.1 Status:200}] Address:151.101.1.1 Status:200 Type:text/plain Bytes:5 SHA256:2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 Millis:302 Reason: File:s001.txt}
--- FAIL: TestTimeouts (0.61s)

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

budget: amadan.net/oficina/equipo/internal/runner/pause ran tests but printed no time: add func TestMain(m *testing.M) { os.Exit(budget.Main(m)) }
budget note: internal/equipo took 2m52.227s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 47.43s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/github took 40.217s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/setup took 12.978s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/hostedctl took 31.81s, 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 2m13.151s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 51.602s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 1m8.212s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/forge took 28.888s, over the 20s its record on line 35 allows; reported only, timing fails on CI
budget note: internal/runner/mac took 46.024s, 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 14.761s, 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/provider/claude/realcli took 15.936s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/render took 1m27.099s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m57.835s against a 60s target (the gate's other steps are not in this figure)
receipt: 34 packages ran, 50 cached, 21 without tests, 1 failed
receipt: slow package 2m52.227s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 2m13.151s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m27.099s amadan.net/oficina/equipo/internal/runner/render
receipt: slow package 1m14.7s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 1m8.212s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 1m3.57s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 55.23s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 55.07s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 54.2s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
receipt: slow test 54.02s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestTimeouts$' -count=1 ./internal/runner/webread   (retry, once)
##############################################################################
FLAKE ./internal/runner/webread:TestTimeouts rest 77d0f52803069ac9099220944ba38694ae82f9e2 0.61s 19.52
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 19.52, cpu waiting 7.91%, memory waiting 0.00%, io waiting 0.06%
--- 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 1m27.418s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m25.319s amadan.net/oficina/equipo/internal/headless
receipt: slow test 39.51s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.96s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.62s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.33s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.98s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 70.70, cpu waiting 44.73%, memory waiting 0.00%, io waiting 0.51%
--- 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 1m39.937s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m37.651s amadan.net/oficina/equipo/internal/headless
receipt: slow test 30.01s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 24.17s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 13.47s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 11.17s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
receipt: slow test 9.69s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
machine: 32 CPUs, load 65.48, cpu waiting 43.08%, memory waiting 0.00%, io waiting 0.42%
--- 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 1m57.553s 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 1m55.461s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.95s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.64s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 13.15s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.48s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 11.45s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
machine: 32 CPUs, load 53.75, cpu waiting 33.64%, memory waiting 0.00%, io waiting 0.31%
--- 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

receipt: test step 1m43.714s 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 1m41.838s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.06s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 13.37s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.67s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 9.71s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.6s amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
machine: 32 CPUs, load 61.52, cpu waiting 40.68%, memory waiting 0.00%, io waiting 0.38%
--- 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 4.438s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2.63s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 2.07s amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewPassExchange
receipt: slow test 560ms 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 8.111s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 6.494s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 6.49s 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 10.999s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 12.734s 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 10.999s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 8.67s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.33s 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 4.441s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2.704s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.7s 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 3m41.756s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3m38.883s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 27.22s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.39s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.06s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.68s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.46s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 10.24, cpu waiting 3.80%, memory waiting 0.00%, io waiting 0.04%
--- shard 23 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 23: make test-quarantine
python3 scripts/ci-test.py quarantine
quarantine: 12 tests from scripts/ci-quarantine.txt; a failure is retried once, and a pass on the retry is reported as a flake
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^A5_cancel_and_sign_out$|^TestHeadlessConnections$/^C4_claude_sign_in$|^TestHeadlessConnections$/^C5_engineering_failover$|^TestHeadlessConnections$/^C5_engineering_to_codex$|^TestHeadlessConnections$/^C5_engineering_waits$' ./internal/headless   (54s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.85s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.32s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.36s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.23s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 26.84s
+ 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   (67s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 24.42s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 11.82s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 10.64s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 17.75s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (22s)
ok ./internal/headless TestMixedVersions 19.10s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.82s
+ 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 70.17, cpu waiting 42.68%, memory waiting 0.00%, io waiting 0.72%
--- 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 13.106s 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.541s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 164ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 96ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 2ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/claude/realcli
receipt: slow test 5.43s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.69s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 320ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 160ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 90ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
CGO_ENABLED=0 EQUIPO_REQUIRE_USER_SESSION=1 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 4.527s 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.395s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 320ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 240ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 150ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicy
machine: 32 CPUs, load 16.26, cpu waiting 11.22%, memory waiting 0.00%, io waiting 1.62%
--- 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 39.1%, load 27.37
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 3459 text files, 3968 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: 116 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.881s
machine: 32 CPUs, load 70.70, cpu waiting 44.73%, memory waiting 0.00%, io waiting 0.51%
--- 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 39.1%, load 27.37
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 58.57, cpu waiting 38.19%, memory waiting 0.00%, io waiting 0.85%
--- 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 39.1%, load 24.53
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 71.68, cpu waiting 42.76%, memory waiting 0.00%, io waiting 0.70%
--- 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 39.1%, load 24.53
shard 28: make gitleaks
2:25PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
2:26PM INF 1322 commits scanned.
2:26PM INF scanned ~74872732 bytes (74.87 MB) in 28.8s
2:26PM INF no leaks found
machine: 32 CPUs, load 58.57, cpu waiting 38.19%, memory waiting 0.00%, io waiting 0.85%
=== 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.007ms, worst 1.157ms, budget 150ms
perf: GET /api/runner/protocol: median 70µs, worst 92µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 570µs, worst 617µs, budget 150ms
perf: GET /api/v1/accounts: median 399µs, worst 425µs, budget 150ms
perf: GET /api/v1/auth/devices: median 418µs, worst 459µs, budget 150ms
perf: GET /api/v1/budgets: median 471µs, worst 495µs, budget 150ms
perf: GET /api/v1/capabilities: median 244µs, worst 263µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.249ms, worst 1.321ms, budget 150ms
perf: GET /api/v1/connections: median 541µs, worst 556µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 520µs, worst 572µs, budget 150ms
perf: GET /api/v1/conversation: median 865µs, worst 931µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.403ms, worst 1.465ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.668ms, worst 1.708ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 431µs, worst 453µs, budget 150ms
perf: GET /api/v1/journey: median 8.638ms, worst 8.766ms, budget 150ms
perf: GET /api/v1/me: median 474µs, worst 511µs, budget 150ms
perf: GET /api/v1/me/settings: median 555µs, worst 574µs, budget 150ms
perf: GET /api/v1/needs-you: median 8.404ms, worst 8.467ms, budget 150ms
perf: GET /api/v1/notifications: median 1.598ms, worst 1.781ms, budget 150ms
perf: GET /api/v1/onboarding: median 377µs, worst 417µs, budget 150ms
perf: GET /api/v1/people: median 431µs, worst 471µs, budget 150ms
perf: GET /api/v1/playbooks: median 575µs, worst 619µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 511µs, worst 626µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 821µs, worst 869µs, budget 150ms
perf: GET /api/v1/preferences: median 759µs, worst 782µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 442µs, worst 474µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 573µs, worst 614µs, budget 150ms
perf: GET /api/v1/roster: median 469µs, worst 476µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 406µs, worst 461µs, budget 150ms
perf: GET /api/v1/specialists: median 7.736ms, worst 7.913ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.628ms, worst 7.712ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 812µs, worst 898µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.09ms, worst 1.243ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 721µs, worst 759µs, budget 150ms
perf: GET /api/v1/teams: median 432µs, worst 451µs, budget 150ms
perf: GET /api/v1/templates: median 604µs, worst 675µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 469µs, worst 493µs, budget 150ms
perf: GET /auth/callback: median 77µs, worst 116µs, budget 150ms
perf: GET /auth/devices/{id}: median 4.135ms, worst 6.302ms, budget 150ms
perf: GET /auth/verify: median 80µs, worst 113µs, budget 150ms
perf: GET /connections: median 4.303ms, worst 4.456ms, budget 150ms
perf: GET /conversation: median 8.704ms, worst 8.823ms, budget 150ms
perf: GET /conversation/connections: median 259µs, worst 267µs, budget 150ms
perf: GET /conversation/notebook: median 233µs, worst 257µs, budget 150ms
perf: GET /conversation/settings: median 4.573ms, worst 4.619ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 4.656ms, worst 4.708ms, budget 150ms
perf: GET /conversation/settings/connections: median 7.459ms, worst 7.541ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 7.675ms, worst 7.842ms, budget 150ms
perf: GET /conversation/settings/copy: median 4.901ms, worst 5.04ms, budget 150ms
perf: GET /conversation/settings/github: median 4.414ms, worst 6.421ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.841ms, worst 4.946ms, budget 150ms
perf: GET /conversation/settings/machines: median 5.057ms, worst 5.2ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 5.049ms, worst 5.11ms, budget 150ms
perf: GET /conversation/settings/notebook: median 4.064ms, worst 4.132ms, budget 150ms
perf: GET /conversation/settings/places: median 4.155ms, worst 4.176ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.602ms, worst 4.711ms, budget 150ms
perf: GET /github/connect/installation: median 167µs, worst 176µs, budget 150ms
perf: GET /github/connect/manifest: median 162µs, worst 196µs, budget 150ms
perf: GET /housekeeping: median 4.38ms, worst 4.486ms, budget 150ms
perf: GET /invites/new: median 589µs, worst 623µs, budget 150ms
perf: GET /invites/{id}: median 624µs, worst 639µs, budget 150ms
perf: GET /jobs: median 4ms, worst 4.125ms, budget 150ms
perf: GET /jobs/{id}: median 5.376ms, worst 5.468ms, budget 150ms
perf: GET /journey: median 12.06ms, worst 12.343ms, budget 150ms
perf: GET /nav/rail: median 3.633ms, worst 3.806ms, budget 150ms
perf: GET /needs-you: median 11.547ms, worst 11.973ms, budget 150ms
perf: GET /onboarding: median 4.678ms, worst 4.829ms, budget 150ms
perf: GET /people: median 3.979ms, worst 4.039ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 5.164ms, worst 5.279ms, budget 150ms
perf: GET /playbooks: median 4.769ms, worst 4.875ms, budget 150ms
perf: GET /playbooks/new: median 4.938ms, worst 5.06ms, budget 150ms
perf: GET /playbooks/{id}: median 5.603ms, worst 5.79ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 5.841ms, worst 8.374ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4.9ms, worst 5.019ms, budget 150ms
perf: GET /preferences: median 4.905ms, worst 4.976ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.669ms, worst 4.747ms, budget 150ms
perf: GET /projects: median 6.571ms, worst 6.66ms, budget 150ms
perf: GET /projects/accounts: median 4.234ms, worst 4.317ms, budget 150ms
perf: GET /projects/new: median 4.21ms, worst 4.274ms, budget 150ms
perf: GET /projects/{id}: median 10.836ms, worst 11.028ms, budget 150ms
perf: GET /projects/{id}/edit: median 4.264ms, worst 4.329ms, budget 150ms
perf: GET /runners/enrol: median 5.087ms, worst 5.23ms, budget 150ms
perf: GET /settings: median 4.22ms, worst 7.06ms, budget 150ms
perf: GET /settings/coordinator: median 6.004ms, worst 6.202ms, budget 150ms
perf: GET /settings/devices: median 3.87ms, worst 3.975ms, budget 150ms
perf: GET /settings/recovery: median 4.022ms, worst 4.066ms, budget 150ms
perf: GET /settings/recovery/release: median 3.973ms, worst 4.063ms, budget 150ms
perf: GET /settings/thinking: median 235µs, worst 260µs, budget 150ms
perf: GET /signed-out: median 259µs, worst 283µs, budget 150ms
perf: GET /signin: median 271µs, worst 289µs, budget 150ms
perf: GET /specialists/new: median 3.935ms, worst 4.027ms, budget 150ms
perf: GET /specialists/{key}: median 13.163ms, worst 13.595ms, budget 150ms
perf: GET /specialists/{key}/edit: median 4.618ms, worst 4.83ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.737ms, worst 4.829ms, budget 150ms
perf: GET /tasks: median 7.043ms, worst 7.207ms, budget 150ms
perf: GET /tasks/new: median 4.346ms, worst 6.534ms, budget 150ms
perf: GET /tasks/{id}: median 6.863ms, worst 7.065ms, budget 150ms
perf: GET /tasks/{id}/merge: median 6.229ms, worst 6.313ms, budget 150ms
perf: GET /tasks/{id}/move: median 5.872ms, worst 5.992ms, budget 150ms
perf: GET /tasks/{id}/plan: median 6.291ms, worst 6.385ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.749ms, worst 1.789ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.723ms, worst 5.817ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 5.273ms, worst 5.356ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.807ms, worst 4.906ms, budget 150ms
perf: GET /tasks/{id}/thread: median 8.385ms, worst 8.455ms, budget 150ms
perf: GET /team/{specialist}: median 5.384ms, worst 7.786ms, budget 150ms
perf: GET /teams: median 12.662ms, worst 12.84ms, budget 150ms
perf: GET /templates: median 4.511ms, worst 4.671ms, budget 150ms
perf: GET /usage: median 5.473ms, worst 5.51ms, budget 150ms
perf: GET /work: median 4.07ms, worst 4.108ms, 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.347197ms 163.764885ms 166.803831ms], budget 500ms

receipt: test step 59.336s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 111 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-hosted-controller
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-tool-proxy
receipt: slow 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: 5.39 GiB in 32204 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 1.29 GiB in 46648 files
ci-box: build cache over 4.0 GiB: dropped 1.50 GiB this job did not read, kept 3.90 GiB
diff --git a/internal/release/renderer_install.go b/internal/release/renderer_install.go
index 5e67242c..2886e914 100644
--- a/internal/release/renderer_install.go
+++ b/internal/release/renderer_install.go
@@ -142,6 +142,10 @@ func installTree(runnerDir, pin string, fill func(tmp string) error) (string, er
return final, nil
}
+// testCopyHook runs between copyTree's Lstat of a file and its open
+// (tests only).
+var testCopyHook func(path string)
+
// copyTree copies the tree at from into the empty directory dir:
// directories, regular files (their bytes, in new files) and symbolic
// links, each with its mode; anything else, or more entries or bytes than
@@ -180,19 +184,32 @@ func copyTree(dir, from string) error {
if total += info.Size(); total > rendererUnpackedMax {
return rendererMismatch(name, "more bytes than any renderer tree holds")
}
- in, err := src.Open(name)
+ if testCopyHook != nil {
+ testCopyHook(filepath.Join(from, name))
+ }
+ // Opened without following a link or blocking (a FIFO swapped
+ // in after Lstat), and held to what Lstat saw: the same regular
+ // file, exactly its size, nothing beyond it.
+ in, err := src.OpenFile(name, os.O_RDONLY|syscall.O_NOFOLLOW|syscall.O_NONBLOCK, 0)
if err != nil {
return err
}
defer in.Close()
+ opened, err := in.Stat()
+ if err != nil || !opened.Mode().IsRegular() || !os.SameFile(opened, info) || opened.Size() != info.Size() {
+ return rendererMismatch(name, "changed while it was copied")
+ }
out, err := root.OpenFile(name, os.O_WRONLY|os.O_CREATE|os.O_EXCL, 0o600)
if err != nil {
return err
}
defer out.Close()
- if n, err := io.Copy(out, in); err != nil || n != info.Size() {
+ if n, err := io.CopyN(out, in, info.Size()); err != nil || n != info.Size() {
return rendererMismatch(name, "copied %d of %d bytes: %v", n, info.Size(), err)
}
+ if n, _ := in.Read(make([]byte, 1)); n != 0 {
+ return rendererMismatch(name, "grew while it was copied")
+ }
if err = out.Chmod(mode.Perm()); err != nil {
return err
}
diff --git a/internal/release/renderer_install_linux_test.go b/internal/release/renderer_install_linux_test.go
index 271319c7..16dcda9a 100644
--- a/internal/release/renderer_install_linux_test.go
+++ b/internal/release/renderer_install_linux_test.go
@@ -12,6 +12,7 @@ import (
"strings"
"syscall"
"testing"
+ "time"
"amadan.net/oficina/equipo/internal/release/renderertest"
"amadan.net/oficina/equipo/internal/wire"
@@ -395,3 +396,80 @@ func TestRendererArchivePin(t *testing.T) {
}
}
}
+
+// CopyRenderer copies a verified tree as new files (none linked to the
+// original), and the copy verifies.
+func TestCopyRendererCopies(t *testing.T) {
+ from := installDir(t)
+ archive, pin := renderertest.Archive(renderertest.Small())
+ src, err := InstallRenderer(from, bytes.NewReader(archive), pin)
+ if err != nil {
+ t.Fatal(err)
+ }
+ dir := installDir(t)
+ tree, err := CopyRenderer(dir, src, pin)
+ if err != nil || VerifyRenderer(tree, pin) != nil {
+ t.Fatalf("copy: %v", err)
+ }
+ if _, err = CopyRenderer(installDir(t), filepath.Join(from, "nothing"), pin); err == nil {
+ t.Fatal("copied a tree that does not verify")
+ }
+}
+
+// A file swapped between copyTree's Lstat and its open, for a FIFO (which
+// a blocking open would wait on forever) or a longer file, refuses the
+// copy at once, and nothing is left in place.
+func TestCopyRendererRefusesASwappedFile(t *testing.T) {
+ for name, swap := range map[string]func(path string) error{
+ "a FIFO": func(path string) error {
+ if err := os.Remove(path); err != nil {
+ return err
+ }
+ return syscall.Mkfifo(path, 0o644)
+ },
+ "a longer file": func(path string) error {
+ f, err := os.OpenFile(path, os.O_WRONLY|os.O_APPEND, 0)
+ if err != nil {
+ return err
+ }
+ defer f.Close()
+ _, err = f.Write([]byte("more"))
+ return err
+ },
+ } {
+ t.Run(name, func(t *testing.T) {
+ from := installDir(t)
+ archive, pin := renderertest.Archive(renderertest.Small())
+ src, err := InstallRenderer(from, bytes.NewReader(archive), pin)
+ if err != nil {
+ t.Fatal(err)
+ }
+ swapped := false
+ testCopyHook = func(path string) {
+ if !swapped && filepath.Base(path) != "MANIFEST" {
+ swapped = true
+ if err := swap(path); err != nil {
+ t.Error(err)
+ }
+ }
+ }
+ defer func() { testCopyHook = nil }()
+ // VerifyRenderer of the source runs first, before the hook can
+ // change it; the copy must then refuse on its own.
+ dir := installDir(t)
+ done := make(chan error, 1)
+ go func() { _, err := CopyRenderer(dir, src, pin); done <- err }()
+ select {
+ case err = <-done:
+ case <-time.After(10 * time.Second):
+ t.Fatal("the copy blocked")
+ }
+ if err == nil || !swapped {
+ t.Fatalf("copied with %s swapped in (swapped %v): %v", name, swapped, err)
+ }
+ if _, err := os.Lstat(RendererTree(dir, pin)); !os.IsNotExist(err) {
+ t.Fatalf("a tree left in place: %v", err)
+ }
+ })
+ }
+}
diff --git a/internal/release/renderer_publish_test.go b/internal/release/renderer_publish_test.go
index 95e215a3..5fd323d2 100644
--- a/internal/release/renderer_publish_test.go
+++ b/internal/release/renderer_publish_test.go
@@ -3,12 +3,14 @@ package release
import (
"crypto/sha256"
"encoding/hex"
+ "fmt"
"os"
"os/exec"
"path/filepath"
"strings"
"testing"
+ "amadan.net/oficina/equipo/internal/release/renderertest"
"amadan.net/oficina/equipo/internal/testci"
)
@@ -53,12 +55,15 @@ func newPublishRig(t *testing.T) *publishRig {
// A later commit: the kit is not the current checkout.
run(r.repo, "git", "commit", "-q", "--allow-empty", "-m", "later")
- r.archive = "renderer archive bytes"
+ archive, pin := renderertest.Archive(renderertest.Small())
+ r.archive = string(archive)
r.sources = "The page renderer: Chromium headless shell 1.0-1, from Debian.\nChromium source: https://snapshot.debian.org/package/chromium/1.0-1/\n\n" +
"chromium-headless-shell 1.0-1 amd64 https://snapshot.debian.org/archive/debian/20990101T000000Z/pool/main/c/chromium/chromium-headless-shell_1.0-1_amd64.deb https://snapshot.debian.org/package/chromium/1.0-1/\n"
sum := sha256.Sum256([]byte(r.archive))
r.tag = "renderer-" + hex.EncodeToString(sum[:])[:12]
- for name, body := range map[string]string{"renderer.tar.gz": r.archive, "SOURCES": r.sources, "equipo-runner": "runner", "COMMIT": r.commit + "\n"} {
+ archiveSum := hex.EncodeToString(sum[:])
+ manifest := fmt.Sprintf(`{"targets":{"linux/amd64":{"renderer_sha256":%q,"renderer_archive_sha256":%q,"renderer_archive_size":%d}}}`, pin, archiveSum, len(archive))
+ for name, body := range map[string]string{"renderer.tar.gz": r.archive, "SOURCES": r.sources, "equipo-runner": "runner", "install-manifest.json": manifest, "COMMIT": r.commit + "\n"} {
os.WriteFile(filepath.Join(r.kit, name), []byte(body), 0o644)
}
bin := t.TempDir()
@@ -66,7 +71,7 @@ func newPublishRig(t *testing.T) *publishRig {
// curl: the last argument is the URL; --output names where to write;
// prints the status as --write-out asks.
stub("curl", `out=; for a; do [ "$prev" = --output ] && out=$a; prev=$a; url=$a; done
-echo "curl $url" >> `+r.log+`
+echo "curl $*" >> `+r.log+`
path=`+r.forge+`/${url#https://amadan.net/oficina/equipo/-/releases/}
if [ -f "$path" ]; then cp "$path" "$out"; printf 200; else : > "$out"; printf 404; fi
`)
@@ -74,7 +79,9 @@ if [ -f "$path" ]; then cp "$path" "$out"; printf 200; else : > "$out"; printf 4
stub("amadan", `echo "amadan $*" >> `+r.log+`
tag=$7; shift 7; mkdir -p `+r.forge+`/$tag; for f; do cp "$f" `+r.forge+`/$tag/; done
`)
- stub("go", `printf '%s: go1.26.11\n\tbuild\t-ldflags="-s -w -X amadan.net/oficina/equipo/internal/release.rendererTag=%s"\n' "$3" "${FIXTURE_TAG-`+r.tag+`}"
+ // go version -m: what is linked into the kit's runner; FIXTURE_*
+ // changes one of it.
+ stub("go", `printf '%s: go1.26.11\n\tbuild\t-ldflags="-s -w -X amadan.net/oficina/equipo/internal/release.rendererSHA256=%s -X amadan.net/oficina/equipo/internal/release.rendererArchiveSHA256=%s -X amadan.net/oficina/equipo/internal/release.rendererArchiveSize=%s -X amadan.net/oficina/equipo/internal/release.rendererTag=%s"\n' "$3" "${FIXTURE_PIN-`+pin+`}" "${FIXTURE_SUM-`+archiveSum+`}" "${FIXTURE_SIZE-`+fmt.Sprint(len(archive))+`}" "${FIXTURE_TAG-`+r.tag+`}"
`)
r.env = append(os.Environ(), "PATH="+bin+string(os.PathListSeparator)+os.Getenv("PATH"), "GIT_CONFIG_GLOBAL=/dev/null", "GIT_AUTHOR_NAME=t", "GIT_AUTHOR_EMAIL=t@example.com", "GIT_COMMITTER_NAME=t", "GIT_COMMITTER_EMAIL=t@example.com")
r.origin = origin
@@ -124,7 +131,10 @@ func TestPublishRenderer(t *testing.T) {
if b, _ := os.ReadFile(filepath.Join(dir, "renderer.tar.gz")); string(b) != r.archive {
t.Fatalf("check downloaded %q", b)
}
- if strings.Contains(r.logged(), "-I") || strings.Contains(r.logged(), "--head") || strings.Contains(r.logged(), "--range") {
+ if !strings.Contains(r.logged(), "curl --silent") {
+ t.Fatalf("curl's arguments not logged:\n%s", r.logged())
+ }
+ if strings.Contains(r.logged(), " -I ") || strings.Contains(r.logged(), "--head") || strings.Contains(r.logged(), "--range") || strings.Contains(r.logged(), " -r ") {
t.Fatalf("a HEAD or ranged request:\n%s", r.logged())
}
}
@@ -145,6 +155,14 @@ func TestPublishRendererRefuses(t *testing.T) {
}, nil},
"a tag naming another archive": {func(r *publishRig) []string { return []string{"FIXTURE_TAG=renderer-000000000000"} }, nil},
"no linked tag": {func(r *publishRig) []string { return []string{"FIXTURE_TAG="} }, nil},
+ "another linked size": {func(r *publishRig) []string { return []string{"FIXTURE_SIZE=1"} }, nil},
+ "another linked digest": {func(r *publishRig) []string { return []string{"FIXTURE_SUM=" + strings.Repeat("0", 64)} }, nil},
+ "another linked pin": {func(r *publishRig) []string { return []string{"FIXTURE_PIN=" + strings.Repeat("0", 64)} }, nil},
+ "a manifest recording another size": {func(r *publishRig) []string {
+ raw, _ := os.ReadFile(filepath.Join(r.kit, "install-manifest.json"))
+ os.WriteFile(filepath.Join(r.kit, "install-manifest.json"), []byte(strings.Replace(string(raw), `"renderer_archive_size":`, `"renderer_archive_size":1`, 1)), 0o644)
+ return nil
+ }, nil},
"SOURCES not the pin's": {func(r *publishRig) []string {
os.WriteFile(filepath.Join(r.kit, "SOURCES"), []byte(strings.Replace(r.sources, "1.0-1 amd64", "9.9-9 amd64", 1)), 0o644)
return nil
diff --git a/internal/runner/setup/install.go b/internal/runner/setup/install.go
index 570092f6..fa06f710 100644
--- a/internal/runner/setup/install.go
+++ b/internal/runner/setup/install.go
@@ -442,6 +442,9 @@ func fetchRendererArchive(ctx context.Context, url string, size int64, scratch s
if err != nil {
return nil, err
}
+ // The stall bound covers the wait for each response's headers too.
+ stall := time.AfterFunc(rendererDownloadStall, cancel)
+ defer stall.Stop()
resp, err := c.Do(req)
if err != nil {
return nil, err
@@ -460,8 +463,7 @@ func fetchRendererArchive(ctx context.Context, url string, size int64, scratch s
os.Remove(f.Name())
}
}()
- stall := time.AfterFunc(rendererDownloadStall, cancel)
- defer stall.Stop()
+ stall.Reset(rendererDownloadStall)
n, err := io.Copy(f, progress{io.LimitReader(resp.Body, size+1), func() { stall.Reset(rendererDownloadStall) }})
if err != nil {
return nil, err
diff --git a/internal/runner/setup/renderer_install_test.go b/internal/runner/setup/renderer_install_test.go
index a22c1ee6..0ed04ca0 100644
--- a/internal/runner/setup/renderer_install_test.go
+++ b/internal/runner/setup/renderer_install_test.go
@@ -164,6 +164,9 @@ func TestFetchRendererArchive(t *testing.T) {
w.Write(body)
case "/again":
http.Redirect(w, r, "/object", http.StatusFound)
+ case "/noheaders":
+ // Withholds the response's headers.
+ <-r.Context().Done()
case "/stall":
w.Header().Set("Content-Length", "22")
w.Write(body[:4])
@@ -178,7 +181,7 @@ func TestFetchRendererArchive(t *testing.T) {
defer plain.Close()
forge := httptest.NewTLSServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
to := map[string]string{"/ok": storage.URL + "/object", "/twice": storage.URL + "/again", "/http": plain.URL + "/object",
- "/creds": strings.Replace(storage.URL, "https://", "https://user:pw@", 1) + "/object", "/stall": storage.URL + "/stall"}[r.URL.Path]
+ "/creds": strings.Replace(storage.URL, "https://", "https://user:pw@", 1) + "/object", "/stall": storage.URL + "/stall", "/noheaders": storage.URL + "/noheaders"}[r.URL.Path]
if r.URL.Path == "/gone" {
w.WriteHeader(http.StatusNotFound)
return
@@ -186,9 +189,9 @@ func TestFetchRendererArchive(t *testing.T) {
http.Redirect(w, r, to, http.StatusFound)
}))
defer forge.Close()
- old, oldStall := rendererTransport, rendererDownloadStall
- rendererTransport, rendererDownloadStall = forge.Client().Transport, 200*time.Millisecond
- defer func() { rendererTransport, rendererDownloadStall = old, oldStall }()
+ old, oldStall, oldMax := rendererTransport, rendererDownloadStall, rendererDownloadMax
+ rendererTransport, rendererDownloadStall, rendererDownloadMax = forge.Client().Transport, 200*time.Millisecond, 8*time.Second
+ defer func() { rendererTransport, rendererDownloadStall, rendererDownloadMax = old, oldStall, oldMax }()
scratch := t.TempDir()
f, err := fetchRendererArchive(context.Background(), forge.URL+"/ok", int64(len(body)), scratch)
@@ -204,11 +207,17 @@ func TestFetchRendererArchive(t *testing.T) {
for _, c := range []struct {
path string
size int64
- }{{"/twice", int64(len(body))}, {"/http", int64(len(body))}, {"/creds", int64(len(body))}, {"/gone", int64(len(body))}, {"/ok", int64(len(body)) - 1}, {"/ok", int64(len(body)) + 1}, {"/stall", int64(len(body))}} {
+ }{{"/twice", int64(len(body))}, {"/http", int64(len(body))}, {"/creds", int64(len(body))}, {"/gone", int64(len(body))}, {"/ok", int64(len(body)) - 1}, {"/ok", int64(len(body)) + 1}, {"/stall", int64(len(body))}, {"/noheaders", int64(len(body))}} {
+ began := time.Now()
if f, err := fetchRendererArchive(context.Background(), forge.URL+c.path, c.size, scratch); err == nil {
f.Close()
t.Errorf("%s (size %d) was accepted", c.path, c.size)
}
+ // A stall, body or headers, ends at the stall bound, not the
+ // overall one.
+ if took := time.Since(began); took > 5*time.Second {
+ t.Errorf("%s took %v", c.path, took)
+ }
}
if left, _ := os.ReadDir(scratch); len(left) != 0 {
t.Fatalf("left in scratch: %v", left)
diff --git a/scripts/publish-renderer.sh b/scripts/publish-renderer.sh
index ecfa701a..81c14050 100755
--- a/scripts/publish-renderer.sh
+++ b/scripts/publish-renderer.sh
@@ -9,9 +9,11 @@
# it fetches renderer.tar.gz from the forge release whose tag is linked
# into it (internal/release rendererTag), at
# https://amadan.net/oficina/equipo/-/releases/<tag>/renderer.tar.gz,
-# never from the instance. Both modes first require that the tag is the
-# one linked into the kit's runner and names the archive's digest, and
-# that SOURCES lists exactly the pinned packages of the kit's commit.
+# never from the instance. Both modes first require that everything
+# linked into the kit's runner about the renderer (tree pin, archive
+# digest, size and tag) and what the kit's install manifest records are
+# the kit's archive, that the tag names its digest, and that SOURCES lists
+# exactly the pinned packages of the kit's commit.
#
# publish: if the release exists, check it (below). Otherwise tag the
# kit's commit (never the current checkout), push the tag, create the
@@ -41,7 +43,7 @@ publish) [[ $# -eq 2 ]] || die "usage: publish <kit>" ;;
check) [[ $# -eq 3 ]] || die "usage: check <kit> <dir>"; out=$3 ;;
*) die "usage: publish <kit> | check <kit> <dir>" ;;
esac
-for f in renderer.tar.gz SOURCES equipo-runner COMMIT; do
+for f in renderer.tar.gz SOURCES equipo-runner install-manifest.json COMMIT; do
[[ -f $kit/$f && ! -L $kit/$f ]] || die "$kit/$f is missing"
done
commit=$(cat "$kit/COMMIT")
@@ -49,10 +51,21 @@ commit=$(cat "$kit/COMMIT")
archive_sum=$(sum "$kit/renderer.tar.gz")
sources_sum=$(sum "$kit/SOURCES")
-# The tag linked into the kit's runner, as go version -m reports its build.
-tag=$("$GO" version -m "$kit/equipo-runner" | grep -o 'internal/release\.rendererTag=[^ "]*' | head -1 | cut -d = -f 2)
+# What is linked into the kit's runner, as go version -m reports its build.
+build=$("$GO" version -m "$kit/equipo-runner")
+linked() { grep -o "internal/release\.$1=[^ \"]*" <<<"$build" | head -1 | cut -d = -f 2 || true; }
+tag=$(linked rendererTag)
[[ $tag =~ ^renderer-([0-9a-f]{12})(-r[1-9][0-9]{0,2})?$ ]] || die "no renderer tag is linked into $kit/equipo-runner"
[[ ${BASH_REMATCH[1]} == "${archive_sum:0:12}" ]] || die "the linked tag $tag does not name $kit/renderer.tar.gz ($archive_sum)"
+pin=$(tar -xzOf "$kit/renderer.tar.gz" MANIFEST | sha256sum | cut -d ' ' -f 1) || die "$kit/renderer.tar.gz has no MANIFEST"
+size=$(stat -c %s "$kit/renderer.tar.gz")
+[[ $(linked rendererSHA256) == "$pin" ]] || die "the tree pin linked into $kit/equipo-runner is not $kit/renderer.tar.gz's ($pin)"
+[[ $(linked rendererArchiveSHA256) == "$archive_sum" ]] || die "the archive digest linked into $kit/equipo-runner is not $kit/renderer.tar.gz's"
+[[ $(linked rendererArchiveSize) == "$size" ]] || die "the archive size linked into $kit/equipo-runner is not $kit/renderer.tar.gz's ($size)"
+python3 -I -c 'import json, sys
+t = json.load(open(sys.argv[1]))["targets"]["linux/amd64"]
+sys.exit((t.get("renderer_sha256"), t.get("renderer_archive_sha256"), t.get("renderer_archive_size")) != (sys.argv[2], sys.argv[3], int(sys.argv[4])))' \
+ "$kit/install-manifest.json" "$pin" "$archive_sum" "$size" || die "$kit/install-manifest.json does not record $kit/renderer.tar.gz"
# SOURCES lists exactly the pinned packages of the kit's commit.
scratch=$(mktemp -d "${TMPDIR:-/tmp}/publish-renderer.XXXXXX")
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json
index 578b4000..b4201130 100644
--- a/scripts/runner-reference-allowlist.json
+++ b/scripts/runner-reference-allowlist.json
@@ -22947,49 +22947,70 @@
},
{
"path": "scripts/publish-renderer.sh",
- "line_sha256": "8c1a066495582cbbee487c6d7468ed3a2c853ad25b8c5b9b7378d1128a0d6200",
+ "line_sha256": "b771102631e53880ef59b2b7205148676c212391cb91e5c794edd1ca262107ff",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
},
{
"path": "scripts/publish-renderer.sh",
- "line_sha256": "b771102631e53880ef59b2b7205148676c212391cb91e5c794edd1ca262107ff",
+ "line_sha256": "cacb0ce3596424430de2771a2d6d6aa1a687c9c9306bf05d25cc62d8cadb5942",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
+ },
+ {
+ "path": "scripts/staging-thin-test.py",
+ "line_sha256": "d826390cf4d2c3ab7ab319feb717288f089b85e4094c442cef5e22485d560162",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Staging release test: a fake runner release's file names, to check the preview scanner is installed beside the runner and held to its digest."
+ },
+ {
+ "path": "scripts/staging-thin.py",
+ "line_sha256": "fddde0e2f585d9e093820469ffab1aa5816335cdfbd269c335d0c8ba8e78f9f3",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 staging gate: the staging runner unit, its state root, the production runner config it reads binary paths from, and the runner binary it builds (spec 7)."
+ },
+ {
+ "path": "internal/release/renderer_publish_test.go",
+ "line_sha256": "4f517e11a059b6cc9c259e5a3f866e8b9b8658ef0de5170accfc82620db8948a",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
},
{
"path": "scripts/publish-renderer.sh",
- "line_sha256": "cacb0ce3596424430de2771a2d6d6aa1a687c9c9306bf05d25cc62d8cadb5942",
+ "line_sha256": "3e2ce04554ebb50fbf642ec9adc52dd960bc7067a0bace649eda47ffe9524da0",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
},
{
"path": "scripts/publish-renderer.sh",
- "line_sha256": "cf0796fdf91edec6029f0a07a86f04e9cab0b99b79254079ff5d8ad570bb7c2e",
+ "line_sha256": "70aa552ecbee5b0f5e4d8a2ab0d23769cdfd6947c8de63e530691281a10cab97",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
},
{
- "path": "scripts/staging-thin-test.py",
- "line_sha256": "d826390cf4d2c3ab7ab319feb717288f089b85e4094c442cef5e22485d560162",
+ "path": "scripts/publish-renderer.sh",
+ "line_sha256": "7eb527d34cf00455e3edcb72237ae724811daf778a96b3f625cfd5f3a2050563",
"match": "equipo-runner",
"count": 1,
- "reason": "Staging release test: a fake runner release's file names, to check the preview scanner is installed beside the runner and held to its digest."
+ "reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
},
{
- "path": "scripts/staging-thin.py",
- "line_sha256": "fddde0e2f585d9e093820469ffab1aa5816335cdfbd269c335d0c8ba8e78f9f3",
+ "path": "scripts/publish-renderer.sh",
+ "line_sha256": "973c376e4fde4542bfe416191270d3c02176b83e74551ccbf6bc916bbeb76649",
"match": "equipo-runner",
"count": 1,
- "reason": "Thin v1 staging gate: the staging runner unit, its state root, the production runner config it reads binary paths from, and the runner binary it builds (spec 7)."
+ "reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
},
{
- "path": "internal/release/renderer_publish_test.go",
- "line_sha256": "e74344059d1838d9fd75c02f56ce7302b73664f34724116d22babc53c79c240d",
+ "path": "scripts/publish-renderer.sh",
+ "line_sha256": "cbc5ae108299bc0d402f0bd83cb0cfb3fe6784603074091ce690c8ccbd0df66c",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."