oficina / equipo Public

release: install the pinned gitleaks with the runner

Production never had the preview scanner: upgrade-thin.sh and both
cutover scripts copied only equipo-runner and equipo-tool-proxy, so
every preview failed with preview_scanner (task tkbstr6cjl7h,
2026-11-24). The scripts now install gitleaks beside the runner (0700)
and refuse unless its sha256 is the one linked into the staged runner;
verify-installed refuses a missing or different scanner too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Squashed from install-gitleaks into main.
Paul Campbell pushed by claude agent, operated by paul@keymail.dev f8c54d5f39969c3866ca155a4067a781372508d3 parent 927a031
10 files changed, +434 −68
  • cmd/equipo-runner/install.go +18 −2
  • cmd/equipo-runner/verify_installed_test.go +62 −12
  • internal/release/cutover_finish_test.go +6 −2
  • internal/release/cutover_test.go +2 −1
  • internal/release/scanner_install_test.go +111 −0
  • internal/release/upgrade_test.go +2 −1
  • scripts/cutover-finish-thin.sh +20 −2
  • scripts/cutover-thin.sh +24 −4
  • scripts/runner-reference-allowlist.json +165 −39
  • scripts/upgrade-thin.sh +24 −5

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/main: Type  Size Avail | ext4   96G   86G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   86G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 2.6s
ci-box: codex: fetched and verified in 3.5s
ci-box: codex-code-mode-host: fetched and verified in 1.5s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.4s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.8s
ci-box: pi: installed and verified in 7.2s
ci-box: opencode: installed and verified in 1.9s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 9.4s
ci-box: clone deepened in 3.8s
ci-box: file times set from content: 2988 files, 193 directories
ci-box: ready in 16.8s
=== 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.142s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  1.3s
+ go list -export -test -tags testbuild -f  ./...
  0.8s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  0.3s
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m7.847s 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 1m6.287s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m6.29s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 36.60, cpu waiting 24.40%, memory waiting 0.00%, io waiting 0.82%
--- shard 1 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-review: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m7.434s 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 1m5.803s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m5.8s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 38.74, cpu waiting 24.40%, memory waiting 0.00%, io waiting 0.82%
--- shard 2 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-connections: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m6.69s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m4.757s amadan.net/oficina/equipo/internal/headless
receipt: slow test 56.86s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 4.26s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 3.64s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 38.74, cpu waiting 24.40%, memory waiting 0.00%, io waiting 0.82%
--- shard 3 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-mac: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m5.522s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m3.898s amadan.net/oficina/equipo/internal/headless
receipt: slow test 30.24s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 16.74s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.65s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
receipt: slow test 8.27s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
machine: 32 CPUs, load 38.74, cpu waiting 24.86%, memory waiting 0.00%, io waiting 0.85%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m21.742s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m20.007s amadan.net/oficina/equipo/internal/headless
receipt: slow test 52.34s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.84s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 7.62s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 6.88s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.33s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 34.25, cpu waiting 23.01%, memory waiting 0.00%, io waiting 0.65%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 2m33.085s 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 2m31.013s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m27.04s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 17.91s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.43s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 6.51s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
receipt: slow test 6.4s amadan.net/oficina/equipo/internal/headless TestHeadlessBatchAfterRefusedReply
machine: 32 CPUs, load 13.99, cpu waiting 7.52%, memory waiting 0.00%, io waiting 0.19%
--- 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 422ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2m9.515s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 8.22s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.76s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 3.89s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.63s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 2.54s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 1.04, cpu waiting 0.00%, memory waiting 0.00%, io waiting 2.50%
--- 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 377ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m30.765s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.16s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.11s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.51s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.39s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotNow
receipt: slow test 2.36s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
machine: 32 CPUs, load 1.04, cpu waiting 0.00%, memory waiting 0.00%, io waiting 2.50%
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
cache miss: amadan.net/oficina/equipo/internal/runner/thin: its inputs changed
budget note: internal/runner/thin took 4m36.003s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m49.754s 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 4m36.003s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.97s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.87s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.8s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.46s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.77s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 2.40, cpu waiting 0.75%, memory waiting 0.00%, io waiting 0.02%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

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

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

receipt: test step 35.23s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 34.29s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.68s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.13s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.06s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestCoordinatorTransientRefusalKeepsServing
machine: 32 CPUs, load 28.17, cpu waiting 15.58%, memory waiting 0.00%, io waiting 1.45%
--- shard 12 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-a started 30s late; cpu waiting 30.6%, load 22.70
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m6.125s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m4.164s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 27.63s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 27.59s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.56s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 23.01s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.88s amadan.net/oficina/equipo/internal/equipotest TestBudgetLoweringBelowUsage
machine: 32 CPUs, load 29.54, cpu waiting 18.66%, memory waiting 0.00%, io waiting 0.51%
--- 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 30.6%, load 22.70
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 534ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m17.402s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 20.53s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 20.51s amadan.net/oficina/equipo/internal/equipotest TestProjectKindsAndDefaultBranch
receipt: slow test 20.5s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
receipt: slow test 20.47s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 20.36s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
machine: 32 CPUs, load 22.70, cpu waiting 12.62%, memory waiting 0.00%, io waiting 1.55%
--- 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 30.6%, load 22.70
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m17.773s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m5.531s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.13s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.44s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.39s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.32s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.31s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 27.32, cpu waiting 15.49%, memory waiting 0.00%, io waiting 0.41%
--- 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 30.6%, load 22.70
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 520ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m7.801s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.31s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 25.62s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 25.56s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.74s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedOnce
receipt: slow test 23.55s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
machine: 32 CPUs, load 22.70, cpu waiting 12.62%, memory waiting 0.00%, io waiting 1.55%
--- 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 30.6%, load 22.70
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 764ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 53.915s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.9s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.51s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.62s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.57s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.39s amadan.net/oficina/equipo/internal/plan3test TestOnboardingAccountMigration
machine: 32 CPUs, load 22.70, cpu waiting 12.62%, memory waiting 0.00%, io waiting 1.55%
--- 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 30.6%, load 22.70
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/idtest: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 41.146s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 21.406s, 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 11.688s, 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 1m41.561s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 23.057s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 38.864s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m16.772s against a 60s target (the gate's other steps are not in this figure)
receipt: 17 packages ran, 49 cached, 17 without tests, 0 failed
receipt: slow package 1m41.561s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 52.645s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 51.751s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 41.146s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 38.864s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 54.66s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 45.95s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 45.9s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 45.65s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 45.62s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
machine: 32 CPUs, load 12.00, cpu waiting 5.96%, memory waiting 0.00%, io waiting 0.15%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m19.724s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m18.171s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.21s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.41s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 9.2s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.1s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.35s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 34.25, cpu waiting 23.42%, memory waiting 0.00%, io waiting 0.67%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m18.414s 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 1m16.781s amadan.net/oficina/equipo/internal/headless
receipt: slow test 23.53s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 17.94s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 12.11s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 8.2s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 6.68s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 34.25, cpu waiting 23.42%, memory waiting 0.00%, io waiting 0.67%
--- shard 20 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-connections: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m45.27s 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 1m43.681s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.1s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 11.32s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.03s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 10.75s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 10.6s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
machine: 32 CPUs, load 27.32, cpu waiting 15.98%, memory waiting 0.00%, io waiting 0.43%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m22.309s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m20.808s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.49s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 10.23s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 9.75s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 9.01s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.2s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
machine: 32 CPUs, load 32.47, cpu waiting 22.42%, memory waiting 0.00%, io waiting 0.62%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

receipt: test step 405ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 638ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 640ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor|TestBrowserSmartDoor)$' ./internal/idtest
budget note: internal/idtest took 11.008s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI

receipt: test step 295ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 11.008s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 8.83s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.18s 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 238ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2.03s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.03s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|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 362ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 3m40.772s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 24.63s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.45s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.05s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.77s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.14s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 1.04, cpu waiting 1.11%, memory waiting 0.00%, io waiting 2.48%
--- 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   (47s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.56s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.25s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 6.96s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.14s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.55s
+ 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   (46s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 9.83s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 9.88s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 9.52s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 14.53s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (18s)
ok ./internal/headless TestMixedVersions 16.75s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (1s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.76s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 41.45, cpu waiting 24.01%, memory waiting 0.00%, io waiting 1.15%
--- shard 24 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 24: make runner-host
python3 scripts/runner-prerequisites.py
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks

receipt: test step 8.535s 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.262s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 161ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 69ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow test 5.22s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.66s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 300ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 160ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 70ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.06s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2.733s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 170ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryMalformedRecord
machine: 32 CPUs, load 6.46, cpu waiting 5.14%, memory waiting 0.00%, io waiting 2.10%
--- shard 25 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: runner-dead-references started 30s late; cpu waiting 30.6%, load 22.70
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2701 text files, 3228 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go tool fiesta spacing -skip tokens.css internal/equipo/static
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 92 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.534s
machine: 32 CPUs, load 37.58, cpu waiting 22.12%, memory waiting 0.00%, io waiting 1.23%
--- 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 30.6%, load 22.70
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 22.70, cpu waiting 14.08%, memory waiting 0.00%, io waiting 1.50%
--- 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 30.6%, load 22.70
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.
This scan also found 0 vulnerabilities in packages you import and 3
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 28.17, cpu waiting 16.90%, memory waiting 0.00%, io waiting 1.40%
--- 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 30.6%, load 22.70
shard 28: make gitleaks
7:56PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
7:56PM INF 1152 commits scanned.
7:56PM INF scanned ~65816893 bytes (65.82 MB) in 15.4s
7:56PM INF no leaks found
machine: 32 CPUs, load 37.58, cpu waiting 22.12%, memory waiting 0.00%, io waiting 1.23%
=== perf ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -require TestPerfScreens,TestPerfBoot -tags perf -count=1 -p 1 -parallel 1 -run '^TestPerf' ./...
perf: GET /: median 1.015ms, worst 1.047ms, budget 150ms
perf: GET /api/runner/protocol: median 79µs, worst 96µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 561µs, worst 586µs, budget 150ms
perf: GET /api/v1/accounts: median 404µs, worst 421µs, budget 150ms
perf: GET /api/v1/auth/devices: median 434µs, worst 496µs, budget 150ms
perf: GET /api/v1/budgets: median 458µs, worst 534µs, budget 150ms
perf: GET /api/v1/capabilities: median 226µs, worst 249µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.136ms, worst 1.179ms, budget 150ms
perf: GET /api/v1/connections: median 558µs, worst 622µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 505µs, worst 556µs, budget 150ms
perf: GET /api/v1/conversation: median 865µs, worst 985µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.414ms, worst 1.519ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.661ms, worst 1.795ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 442µs, worst 460µs, budget 150ms
perf: GET /api/v1/journey: median 7.198ms, worst 7.42ms, budget 150ms
perf: GET /api/v1/me: median 406µs, worst 427µs, budget 150ms
perf: GET /api/v1/me/settings: median 496µs, worst 525µs, budget 150ms
perf: GET /api/v1/needs-you: median 7.083ms, worst 7.197ms, budget 150ms
perf: GET /api/v1/notifications: median 1.656ms, worst 1.686ms, budget 150ms
perf: GET /api/v1/onboarding: median 403µs, worst 417µs, budget 150ms
perf: GET /api/v1/people: median 454µs, worst 483µs, budget 150ms
perf: GET /api/v1/playbooks: median 599µs, worst 642µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 553µs, worst 588µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 846µs, worst 879µs, budget 150ms
perf: GET /api/v1/preferences: median 791µs, worst 825µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 458µs, worst 495µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 593µs, worst 606µs, budget 150ms
perf: GET /api/v1/roster: median 467µs, worst 517µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 454µs, worst 462µs, budget 150ms
perf: GET /api/v1/specialists: median 7.917ms, worst 8.207ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.706ms, worst 7.871ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 825µs, worst 893µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.118ms, worst 1.196ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 709µs, worst 795µs, budget 150ms
perf: GET /api/v1/teams: median 420µs, worst 442µs, budget 150ms
perf: GET /api/v1/templates: median 572µs, worst 617µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 426µs, worst 443µs, budget 150ms
perf: GET /auth/callback: median 79µs, worst 88µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.599ms, worst 3.818ms, budget 150ms
perf: GET /auth/verify: median 82µs, worst 101µs, budget 150ms
perf: GET /connections: median 3.907ms, worst 4.007ms, budget 150ms
perf: GET /conversation: median 7.853ms, worst 8.09ms, budget 150ms
perf: GET /conversation/connections: median 250µs, worst 280µs, budget 150ms
perf: GET /conversation/notebook: median 244µs, worst 261µs, budget 150ms
perf: GET /conversation/settings: median 4.234ms, worst 4.365ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 4.253ms, worst 4.374ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.755ms, worst 8.415ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.871ms, worst 7.165ms, budget 150ms
perf: GET /conversation/settings/copy: median 4.339ms, worst 4.479ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.439ms, worst 4.627ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.715ms, worst 4.806ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.713ms, worst 4.793ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.732ms, worst 3.838ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.3ms, worst 4.356ms, budget 150ms
perf: GET /housekeeping: median 4.108ms, worst 4.209ms, budget 150ms
perf: GET /invites/new: median 606µs, worst 635µs, budget 150ms
perf: GET /invites/{id}: median 698µs, worst 709µs, budget 150ms
perf: GET /jobs: median 3.917ms, worst 3.944ms, budget 150ms
perf: GET /jobs/{id}: median 4.994ms, worst 5.359ms, budget 150ms
perf: GET /journey: median 10.398ms, worst 10.752ms, budget 150ms
perf: GET /nav/rail: median 3.202ms, worst 3.348ms, budget 150ms
perf: GET /needs-you: median 10.134ms, worst 10.345ms, budget 150ms
perf: GET /onboarding: median 4.26ms, worst 4.36ms, budget 150ms
perf: GET /people: median 3.641ms, worst 3.753ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.67ms, worst 4.857ms, budget 150ms
perf: GET /playbooks: median 4.297ms, worst 4.548ms, budget 150ms
perf: GET /playbooks/new: median 4.663ms, worst 6.642ms, budget 150ms
perf: GET /playbooks/{id}: median 4.868ms, worst 5.013ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.873ms, worst 5.064ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4.066ms, worst 4.146ms, budget 150ms
perf: GET /preferences: median 4.491ms, worst 4.706ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.31ms, worst 4.352ms, budget 150ms
perf: GET /projects: median 5.943ms, worst 6.087ms, budget 150ms
perf: GET /projects/accounts: median 3.928ms, worst 3.964ms, budget 150ms
perf: GET /projects/new: median 3.928ms, worst 3.946ms, budget 150ms
perf: GET /projects/{id}: median 10.649ms, worst 10.968ms, budget 150ms
perf: GET /projects/{id}/edit: median 4.2ms, worst 5.977ms, budget 150ms
perf: GET /runners/enrol: median 4.762ms, worst 4.834ms, budget 150ms
perf: GET /settings: median 3.799ms, worst 3.887ms, budget 150ms
perf: GET /settings/coordinator: median 5.716ms, worst 5.904ms, budget 150ms
perf: GET /settings/devices: median 3.642ms, worst 3.69ms, budget 150ms
perf: GET /settings/recovery: median 3.767ms, worst 3.817ms, budget 150ms
perf: GET /settings/recovery/release: median 3.745ms, worst 3.858ms, budget 150ms
perf: GET /settings/thinking: median 251µs, worst 324µs, budget 150ms
perf: GET /signed-out: median 258µs, worst 296µs, budget 150ms
perf: GET /signin: median 273µs, worst 292µs, budget 150ms
perf: GET /specialists/new: median 3.69ms, worst 3.775ms, budget 150ms
perf: GET /specialists/{key}: median 10.9ms, worst 11.044ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.9ms, worst 3.947ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.132ms, worst 7.275ms, budget 150ms
perf: GET /tasks: median 6.095ms, worst 6.322ms, budget 150ms
perf: GET /tasks/new: median 3.615ms, worst 3.749ms, budget 150ms
perf: GET /tasks/{id}: median 5.792ms, worst 6.046ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.165ms, worst 5.223ms, budget 150ms
perf: GET /tasks/{id}/move: median 4.966ms, worst 5.132ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.921ms, worst 6.094ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.488ms, worst 1.525ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.407ms, worst 5.55ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.917ms, worst 5.092ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.597ms, worst 7.637ms, budget 150ms
perf: GET /tasks/{id}/thread: median 8.332ms, worst 8.829ms, budget 150ms
perf: GET /team/{specialist}: median 4.719ms, worst 4.89ms, budget 150ms
perf: GET /teams: median 10.351ms, worst 10.445ms, budget 150ms
perf: GET /templates: median 3.816ms, worst 3.856ms, budget 150ms
perf: GET /usage: median 4.655ms, worst 4.732ms, budget 150ms
perf: GET /work: median 3.454ms, worst 3.531ms, 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/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/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 158ms of [157.222143ms 157.72101ms 157.807801ms], budget 500ms

receipt: test step 32.717s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 88 without tests, 0 failed
receipt: slow package 10.235s amadan.net/oficina/equipo/internal/equipotest
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-tool-proxy
receipt: slow package 0s amadan.net/oficina/equipo/internal/advice
receipt: slow test 9.71s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 520ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 2.90 GiB in 23454 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 1.15 GiB in 40997 files

landed from install-gitleaks

diff --git a/cmd/equipo-runner/install.go b/cmd/equipo-runner/install.go
index ba373244..02540126 100644
--- a/cmd/equipo-runner/install.go
+++ b/cmd/equipo-runner/install.go
@@ -6,6 +6,7 @@ import (
"bufio"
"context"
"encoding/json"
+ "errors"
"flag"
"fmt"
"io"
@@ -61,7 +62,11 @@ func installRunner(ctx context.Context, args []string, input io.Reader, out, err
if cfg.Origin != *origin || cfg.StateDir != filepath.Join(*root, "state") {
return fail("runner.install.config")
}
- if verifyInstalled(release.BuildManifest(), cfg) != nil {
+ // The service starts the installed runner, not this one, and that
+ // runner looks for the scanner beside itself.
+ installed := cfg
+ installed.Executable = result.BinaryPath
+ if result.BinaryPath == "" || verifyInstalled(release.BuildManifest(), installed) != nil {
return fail("runner.install.release")
}
cfg.MachineLabel = label
@@ -87,12 +92,23 @@ func installRunner(ctx context.Context, args []string, input io.Reader, out, err
return 0
}
+// scannerPin is the gitleaks hash linked into this build; tests replace it.
+var scannerPin = release.GitleaksSHA256
+
+var errScanner = errors.New("preview_scanner_unverified")
+
// verifyInstalled holds every program this runner starts, at the paths in
// its configuration, to the digests of this release: bubblewrap, claude,
-// codex, its code mode host and the tool proxy built with this runner.
+// codex, its code mode host and the tool proxy built with this runner,
+// and the preview scanner (gitleaks) beside the runner's executable, where
+// the runner looks for it, to the hash linked into this build. Without
+// that scanner every preview fails (preview_scanner).
// The installer runs it before enrolling, and staging and the production
// cutover run it (equipo-runner verify-installed) before starting a unit.
func verifyInstalled(m release.Manifest, cfg runner.Config) error {
+ if !release.VerifyGitleaks(filepath.Join(filepath.Dir(cfg.Executable), "gitleaks"), scannerPin()) {
+ return errScanner
+ }
// The pinned Pi and OpenCode, where this runner has them, are held
// to their pins too.
if cfg.PiRoot != "" {
diff --git a/cmd/equipo-runner/verify_installed_test.go b/cmd/equipo-runner/verify_installed_test.go
index ad95021f..07f7b733 100644
--- a/cmd/equipo-runner/verify_installed_test.go
+++ b/cmd/equipo-runner/verify_installed_test.go
@@ -17,18 +17,7 @@ import (
// changed program, one missing, or a build that recorded no tool proxy
// refuses.
func TestVerifyInstalledHoldsEveryProgramToTheRelease(t *testing.T) {
- dir := t.TempDir()
- m := release.BuildManifest()
- m.Binaries = nil
- cfg := runner.Config{Executable: filepath.Join(dir, "equipo-runner")}
- paths := map[string]*string{"bwrap": &cfg.BwrapPath, "claude": &cfg.ClaudePath, "codex": &cfg.CodexPath, "codex-code-mode-host": &cfg.CodexCodeModeHostPath, "equipo-tool-proxy": &cfg.ToolProxyPath}
- for name, version := range map[string]string{"bwrap": m.BwrapVersion, "claude": m.Claude, "codex": m.Codex, "codex-code-mode-host": m.Codex, "equipo-tool-proxy": m.LauncherVersion} {
- *paths[name] = filepath.Join(dir, name)
- if err := os.WriteFile(*paths[name], []byte(name), 0700); err != nil {
- t.Fatal(err)
- }
- m.Binaries = append(m.Binaries, release.BinaryDigest{Name: name, Version: version, SHA256: fmt.Sprintf("%x", sha256.Sum256([]byte(name)))})
- }
+ m, cfg, paths := installedFixture(t)
if err := verifyInstalled(m, cfg); err != nil {
t.Fatalf("the release's own programs refused: %v", err)
}
@@ -67,3 +56,64 @@ func TestVerifyInstalledHoldsEveryProgramToTheRelease(t *testing.T) {
t.Fatal("a build that recorded no tool proxy verified an installation")
}
}
+
+// installedFixture is a release's programs, each its own bytes, and the
+// preview scanner beside the runner with the pin linked into this build.
+func installedFixture(t *testing.T) (release.Manifest, runner.Config, map[string]*string) {
+ t.Helper()
+ dir := t.TempDir()
+ m := release.BuildManifest()
+ m.Binaries = nil
+ cfg := runner.Config{Executable: filepath.Join(dir, "equipo-runner")}
+ paths := map[string]*string{"bwrap": &cfg.BwrapPath, "claude": &cfg.ClaudePath, "codex": &cfg.CodexPath, "codex-code-mode-host": &cfg.CodexCodeModeHostPath, "equipo-tool-proxy": &cfg.ToolProxyPath}
+ for name, version := range map[string]string{"bwrap": m.BwrapVersion, "claude": m.Claude, "codex": m.Codex, "codex-code-mode-host": m.Codex, "equipo-tool-proxy": m.LauncherVersion} {
+ *paths[name] = filepath.Join(dir, name)
+ if err := os.WriteFile(*paths[name], []byte(name), 0700); err != nil {
+ t.Fatal(err)
+ }
+ m.Binaries = append(m.Binaries, release.BinaryDigest{Name: name, Version: version, SHA256: fmt.Sprintf("%x", sha256.Sum256([]byte(name)))})
+ }
+ if err := os.WriteFile(filepath.Join(dir, "gitleaks"), []byte("scanner"), 0700); err != nil {
+ t.Fatal(err)
+ }
+ old := scannerPin
+ scannerPin = func() string { return fmt.Sprintf("%x", sha256.Sum256([]byte("scanner"))) }
+ t.Cleanup(func() { scannerPin = old })
+ return m, cfg, paths
+}
+
+// The runner scans every preview with the gitleaks beside its own
+// executable, held to the hash linked into its build; without it every
+// preview fails (preview_scanner). An installation without that scanner,
+// with another one, or one that cannot run, does not verify; nor does a
+// build that linked no scanner hash.
+func TestVerifyInstalledHoldsTheScannerBesideTheRunner(t *testing.T) {
+ m, cfg, _ := installedFixture(t)
+ scanner := filepath.Join(filepath.Dir(cfg.Executable), "gitleaks")
+ if err := verifyInstalled(m, cfg); err != nil {
+ t.Fatalf("the release's own scanner refused: %v", err)
+ }
+ for name, change := range map[string]func() error{
+ "no scanner": func() error { return os.Remove(scanner) },
+ "another scanner": func() error { return os.WriteFile(scanner, []byte("another scanner"), 0700) },
+ "not executable": func() error { return os.Chmod(scanner, 0600) },
+ } {
+ if err := change(); err != nil {
+ t.Fatal(err)
+ }
+ if verifyInstalled(m, cfg) == nil {
+ t.Fatal("verified with", name)
+ }
+ _ = os.Remove(scanner)
+ if err := os.WriteFile(scanner, []byte("scanner"), 0700); err != nil {
+ t.Fatal(err)
+ }
+ if err := verifyInstalled(m, cfg); err != nil {
+ t.Fatalf("after %s, the restored scanner refused: %v", name, err)
+ }
+ }
+ scannerPin = func() string { return "" }
+ if verifyInstalled(m, cfg) == nil {
+ t.Fatal("a build that linked no scanner hash verified an installation")
+ }
+}
diff --git a/internal/release/cutover_finish_test.go b/internal/release/cutover_finish_test.go
index b971d84f..81c86987 100644
--- a/internal/release/cutover_finish_test.go
+++ b/internal/release/cutover_finish_test.go
@@ -38,11 +38,12 @@ func newFinishRig(t *testing.T) *finishRig {
r.write(filepath.Join(r.repo, "scripts", name), string(src), 0700)
}
release := filepath.Join(r.repo, "releases", "equipo-runner-linux-amd64-"+finishVersion)
- runner := "#!/bin/sh\nif [ \"$1\" = verify-installed ]; then echo \"equipo-runner verify-installed $EQUIPO_TOOL_PROXY_PATH\" >> " + r.log + "; exit; fi\necho \"equipo-runner $1 $EQUIPO_INSTANCE_ID $EQUIPO_ORIGIN\" >> " + r.log + "\n[ -e " + filepath.Join(root, "enrolfail") + " ] && exit 1\n# The running runner holds the state lock enrol needs.\n[ -e " + filepath.Join(root, "active") + " ] && { echo state locked >&2; exit 1; }\necho new > \"$EQUIPO_RUNNER_STATE_DIR/credentials.json\"\n"
+ runner := "#!/bin/sh\nif [ \"$1\" = verify-installed ]; then echo \"equipo-runner verify-installed $EQUIPO_TOOL_PROXY_PATH\" >> " + r.log + "; exit; fi\necho \"equipo-runner $1 $EQUIPO_INSTANCE_ID $EQUIPO_ORIGIN\" >> " + r.log + "\n[ -e " + filepath.Join(root, "enrolfail") + " ] && exit 1\n# The running runner holds the state lock enrol needs.\n[ -e " + filepath.Join(root, "active") + " ] && { echo state locked >&2; exit 1; }\necho new > \"$EQUIPO_RUNNER_STATE_DIR/credentials.json\"\n" + linkedScanner
r.write(filepath.Join(release, "equipo-runner"), runner, 0700)
r.write(filepath.Join(release, "equipo-tool-proxy"), "proxy", 0700)
+ r.write(filepath.Join(release, "gitleaks"), scannerBytes, 0700)
sum := func(s string) string { h := sha256.Sum256([]byte(s)); return hex.EncodeToString(h[:]) }
- r.write(filepath.Join(r.repo, "releases", "staged", finishVersion+".json"), `{"staging": "PASS", "sha256": {"runner": "`+sum(runner)+`", "tool_proxy": "`+sum("proxy")+`"}}`, 0600)
+ r.write(filepath.Join(r.repo, "releases", "staged", finishVersion+".json"), `{"staging": "PASS", "sha256": {"runner": "`+sum(runner)+`", "tool_proxy": "`+sum("proxy")+`", "gitleaks": "`+sum(scannerBytes)+`"}}`, 0600)
r.serviceEnv = "EQUIPO_ORIGIN=\"https://equipo.bds.oncarlos.com\"\nEQUIPO_INSTANCE_ID=\"" + keptID + "\"\nEQUIPO_TOOL_PROXY_PATH=\"/old/equipo-tool-proxy\"\nEQUIPO_RUNNER_STATE_DIR=\"" + filepath.Join(r.runner, "state") + "\"\n"
r.unit = "[Service]\nEnvironmentFile=" + filepath.Join(r.runner, "service.env") + "\nExecStart=/old/equipo-runner run\nRestart=on-failure\nRestartSec=5\n"
r.write(filepath.Join(r.runner, "service.env"), r.serviceEnv, 0600)
@@ -181,6 +182,9 @@ func TestCutoverFinishRefusesBeforeChangingAnything(t *testing.T) {
"other runner bytes": func(r *finishRig) {
r.write(filepath.Join(r.repo, "releases", "equipo-runner-linux-amd64-"+finishVersion, "equipo-runner"), "#!/bin/sh\n", 0700)
},
+ "unstaged scanner": func(r *finishRig) {
+ r.write(filepath.Join(r.repo, "releases", "staged", finishVersion+".json"), strings.Replace(r.read(filepath.Join(r.repo, "releases", "staged", finishVersion+".json")), `"gitleaks": "`, `"gitleaks": "0`, 1), 0600)
+ },
"unstaged version": func(r *finishRig) {
r.write(filepath.Join(r.repo, "releases", "staged", finishVersion+".json"), `{"staging": "FAIL"}`, 0600)
},
diff --git a/internal/release/cutover_test.go b/internal/release/cutover_test.go
index 1cda7d80..2e268c53 100644
--- a/internal/release/cutover_test.go
+++ b/internal/release/cutover_test.go
@@ -39,8 +39,9 @@ func newCutoverRig(t *testing.T) *cutoverRig {
release := filepath.Join(repo, "releases", "equipo-runner-linux-amd64-"+cutoverVersion)
// The staged runner's enrol records the instance id it was given.
// It also answers verify-installed, with the tool proxy it was told to use.
- r.write(filepath.Join(release, "equipo-runner"), "#!/bin/sh\nif [ \"$1\" = verify-installed ]; then echo \"equipo-runner verify-installed $EQUIPO_TOOL_PROXY_PATH\" >> "+r.log+"; [ ! -e "+filepath.Join(root, "verifyfail")+" ]; exit; fi\necho \"equipo-runner $1\" >> "+r.log+"\necho \"$EQUIPO_INSTANCE_ID\" > "+filepath.Join(root, "enrolled")+"\necho new > \"$EQUIPO_RUNNER_STATE_DIR/credentials.json\"\n", 0700)
+ r.write(filepath.Join(release, "equipo-runner"), "#!/bin/sh\nif [ \"$1\" = verify-installed ]; then echo \"equipo-runner verify-installed $EQUIPO_TOOL_PROXY_PATH\" >> "+r.log+"; [ ! -e "+filepath.Join(root, "verifyfail")+" ]; exit; fi\necho \"equipo-runner $1\" >> "+r.log+"\necho \"$EQUIPO_INSTANCE_ID\" > "+filepath.Join(root, "enrolled")+"\necho new > \"$EQUIPO_RUNNER_STATE_DIR/credentials.json\"\n"+linkedScanner, 0700)
r.write(filepath.Join(release, "equipo-tool-proxy"), "proxy", 0700)
+ r.write(filepath.Join(release, "gitleaks"), scannerBytes, 0700)
r.serviceEnv = []byte("EQUIPO_ORIGIN=\"https://equipo.bds.oncarlos.com\"\nEQUIPO_INSTANCE_ID=\"" + oldInstanceID + "\"\nEQUIPO_TOOL_PROXY_PATH=\"/old/equipo-tool-proxy\"\nEQUIPO_RUNNER_STATE_DIR=\"" + filepath.Join(r.runner, "state") + "\"\nEQUIPO_SCRATCH_ROOT=\"/old/scratch\"\nEQUIPO_WORKSPACE_ROOT=\"/old/work\"\n")
r.unit = []byte("[Service]\nExecStart=/old/equipo-runner run\nRestart=on-failure\nRestartSec=5\n")
r.write(filepath.Join(r.runner, "service.env"), string(r.serviceEnv), 0600)
diff --git a/internal/release/scanner_install_test.go b/internal/release/scanner_install_test.go
new file mode 100644
index 00000000..8167f3fe
--- /dev/null
+++ b/internal/release/scanner_install_test.go
@@ -0,0 +1,111 @@
+package release
+
+import (
+ "crypto/sha256"
+ "encoding/hex"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+)
+
+// The rigs' gitleaks, and the line that links its hash into their stub
+// runners, as the release build links it into equipo-runner.
+const scannerBytes = "scanner"
+
+var linkedScanner = func() string {
+ sum := sha256.Sum256([]byte(scannerBytes))
+ return "# gitleaks " + hex.EncodeToString(sum[:]) + "\n"
+}()
+
+// scriptRig is one production script's rig, seen the same way: where the
+// staged runner release is, where the script installs it, and how to plan
+// and run it.
+type scriptRig struct {
+ release, installed, log string
+ plan, execute func() (string, error)
+}
+
+func scannerRigs(t *testing.T) map[string]func() scriptRig {
+ return map[string]func() scriptRig{
+ "upgrade-thin.sh": func() scriptRig {
+ r := newUpgradeRig(t)
+ release := filepath.Join(filepath.Dir(r.script), "..", "releases", "equipo-runner-linux-amd64-"+upgradeTo)
+ return scriptRig{release, filepath.Join(r.runner, "releases", upgradeTo), r.log,
+ func() (string, error) { return r.run(upgradeTo) }, func() (string, error) { return r.run(upgradeTo, "--execute") }}
+ },
+ "cutover-thin.sh": func() scriptRig {
+ r := newCutoverRig(t)
+ release := filepath.Join(filepath.Dir(r.script), "..", "releases", "equipo-runner-linux-amd64-"+cutoverVersion)
+ return scriptRig{release, filepath.Join(r.runner, "releases", cutoverVersion), r.log,
+ func() (string, error) { return r.run(cutoverVersion) }, func() (string, error) { return r.run(cutoverVersion, "--execute") }}
+ },
+ "cutover-finish-thin.sh": func() scriptRig {
+ r := newFinishRig(t)
+ release := filepath.Join(r.repo, "releases", "equipo-runner-linux-amd64-"+finishVersion)
+ return scriptRig{release, filepath.Join(r.runner, "releases", finishVersion), r.log,
+ func() (string, error) { return r.run("cutover-finish-thin.sh") }, func() (string, error) { return r.run("cutover-finish-thin.sh", "--execute") }}
+ },
+ }
+}
+
+// The runner scans every preview with the gitleaks beside its own
+// executable; without it every preview fails (preview_scanner). Each
+// script that installs a production runner checks the staged scanner in
+// its preflight and installs it beside the runner, 0700 like the others.
+func TestThinScriptsInstallTheScannerBesideTheRunner(t *testing.T) {
+ for name, rig := range scannerRigs(t) {
+ t.Run(name, func(t *testing.T) {
+ r := rig()
+ out, err := r.plan()
+ if err != nil {
+ t.Fatalf("plan: %v\n%s", err, out)
+ }
+ inOrder(t, out, "== ", filepath.Join(r.release, "gitleaks")+": executable, and its sha256 is linked into "+filepath.Join(r.release, "equipo-runner"),
+ "install -m 0700 "+filepath.Join(r.release, "equipo-runner")+" "+filepath.Join(r.release, "equipo-tool-proxy")+" "+filepath.Join(r.release, "gitleaks")+" "+r.installed+"/",
+ "verify-installed")
+ if out, err = r.execute(); err != nil {
+ t.Fatalf("execute: %v\n%s", err, out)
+ }
+ info, err := os.Stat(filepath.Join(r.installed, "gitleaks"))
+ if err != nil || info.Mode().Perm() != 0700 {
+ t.Fatalf("gitleaks not installed 0700 beside the runner: %v %v", info, err)
+ }
+ if raw, _ := os.ReadFile(filepath.Join(r.installed, "gitleaks")); string(raw) != scannerBytes {
+ t.Fatalf("installed another scanner: %q", raw)
+ }
+ })
+ }
+}
+
+// A staged release without the scanner, with another one, or with one
+// that cannot run, is refused in the preflight, before anything changes.
+func TestThinScriptsRefuseWithoutTheLinkedScanner(t *testing.T) {
+ for name, rig := range scannerRigs(t) {
+ for fault, set := range map[string]func(scanner string) error{
+ "missing": os.Remove,
+ "other bytes": func(s string) error { return os.WriteFile(s, []byte("another scanner"), 0700) },
+ "not executable": func(s string) error { return os.Chmod(s, 0600) },
+ } {
+ t.Run(name+"/"+fault, func(t *testing.T) {
+ r := rig()
+ if err := set(filepath.Join(r.release, "gitleaks")); err != nil {
+ t.Fatal(err)
+ }
+ out, err := r.execute()
+ if err == nil || !strings.Contains(out, "refused: ") || !strings.Contains(out, "gitleaks") {
+ t.Fatalf("not refused for the scanner: %v\n%s", err, out)
+ }
+ raw, _ := os.ReadFile(r.log)
+ for _, change := range []string{"db pull", "env set", "env unset", "daemon-reload", "deploy", "enrol", "restart", "stop"} {
+ if strings.Contains(string(raw), change) {
+ t.Fatalf("changed something (%s) before refusing:\n%s", change, raw)
+ }
+ }
+ if _, err := os.Stat(r.installed); !os.IsNotExist(err) {
+ t.Fatalf("installed something before refusing: %v", err)
+ }
+ })
+ }
+ }
+}
diff --git a/internal/release/upgrade_test.go b/internal/release/upgrade_test.go
index 6d0f4d80..5c25ee7f 100644
--- a/internal/release/upgrade_test.go
+++ b/internal/release/upgrade_test.go
@@ -41,9 +41,10 @@ func newUpgradeRig(t *testing.T) *upgradeRig {
r.write(filepath.Join(repo, "scripts", "runner-config.py"), string(helper), 0700)
r.write(filepath.Join(repo, "releases", "equipo-linux-arm64-"+upgradeTo), "instance", 0600)
release := filepath.Join(repo, "releases", "equipo-runner-linux-amd64-"+upgradeTo)
- runner := "#!/bin/sh\nif [ \"$1\" = verify-installed ]; then echo \"equipo-runner verify-installed $EQUIPO_TOOL_PROXY_PATH\" >> " + r.log + "; [ ! -e " + filepath.Join(root, "verifyfail") + " ]; exit; fi\necho \"equipo-runner $1\" >> " + r.log + "\n"
+ runner := "#!/bin/sh\nif [ \"$1\" = verify-installed ]; then echo \"equipo-runner verify-installed $EQUIPO_TOOL_PROXY_PATH\" >> " + r.log + "; [ ! -e " + filepath.Join(root, "verifyfail") + " ]; exit; fi\necho \"equipo-runner $1\" >> " + r.log + "\n" + linkedScanner
r.write(filepath.Join(release, "equipo-runner"), runner, 0700)
r.write(filepath.Join(release, "equipo-tool-proxy"), "proxy", 0700)
+ r.write(filepath.Join(release, "gitleaks"), scannerBytes, 0700)
sum := sha256.Sum256([]byte(runner))
r.write(filepath.Join(repo, "releases", "staged", upgradeTo+".json"), `{"staging": "PASS", "sha256": {"runner": "`+hex.EncodeToString(sum[:])+`"}}`, 0600)
old := filepath.Join(r.runner, "releases", upgradeFrom)
diff --git a/scripts/cutover-finish-thin.sh b/scripts/cutover-finish-thin.sh
index 66c1d9b5..310f927b 100755
--- a/scripts/cutover-finish-thin.sh
+++ b/scripts/cutover-finish-thin.sh
@@ -108,6 +108,22 @@ identity() {
done
}
+# The runner scans every preview with the gitleaks beside its own
+# executable, held to the hash linked into the runner; without it every
+# preview fails (preview_scanner). $1 is a runner release directory: its
+# gitleaks runs, and its sha256 is the one linked into its equipo-runner.
+scanner_linked() {
+ local sum
+ [[ -f $1/gitleaks && ! -L $1/gitleaks && -x $1/gitleaks ]] || return 1
+ sum=$(sha256sum "$1/gitleaks" | cut -d ' ' -f 1) || return 1
+ grep -qaF "$sum" "$1/equipo-runner"
+}
+scanner() {
+ echo " $1/gitleaks: executable, and its sha256 is linked into $1/equipo-runner"
+ if ((execute)) && ! scanner_linked "$1"; then
+ die "$1/gitleaks is missing, cannot run, or is not the scanner equipo-runner was built with"
+ fi
+}
# A hash from the green staging record of $version (empty if there is none).
staged_sha() { python3 -c 'import json,sys; d=json.load(open(sys.argv[1])); print(d["sha256"][sys.argv[2]] if d.get("staging") == "PASS" else "")' "$RELEASES/staged/$version.json" "$1" 2>/dev/null || true; }
@@ -203,12 +219,14 @@ echo "Finish the cutover to ${version:--unknown-} on the kept database, instance
step "6 identity: the instance names the kept database's id (no replica)"
run curl -fsS "$ORIGIN/api/version"
echo " $ORIGIN/install.sh and $PUBLIC_ORIGIN/install.sh must end: sh -s -- '$PUBLIC_ORIGIN' '$version' '$old_id'"
-echo " the staged runner and tool proxy must have the hashes in $RELEASES/staged/$version.json"
+echo " the staged runner, tool proxy and gitleaks must have the hashes in $RELEASES/staged/$version.json"
+scanner "$runner_release"
if ((execute)) && ! done_step identity; then
[[ $(curl -fsS "$ORIGIN/api/version") == "$version" ]] || die "production does not serve $version"
identity
[[ $(sha256sum "$runner_release/equipo-runner" | cut -d ' ' -f 1) == "$(staged_sha runner)" ]] || die "equipo-runner is not the one staging passed for $version"
[[ $(sha256sum "$runner_release/equipo-tool-proxy" | cut -d ' ' -f 1) == "$(staged_sha tool_proxy)" ]] || die "equipo-tool-proxy is not the one staging passed for $version"
+ [[ $(sha256sum "$runner_release/gitleaks" | cut -d ' ' -f 1) == "$(staged_sha gitleaks)" ]] || die "gitleaks is not the one staging passed for $version"
put new_instance_id "$old_id"
put kept_database 1
finish identity
@@ -242,7 +260,7 @@ if ! done_step runner; then
fi
echo " $UNIT is $RUNNER_ROOT/equipo-runner.service with state $RUNNER_ROOT/state; its files recorded once in $snap"
run install -d -m 0700 "$new"
- run install -m 0700 "$runner_release/equipo-runner" "$runner_release/equipo-tool-proxy" "$new/"
+ run install -m 0700 "$runner_release/equipo-runner" "$runner_release/equipo-tool-proxy" "$runner_release/gitleaks" "$new/"
run python3 "$REPO/scripts/runner-config.py" render "$snap" "$RUNNER_ROOT" "${config[@]}"
if ((execute)); then move_state; else
run mv "$RUNNER_ROOT/state" "$kept"
diff --git a/scripts/cutover-thin.sh b/scripts/cutover-thin.sh
index 06dcc0f3..d529a3ba 100755
--- a/scripts/cutover-thin.sh
+++ b/scripts/cutover-thin.sh
@@ -26,7 +26,8 @@
# platform replica; it must exist and differ from the old one.
# Nothing on the runner has changed yet, so a failure here
# still rolls back cleanly.
-# 7 runner install the staged runner beside the old one, new service.env
+# 7 runner install the staged runner, tool proxy and gitleaks (the
+# preview scanner) beside the old one, new service.env
# (tool proxy path, new instance id) and unit
# (RestartPreventExitStatus=3), old state moved aside
# 8 enrol the runner enrols with the new instance, the owner approves
@@ -63,7 +64,7 @@ version=${1:-}
execute=0
[[ ${2:-} == --execute ]] && execute=1
if [[ $mode == cutover && ! $version =~ ^[0-9a-f]{7,12}$ ]]; then
- sed -n '2,40p' "$0"
+ sed -n '2,41p' "$0"
exit 2
fi
@@ -89,6 +90,22 @@ done_step() { [[ $(get "done_$1") == 1 ]]; }
finish() { put "done_$1" 1; }
# env_value reads one key from a `carlos env list` listing on stdin.
env_value() { awk -v k="$1" '$1 == k { print $2; found = 1 } END { if (!found) print "-unset-" }'; }
+# The runner scans every preview with the gitleaks beside its own
+# executable, held to the hash linked into the runner; without it every
+# preview fails (preview_scanner). $1 is a runner release directory: its
+# gitleaks runs, and its sha256 is the one linked into its equipo-runner.
+scanner_linked() {
+ local sum
+ [[ -f $1/gitleaks && ! -L $1/gitleaks && -x $1/gitleaks ]] || return 1
+ sum=$(sha256sum "$1/gitleaks" | cut -d ' ' -f 1) || return 1
+ grep -qaF "$sum" "$1/equipo-runner"
+}
+scanner() {
+ echo " $1/gitleaks: executable, and its sha256 is linked into $1/equipo-runner"
+ if ((execute)) && ! scanner_linked "$1"; then
+ die "$1/gitleaks is missing, cannot run, or is not the scanner equipo-runner was built with"
+ fi
+}
overlaps() { case "$1/" in "$2"/*) return 0 ;; esac; case "$2/" in "$1"/*) return 0 ;; esac; return 1; }
if [[ $mode == rollback ]]; then
@@ -144,6 +161,8 @@ step "1 preflight"
run make -C "$REPO" staged-check RELEASE_VERSION="$version"
run test -f "$instance"
run test -x "$runner_release/equipo-runner"
+run test -x "$runner_release/equipo-tool-proxy"
+scanner "$runner_release"
run test -f "$RUNNER_ROOT/equipo-runner.service"
run test -f "$RUNNER_ROOT/service.env"
run carlos apps list --account "$ACCOUNT" --console "$CONSOLE"
@@ -243,7 +262,7 @@ new_id=$(get new_instance_id)
step "7 install the staged runner beside the old one"
if ! done_step runner; then
run install -d -m 0700 "$RUNNER_ROOT/releases/$version"
- run install -m 0700 "$runner_release/equipo-runner" "$runner_release/equipo-tool-proxy" "$RUNNER_ROOT/releases/$version/"
+ run install -m 0700 "$runner_release/equipo-runner" "$runner_release/equipo-tool-proxy" "$runner_release/gitleaks" "$RUNNER_ROOT/releases/$version/"
run sed -i -e "s|^EQUIPO_TOOL_PROXY_PATH=.*|EQUIPO_TOOL_PROXY_PATH=\"$RUNNER_ROOT/releases/$version/equipo-tool-proxy\"|" -e "s|^EQUIPO_INSTANCE_ID=.*|EQUIPO_INSTANCE_ID=\"${new_id:-NEW_INSTANCE_ID}\"|" -e "s|^EQUIPO_ORIGIN=.*|EQUIPO_ORIGIN=\"$PUBLIC_ORIGIN\"|" "$RUNNER_ROOT/service.env"
run sed -i -e "s|^ExecStart=.*|ExecStart=$RUNNER_ROOT/releases/$version/equipo-runner run|" -e '/^RestartPreventExitStatus=/d' -e '/^RestartSec=/a RestartPreventExitStatus=3' "$RUNNER_ROOT/equipo-runner.service"
if ((execute)); then
@@ -260,7 +279,8 @@ step "8 enrol the runner with the new instance: open the printed link as the own
if ! done_step enrol; then
# Before anything of the new runner starts, it holds every program in
# its new configuration (bubblewrap, claude, codex and its code mode
- # host, the staged tool proxy) to the digests of its release.
+ # host, the staged tool proxy) and the gitleaks beside it to the
+ # digests of its release.
run bash -c "set -a; . '$RUNNER_ROOT/service.env'; set +a; '$RUNNER_ROOT/releases/$version/equipo-runner' verify-installed"
run bash -c "set -a; . '$RUNNER_ROOT/service.env'; set +a; '$RUNNER_ROOT/releases/$version/equipo-runner' enrol"
run systemctl --user start "$UNIT"
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json
index 567be78f..af79ba65 100644
--- a/scripts/runner-reference-allowlist.json
+++ b/scripts/runner-reference-allowlist.json
@@ -5522,6 +5522,48 @@
"count": 1,
"reason": "Seeded historical consent is rendered read-only; no enabling API or action exists."
},
+ {
+ "path": "internal/release/scanner_install_test.go",
+ "line_sha256": "4401c8fcc497f0a9b97ce88f8af60ee6a45e62262d6f2f1690dd6eafaac6417c",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Retained runner executable, versioned package or user-service path in Task 11b release tooling, tests or draft operator steps."
+ },
+ {
+ "path": "internal/release/scanner_install_test.go",
+ "line_sha256": "71932b6e99a87383254da589357596ae16af7717f8716d9b32b70c34d0ce357a",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Retained runner executable, versioned package or user-service path in Task 11b release tooling, tests or draft operator steps."
+ },
+ {
+ "path": "internal/release/scanner_install_test.go",
+ "line_sha256": "d246248650012b34c6addff0bae9f709bec381fcea43d73907eb0711c82bd48f",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Retained runner executable, versioned package or user-service path in Task 11b release tooling, tests or draft operator steps."
+ },
+ {
+ "path": "internal/release/scanner_install_test.go",
+ "line_sha256": "a20dd7114e974c2269b17da8609743e6ca3705feaf5ed2ddfb4298306e975b72",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Retained runner executable, versioned package or user-service path in Task 11b release tooling, tests or draft operator steps."
+ },
+ {
+ "path": "internal/release/scanner_install_test.go",
+ "line_sha256": "30d52ffa5d5b6c67841570cdba78c39ceb30b257391004c36ffddcedcbd7b94e",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Retained runner executable, versioned package or user-service path in Task 11b release tooling, tests or draft operator steps."
+ },
+ {
+ "path": "internal/release/scanner_install_test.go",
+ "line_sha256": "006b596dd048c61a3670e270d51ca8530cc5317285bfbcff24d86e2f04d81c52",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Retained runner executable, versioned package or user-service path in Task 11b release tooling, tests or draft operator steps."
+ },
{
"path": "internal/runner/checks/fixes_r2_test.go",
"line_sha256": "006c1eadc8466c1441ecfecc98d011232baa4f9ec3e5c35de4a3267a07620ad3",
@@ -8252,13 +8294,6 @@
"count": 2,
"reason": "Thin v1 production cutover script (not run by agents): stops, reinstalls and re-enrols the runner unit and its release binaries, and rolls them back (spec 8)."
},
- {
- "path": "scripts/cutover-thin.sh",
- "line_sha256": "1bf6248dd394a8bb04dec59f76c334585405a1c7bf3daf9e06026c96291a7749",
- "match": "equipo-runner",
- "count": 1,
- "reason": "Thin v1 production cutover script (not run by agents): stops, reinstalls and re-enrols the runner unit and its release binaries, and rolls them back (spec 8)."
- },
{
"path": "scripts/cutover-thin.sh",
"line_sha256": "92177eb9db43099097234048e4873383887abc314285f33e83d8a7e7b945d599",
@@ -10821,13 +10856,6 @@
"count": 1,
"reason": "Retained runner executable, versioned package or user-service path in release tooling, tests or operator steps."
},
- {
- "path": "internal/release/cutover_test.go",
- "line_sha256": "a7ed104d1e654b92f78e48f6c92e96f05cadc9dc19cdeaae5235350d664ee071",
- "match": "equipo-runner",
- "count": 3,
- "reason": "Retained runner executable, versioned package or user-service path in release tooling, tests or operator steps."
- },
{
"path": "internal/release/cutover_test.go",
"line_sha256": "aa05fd8ee64cf50e79d4bfdc0ecb33eaf6c1c2d9018ada69c0da488d4e2defa8",
@@ -10849,6 +10877,41 @@
"count": 1,
"reason": "Retained runner executable, versioned package or user-service path in release tooling, tests or operator steps."
},
+ {
+ "path": "scripts/cutover-thin.sh",
+ "line_sha256": "b28c20657050b9724ba4bc0ea9f81273c4ef43b6eef85fbf0dbc5275a5321d96",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production cutover script (not run by agents): stops, reinstalls and re-enrols the runner unit and its release binaries, and rolls them back (spec 8)."
+ },
+ {
+ "path": "scripts/cutover-thin.sh",
+ "line_sha256": "81b1e42ababb4c8a2db709de57c9d811b5a663cbfac90c557d1558d3b8c36ea5",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production cutover script (not run by agents): stops, reinstalls and re-enrols the runner unit and its release binaries, and rolls them back (spec 8)."
+ },
+ {
+ "path": "scripts/cutover-thin.sh",
+ "line_sha256": "e3e9fe12e99e02104ab0e8f3f21ecf9bf2c1fc544f9d75f2d54c3bdd98bc5133",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production cutover script (not run by agents): stops, reinstalls and re-enrols the runner unit and its release binaries, and rolls them back (spec 8)."
+ },
+ {
+ "path": "scripts/cutover-thin.sh",
+ "line_sha256": "ce80610d220f9cca2d7ba9c0065694172e9e6a36807936811a79e4cbcb301f04",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production cutover script (not run by agents): stops, reinstalls and re-enrols the runner unit and its release binaries, and rolls them back (spec 8)."
+ },
+ {
+ "path": "scripts/cutover-thin.sh",
+ "line_sha256": "c77e3fa1a28b83087c49e79890570f33908b4dffdfa98c64cc3c3adef8f36066",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production cutover script (not run by agents): stops, reinstalls and re-enrols the runner unit and its release binaries, and rolls them back (spec 8)."
+ },
{
"path": "scripts/staging-thin.py",
"line_sha256": "c128d541ba1ce5ce640a6d3bd1a8ac729e389a42aa6571aef7de9ce6c3e16788",
@@ -15917,13 +15980,6 @@
"count": 1,
"reason": "Thin v1 production upgrade script (not run by agents): installs the staged runner beside the current one, switches the runner unit to it and rolls it back."
},
- {
- "path": "scripts/upgrade-thin.sh",
- "line_sha256": "ac3606fcb3f775c9331866cb07186b1d07dba5956b6536db392b27cc7330e1af",
- "match": "equipo-runner",
- "count": 1,
- "reason": "Thin v1 production upgrade script (not run by agents): installs the staged runner beside the current one, switches the runner unit to it and rolls it back."
- },
{
"path": "scripts/upgrade-thin.sh",
"line_sha256": "81fa203f16b85f1406e0da2d3e2b952f48768f70b7a3ba9ee488d0ac3fc0a47a",
@@ -15945,13 +16001,6 @@
"count": 1,
"reason": "Test of the production upgrade script: a stub runner release, runner unit and runner paths under a temporary HOME."
},
- {
- "path": "internal/release/upgrade_test.go",
- "line_sha256": "329e99fc3702f97467353f012e01fcb1b56c4ace3d1a64b3a55920f5e0f378a8",
- "match": "equipo-runner",
- "count": 2,
- "reason": "Test of the production upgrade script: a stub runner release, runner unit and runner paths under a temporary HOME."
- },
{
"path": "internal/release/upgrade_test.go",
"line_sha256": "72fb0dd00b8df6bb5ccba76d7a2fb0b41077bf7d2b655a70e6bf3a1fdf204283",
@@ -16057,13 +16106,6 @@
"count": 2,
"reason": "Thin v1 production cutover finish on the kept database (not run by agents): installs and enrols the staged runner, switches its unit and rolls it back."
},
- {
- "path": "scripts/cutover-finish-thin.sh",
- "line_sha256": "ac3606fcb3f775c9331866cb07186b1d07dba5956b6536db392b27cc7330e1af",
- "match": "equipo-runner",
- "count": 1,
- "reason": "Thin v1 production cutover finish on the kept database (not run by agents): installs and enrols the staged runner, switches its unit and rolls it back."
- },
{
"path": "scripts/cutover-finish-thin.sh",
"line_sha256": "2e931fedc6dc8ea790e88e2017240063cb4fd702ccfa53edc0aa073566a4d59e",
@@ -16190,6 +16232,41 @@
"count": 2,
"reason": "Thin v1 production upgrade script (not run by agents): installs the staged runner beside the current one, switches the runner unit to it and rolls it back."
},
+ {
+ "path": "scripts/upgrade-thin.sh",
+ "line_sha256": "b28c20657050b9724ba4bc0ea9f81273c4ef43b6eef85fbf0dbc5275a5321d96",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production upgrade script (not run by agents): installs the staged runner beside the current one, switches the runner unit to it and rolls it back."
+ },
+ {
+ "path": "scripts/upgrade-thin.sh",
+ "line_sha256": "81b1e42ababb4c8a2db709de57c9d811b5a663cbfac90c557d1558d3b8c36ea5",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production upgrade script (not run by agents): installs the staged runner beside the current one, switches the runner unit to it and rolls it back."
+ },
+ {
+ "path": "scripts/upgrade-thin.sh",
+ "line_sha256": "e3e9fe12e99e02104ab0e8f3f21ecf9bf2c1fc544f9d75f2d54c3bdd98bc5133",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production upgrade script (not run by agents): installs the staged runner beside the current one, switches the runner unit to it and rolls it back."
+ },
+ {
+ "path": "scripts/upgrade-thin.sh",
+ "line_sha256": "ce80610d220f9cca2d7ba9c0065694172e9e6a36807936811a79e4cbcb301f04",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production upgrade script (not run by agents): installs the staged runner beside the current one, switches the runner unit to it and rolls it back."
+ },
+ {
+ "path": "scripts/upgrade-thin.sh",
+ "line_sha256": "cd8b8112a3731c4f7c06bda1d1ae14d2c9c083c30ea3a332d789e0abb7ab160d",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production upgrade script (not run by agents): installs the staged runner beside the current one, switches the runner unit to it and rolls it back."
+ },
{
"path": "internal/release/upgrade_test.go",
"line_sha256": "ac5f1d42a46dc2a7d855705a367744f9a51c8bde7982bf2031b6c5e2ad9bc7c7",
@@ -16246,6 +16323,13 @@
"count": 1,
"reason": "Test of the production upgrade script: a stub runner release, runner unit and runner paths under a temporary HOME."
},
+ {
+ "path": "internal/release/upgrade_test.go",
+ "line_sha256": "ba6202d9aeb4ddaa637fa6bad709cf332089d3ac108f66960f1ad9f601628cf2",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Test of the production upgrade script: a stub runner release, runner unit and runner paths under a temporary HOME."
+ },
{
"path": "scripts/cutover-finish-thin.sh",
"line_sha256": "7fb4566fa4fc2de31d0e2c1245476f07f24c1f24124736a943c2e97277b02a27",
@@ -16295,6 +16379,41 @@
"count": 2,
"reason": "Thin v1 production cutover finish on the kept database (not run by agents): installs and enrols the staged runner, switches its unit and rolls it back."
},
+ {
+ "path": "scripts/cutover-finish-thin.sh",
+ "line_sha256": "b28c20657050b9724ba4bc0ea9f81273c4ef43b6eef85fbf0dbc5275a5321d96",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production cutover finish on the kept database (not run by agents): installs and enrols the staged runner, switches its unit and rolls it back."
+ },
+ {
+ "path": "scripts/cutover-finish-thin.sh",
+ "line_sha256": "81b1e42ababb4c8a2db709de57c9d811b5a663cbfac90c557d1558d3b8c36ea5",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production cutover finish on the kept database (not run by agents): installs and enrols the staged runner, switches its unit and rolls it back."
+ },
+ {
+ "path": "scripts/cutover-finish-thin.sh",
+ "line_sha256": "e3e9fe12e99e02104ab0e8f3f21ecf9bf2c1fc544f9d75f2d54c3bdd98bc5133",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production cutover finish on the kept database (not run by agents): installs and enrols the staged runner, switches its unit and rolls it back."
+ },
+ {
+ "path": "scripts/cutover-finish-thin.sh",
+ "line_sha256": "ce80610d220f9cca2d7ba9c0065694172e9e6a36807936811a79e4cbcb301f04",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production cutover finish on the kept database (not run by agents): installs and enrols the staged runner, switches its unit and rolls it back."
+ },
+ {
+ "path": "scripts/cutover-finish-thin.sh",
+ "line_sha256": "cd8b8112a3731c4f7c06bda1d1ae14d2c9c083c30ea3a332d789e0abb7ab160d",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Thin v1 production cutover finish on the kept database (not run by agents): installs and enrols the staged runner, switches its unit and rolls it back."
+ },
{
"path": "internal/release/cutover_finish_test.go",
"line_sha256": "bee334cd0a8e2cd7a0c604bac8b35302b1b196271f3d8129eb374b6965532038",
@@ -16379,6 +16498,13 @@
"count": 1,
"reason": "Test of the production cutover script: a stub runner release, runner unit and runner paths under a temporary HOME."
},
+ {
+ "path": "internal/release/cutover_test.go",
+ "line_sha256": "067aec9acffc841e8e138e54e08ba645f284c2c1db0305e56d543bbf0ebaa0ff",
+ "match": "equipo-runner",
+ "count": 3,
+ "reason": "Cutover script test: the stub runner root, unit and release the script installs and restores."
+ },
{
"path": "scripts/runner-config.py",
"line_sha256": "e6c2e9a9db79b4caf6f0fd8d1e8dce5cffe97583e553702e9af870b155e0bee2",
@@ -16395,16 +16521,16 @@
},
{
"path": "internal/release/cutover_finish_test.go",
- "line_sha256": "ac3af06bcf42f6e0653809e9ed7edcb4ef999a46f17942de9047424321d60058",
+ "line_sha256": "c8162f9af9bca14c82a3a2184c4c5d0a6a3dd7cc95b6c1fb4b7d68f4aa1772d7",
"match": "equipo-runner",
- "count": 2,
+ "count": 1,
"reason": "Test of the cutover finish script: a stub runner release, runner unit and runner paths under a temporary HOME."
},
{
"path": "internal/release/cutover_finish_test.go",
- "line_sha256": "c8162f9af9bca14c82a3a2184c4c5d0a6a3dd7cc95b6c1fb4b7d68f4aa1772d7",
+ "line_sha256": "0dda907d05922fa70b4f9141498a58ddb4d9edad024f1a3ab95d5e9f11a63458",
"match": "equipo-runner",
- "count": 1,
+ "count": 2,
"reason": "Test of the cutover finish script: a stub runner release, runner unit and runner paths under a temporary HOME."
},
{
diff --git a/scripts/upgrade-thin.sh b/scripts/upgrade-thin.sh
index d53bcaf8..0d984158 100755
--- a/scripts/upgrade-thin.sh
+++ b/scripts/upgrade-thin.sh
@@ -26,7 +26,8 @@
# state (served version, runner service.env and unit)
# 2 backup carlos db pull, integrity-checked, counted, hashed, read-only.
# The upgrade changes no configuration: the same database.
-# 3 runner the staged runner beside the current one, checked by
+# 3 runner the staged runner, tool proxy and gitleaks (the preview
+# scanner) beside the current one, checked by
# verify-installed; service.env and unit written from the
# preflight's record (scripts/runner-config.py); nothing in
# flight on a reading just before the restart (a short window,
@@ -69,7 +70,7 @@ version=${1:-}
execute=0
[[ ${2:-} == --execute ]] && execute=1
if [[ $mode == upgrade && ! $version =~ ^[0-9a-f]{7,12}$ ]]; then
- sed -n '2,42p' "$0"
+ sed -n '2,43p' "$0"
exit 2
fi
@@ -114,6 +115,22 @@ idle() {
[[ $out =~ ^[0-9]+/[0-9]+/[0-9]+$ ]] || die "could not read the work in flight. $REPLICA"
[[ $out == 0/0/0 ]] || die "in flight (steps/merges/turns): $out; run again when nothing runs"
}
+# The runner scans every preview with the gitleaks beside its own
+# executable, held to the hash linked into the runner; without it every
+# preview fails (preview_scanner). $1 is a runner release directory: its
+# gitleaks runs, and its sha256 is the one linked into its equipo-runner.
+scanner_linked() {
+ local sum
+ [[ -f $1/gitleaks && ! -L $1/gitleaks && -x $1/gitleaks ]] || return 1
+ sum=$(sha256sum "$1/gitleaks" | cut -d ' ' -f 1) || return 1
+ grep -qaF "$sum" "$1/equipo-runner"
+}
+scanner() {
+ echo " $1/gitleaks: executable, and its sha256 is linked into $1/equipo-runner"
+ if ((execute)) && ! scanner_linked "$1"; then
+ die "$1/gitleaks is missing, cannot run, or is not the scanner equipo-runner was built with"
+ fi
+}
# The unit's main process runs the binary with sha256 $1.
runs() {
local pid
@@ -220,6 +237,7 @@ run make -C "$RELEASE_REPO" staged-check RELEASE_VERSION="$version"
run test -f "$instance"
run test -x "$runner_release/equipo-runner"
run test -x "$runner_release/equipo-tool-proxy"
+scanner "$runner_release"
run test -f "$RUNNER_ROOT/equipo-runner.service"
run test -f "$RUNNER_ROOT/service.env"
run carlos apps list --account "$ACCOUNT" --console "$CONSOLE"
@@ -284,9 +302,10 @@ new=$RUNNER_ROOT/releases/$version
config=(--exec "$new/equipo-runner" "EQUIPO_TOOL_PROXY_PATH=$new/equipo-tool-proxy")
if ! done_step runner; then
run install -d -m 0700 "$new"
- run install -m 0700 "$runner_release/equipo-runner" "$runner_release/equipo-tool-proxy" "$new/"
- # The staged runner holds every program its configuration names, and
- # its own tool proxy, to its release's digests before anything switches.
+ run install -m 0700 "$runner_release/equipo-runner" "$runner_release/equipo-tool-proxy" "$runner_release/gitleaks" "$new/"
+ # The staged runner holds every program its configuration names, its
+ # own tool proxy and the gitleaks beside it, to its release's digests
+ # before anything switches.
run bash -c "set -a; . '$RUNNER_ROOT/service.env'; set +a; EQUIPO_TOOL_PROXY_PATH='$new/equipo-tool-proxy' '$new/equipo-runner' verify-installed"
# Written from the preflight's record, never the live files, so a retry
# gives the same files; each key, ExecStart and RestartSec exactly once.