oficina / equipo Public

publish-renderer: read the linked renderer from the runner itself

d273f25's publish-renderer.sh read the linked renderer values from go
version -m. Release builds are -trimpath, and Go then keeps no -ldflags
in the build information (go.dev/issue/52372), so check and publish
refused every real kit with "no renderer tag is linked".

- equipo-runner renderer-asset --json prints release.
  LinkedRendererAsset: tag, tree pin, archive digest and size (exit 1
  with none linked, 2 on other arguments).
- publish-renderer.sh reads those from the kit's runner, never from
  build information.
- TestPublishRendererReadsAReleaseBuiltRunner builds the runner with
  the command make -n release-runner prints (-trimpath and the real
  -ldflags; only GOOS/GOARCH are this machine's, the CI box being
  arm64), asserts go version -m holds no ldflags there, then runs
  renderer-asset and publish-renderer.sh check against it. With d273f25's
  script it fails with the release's own error.
- TestRendererAssetCommand covers the subcommand; the publish rig's kit
  runner is a stub answering renderer-asset (a case for none linked).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 39da9ff0b80960ef5813d7240ad0030771e7f4f3 parent d273f25
6 files changed, +213 −21
  • cmd/equipo-runner/install_renderer.go +30 −0
  • cmd/equipo-runner/main.go +6 −0
  • cmd/equipo-runner/renderer_install_test.go +25 −0
  • internal/release/renderer_publish_test.go +79 −5
  • scripts/publish-renderer.sh +9 −8
  • scripts/runner-reference-allowlist.json +64 −8

CI cancelled — superseded by a newer push — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/renderer-asset-read: Type  Size Avail | ext4   96G   84G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   84G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 2.2s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.8s
ci-box: pi: installed and verified in 7.5s
ci-box: opencode: installed and verified in 2.3s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.7s
ci-box: clone deepened in 6.2s
ci-box: file times set from content: 3750 files, 244 directories
ci-box: ready in 19.9s
=== 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.239s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  6.0s
+ go list -export -test -tags testbuild -f  ./...
  6.3s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/equipotest ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  4.2s
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-24 15:56:00 +0000 UTC

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

receipt: test step 1m25.401s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m22.485s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m22.48s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 78.33, cpu waiting 46.12%, memory waiting 0.00%, io waiting 0.48%
--- shard 1 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-review: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$' ./internal/headless

receipt: test step 1m23.384s 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.791s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m20.79s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 78.33, cpu waiting 46.12%, memory waiting 0.00%, io waiting 0.48%
--- shard 2 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-connections: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$' ./internal/headless

receipt: test step 1m27.789s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m24.84s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m12.98s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.39s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.47s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 82.31, cpu waiting 47.46%, memory waiting 0.00%, io waiting 0.45%
--- 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

amadan: job cancelled — a newer push superseded it
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

receipt: test step 1m44.381s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m41.716s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m11.12s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.7s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 8.32s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 7.57s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 77.67, cpu waiting 47.27%, memory waiting 0.00%, io waiting 0.34%
--- 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

amadan: job cancelled — a newer push superseded it
--- 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

amadan: job cancelled — a newer push superseded it
--- 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 2m27.53s 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 2m24.44s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.52s amadan.net/oficina/equipo/internal/thintest TestContractRetryPreviewUnverifiedMerge
receipt: slow test 9.2s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 4.99s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 4.9s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 3.05s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
machine: 32 CPUs, load 49.68, cpu waiting 24.82%, memory waiting 0.00%, io waiting 0.16%
--- 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

amadan: job cancelled — a newer push superseded it
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner

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

receipt: test step 1m4.548s 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.162s amadan.net/oficina/equipo/internal/runner
receipt: slow test 53.11s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 47.54s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.4s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.62s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 71.06, cpu waiting 41.33%, memory waiting 0.00%, io waiting 0.67%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner

receipt: test step 42.557s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 41.49s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.15s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 5.01s amadan.net/oficina/equipo/internal/runner TestEnrolCommitsTheCredentialLast
receipt: slow test 3.59s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.38s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 3.13s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
machine: 32 CPUs, load 44.15, cpu waiting 26.01%, memory waiting 0.00%, io waiting 0.97%
--- 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 37.7%, load 30.67
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest

receipt: test step 1m16.755s 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 1m14.519s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 33.97s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 33.87s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 31.23s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 27.69s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 27.63s amadan.net/oficina/equipo/internal/equipotest TestAuthoritySnapshotChanges
machine: 32 CPUs, load 77.67, cpu waiting 46.71%, memory waiting 0.00%, io waiting 0.33%
--- 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 37.7%, load 30.67
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

amadan: job cancelled — a newer push superseded it
--- 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 37.7%, load 30.67
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

amadan: job cancelled — a newer push superseded it
--- 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 37.7%, load 30.67
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 1m14.822s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m12.556s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 30.67s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 30.5s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 30.33s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 28.04s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
receipt: slow test 28.02s amadan.net/oficina/equipo/internal/equipotest TestSigninCSRF
machine: 32 CPUs, load 77.67, cpu waiting 47.27%, memory waiting 0.00%, io waiting 0.34%
--- 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 37.7%, load 30.67
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 1m0.741s 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 58.554s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 4.43s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.6s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.85s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.66s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.58s amadan.net/oficina/equipo/internal/plan3test TestInviteMigration
machine: 32 CPUs, load 82.31, cpu waiting 48.20%, memory waiting 0.00%, io waiting 0.43%
--- 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 37.7%, load 30.67
test lane rest: ./cmd/equipo ./cmd/equipo-hosted-controller ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/diffscan ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/github ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/hostedclient ./internal/hostedctl ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./internal/ownermodetest ./internal/release ./internal/release/renderertest ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/designstep ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mac/creds ./internal/runner/mac/denylist ./internal/runner/mac/fprobe ./internal/runner/mac/proc ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/pause ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/render ./internal/runner/renderpage ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/teamprobe ./internal/testci ./internal/toolproxy ./internal/websearch ./internal/websearch/websearchtest ./internal/websource ./internal/websource/guard ./internal/websource/hostaddrs ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-hosted-controller ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/diffscan ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/github ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/hostedclient ./internal/hostedctl ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./internal/ownermodetest ./internal/release ./internal/release/renderertest ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/designstep ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mac/creds ./internal/runner/mac/denylist ./internal/runner/mac/fprobe ./internal/runner/mac/proc ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/pause ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/render ./internal/runner/renderpage ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/teamprobe ./internal/testci ./internal/toolproxy ./internal/websearch ./internal/websearch/websearchtest ./internal/websource ./internal/websource/guard ./internal/websource/hostaddrs ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/hostedclient: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/isolatedjob: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: 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/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed

amadan: job cancelled — a newer push superseded it
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless

receipt: test step 1m27.52s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m25.638s amadan.net/oficina/equipo/internal/headless
receipt: slow test 39.48s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.01s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.95s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.51s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 7.08s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 82.31, cpu waiting 48.20%, memory waiting 0.00%, io waiting 0.43%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless

receipt: test step 1m41.945s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m40.009s amadan.net/oficina/equipo/internal/headless
receipt: slow test 31s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 25.69s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 13.41s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.51s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
receipt: slow test 10.26s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
machine: 32 CPUs, load 77.67, cpu waiting 47.27%, memory waiting 0.00%, io waiting 0.34%
--- shard 20 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-connections: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless

receipt: test step 1m58.427s 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 1m56.426s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.46s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.54s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 13.17s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.73s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 11.21s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 67.34, cpu waiting 38.69%, memory waiting 0.00%, io waiting 0.26%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserCardAnswerSettlesAtBottom|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-30T14:57:51.063Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-30T14:57:51.063Z level=INFO msg="startup phase done" phase=state_lock took=257µs
time=2026-11-30T14:57:51.063Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-30T14:57:51.063Z level=INFO msg="startup phase done" phase=claim_roots took=187µs
time=2026-11-30T14:57:51.063Z level=INFO msg="startup phase" phase=sweep
time=2026-11-30T14:57:51.108Z level=INFO msg="startup phase done" phase=sweep took=45.175ms
time=2026-11-30T14:57:51.109Z level=INFO msg="startup phase" phase=credentials
time=2026-11-30T14:57:51.109Z level=INFO msg="startup phase done" phase=credentials took=128µs
time=2026-11-30T14:57:51.109Z level=INFO msg="startup phase" phase=open_state
time=2026-11-30T14:57:51.166Z level=INFO msg="startup phase done" phase=open_state took=57.685ms
time=2026-11-30T14:57:51.167Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-30T14:57:51.169Z level=INFO msg=connecting host=127.0.0.1:33237 protocol=38
time=2026-11-30T14:57:51.170Z level=INFO msg=connected host=127.0.0.1:33237 took=1.009ms
time=2026-11-30T14:57:51.170Z level=INFO msg="capabilities gathering"
time=2026-11-30T14:57:51.171Z level=INFO msg="capabilities gathered" took=453µs tags=linux,claude,go
time=2026-11-30T14:57:51.171Z level=INFO msg="hello sent" protocol=38
time=2026-11-30T14:57:51.183Z level=INFO msg=welcome protocol=38 role=primary generation=1
time=2026-11-30T14:57:52.363Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_receipts_test.go:169: waiting for [...document.querySelectorAll('[equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes("I'm your coordinator")): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserEmptyExplore (6.15s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m41.664s
FAIL	amadan.net/oficina/equipo/internal/headless	101.871s


receipt: test step 1m43.612s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m41.664s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.11s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 13.43s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.52s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.16s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 8.04s amadan.net/oficina/equipo/internal/headless TestBrowserNotebookLook
rastrillo: budget test: go test failed
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserCardAnswerSettlesAtBottom|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest 39da9ff0b80960ef5813d7240ad0030771e7f4f3 6.15s 77.67
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 71.98, cpu waiting 42.44%, memory waiting 0.00%, io waiting 0.28%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation|TestBrowserPreviewPassExchange)$' ./internal/equipo

receipt: test step 4.68s 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.662s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 2s amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewPassExchange
receipt: slow test 660ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/equipotest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserGitHubManifestCSP)$' ./internal/equipotest

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

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

receipt: test step 4.352s 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.569s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.57s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAskMacOffline|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPausedWork|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRhythm|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingSteady|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackPulse|TestBrowserTrackStarCentre|TestBrowserTryAgain)$' ./internal/thintest

amadan: job cancelled — a newer push superseded it
--- 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   (53s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.78s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.41s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 8.41s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.82s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 27.23s
+ 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   (70s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 17.22s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 13.50s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 19.96s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 16.50s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (21s)
ok ./internal/headless TestMixedVersions 19.23s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.77s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (2s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.07s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 75.37, cpu waiting 43.37%, memory waiting 0.00%, io waiting 0.58%
--- shard 24 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 24: make runner-host
python3 scripts/runner-prerequisites.py
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks

receipt: test step 13.366s 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.576s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 223ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 88ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 3ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow test 5.35s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.79s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 340ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 220ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 90ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
CGO_ENABLED=0 EQUIPO_REQUIRE_USER_SESSION=1 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 4.439s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3.319s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 320ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 210ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryMalformedRecord
machine: 32 CPUs, load 26.20, cpu waiting 10.42%, memory waiting 0.00%, io waiting 1.45%
--- 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 37.7%, load 30.67
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 3462 text files, 3979 matches, 0 failures
python3 native/scripts/check-share.py
Share packaging, keychain-only boundary and reviewed copy verified
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go tool fiesta spacing -skip tokens.css internal/equipo/static
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 117 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	3.028s
machine: 32 CPUs, load 82.31, cpu waiting 47.46%, memory waiting 0.00%, io waiting 0.45%
--- 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 37.7%, load 30.67
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
internal/release/renderer_publish_test.go:235:57: runtime.GOROOT has been deprecated since Go 1.24: The root used during the Go build will not be meaningful if the binary is copied to another machine. Use the system path to locate the “go” binary, and use “go env GOROOT” to find its GOROOT.  (SA1019)
internal/release/renderer_publish_test.go:239:45: runtime.GOROOT has been deprecated since Go 1.24: The root used during the Go build will not be meaningful if the binary is copied to another machine. Use the system path to locate the “go” binary, and use “go env GOROOT” to find its GOROOT.  (SA1019)
exit status 1
make[1]: *** [Makefile:195: staticcheck] Error 1
machine: 32 CPUs, load 66.97, cpu waiting 38.05%, memory waiting 0.00%, io waiting 0.74%
make: *** [Makefile:113: ci-shard] Error 2

amadan: step check shard 26 of 29 failed: exit status 2
--- 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 37.7%, load 30.67
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.
This scan also found 1 vulnerability in packages you import and 10
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 75.37, cpu waiting 42.91%, memory waiting 0.00%, io waiting 0.60%
--- 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 37.7%, load 30.67
shard 28: make gitleaks
2:56PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
2:57PM INF 1326 commits scanned.
2:57PM INF scanned ~74888271 bytes (74.89 MB) in 28.9s
2:57PM INF no leaks found
machine: 32 CPUs, load 66.97, cpu waiting 38.05%, memory waiting 0.00%, io waiting 0.74%
diff --git a/cmd/equipo-runner/install_renderer.go b/cmd/equipo-runner/install_renderer.go
index 622ab757..d6298962 100644
--- a/cmd/equipo-runner/install_renderer.go
+++ b/cmd/equipo-runner/install_renderer.go
@@ -2,6 +2,7 @@ package main
import (
"context"
+ "encoding/json"
"errors"
"fmt"
"io"
@@ -88,3 +89,32 @@ func installRendererOn(goos, goarch, runnerDir, archive, pin string) (string, er
}
return release.InstallRenderer(runnerDir, f, pin)
}
+
+// linkedRendererAsset is the renderer asset linked into this build;
+// tests replace it.
+var linkedRendererAsset = release.LinkedRendererAsset
+
+// rendererAssetCommand is `equipo-runner renderer-asset --json`: the
+// renderer this runner installs (release.LinkedRendererAsset) as one JSON
+// object, its forge tag, tree pin, archive digest and size. A build with
+// none linked, or one not whole, prints nothing and exits 1.
+func rendererAssetCommand(args []string, out, errout io.Writer) int {
+ if len(args) != 1 || args[0] != "--json" {
+ fmt.Fprintln(errout, "usage: equipo-runner renderer-asset --json")
+ return 2
+ }
+ a, ok := linkedRendererAsset()
+ if !ok {
+ fmt.Fprintln(errout, "equipo-runner: no renderer asset is linked into this build")
+ return 1
+ }
+ if err := json.NewEncoder(out).Encode(struct {
+ Tag string `json:"tag"`
+ Pin string `json:"pin"`
+ SHA256 string `json:"sha256"`
+ Size int64 `json:"size"`
+ }{a.Tag, a.Pin, a.SHA256, a.Size}); err != nil {
+ return 1
+ }
+ return 0
+}
diff --git a/cmd/equipo-runner/main.go b/cmd/equipo-runner/main.go
index 16c48522..ce74fe2a 100644
--- a/cmd/equipo-runner/main.go
+++ b/cmd/equipo-runner/main.go
@@ -103,6 +103,12 @@ func run(ctx context.Context, args []string, input io.Reader, output, errorOutpu
if len(args) > 0 && args[0] == "install-renderer" {
return installRendererCommand(args[1:], output, errorOutput)
}
+ // The page renderer linked into this build, for the release tooling
+ // (scripts/publish-renderer.sh): a -trimpath build keeps no -ldflags
+ // in its build information, so only the runner itself can say.
+ if len(args) > 0 && args[0] == "renderer-asset" {
+ return rendererAssetCommand(args[1:], output, errorOutput)
+ }
if len(args) > 0 && args[0] == "install-opencode" {
return installOpenCode(ctx, args[1:], output, errorOutput)
}
diff --git a/cmd/equipo-runner/renderer_install_test.go b/cmd/equipo-runner/renderer_install_test.go
index cc8eac8d..c59a860a 100644
--- a/cmd/equipo-runner/renderer_install_test.go
+++ b/cmd/equipo-runner/renderer_install_test.go
@@ -194,3 +194,28 @@ func TestInstallRendererCommand(t *testing.T) {
t.Fatalf("no path: %d", code)
}
}
+
+// renderer-asset --json prints the asset linked into the build; with none
+// (a test or Mac build) it prints nothing and exits 1, and any other
+// arguments are a usage error.
+func TestRendererAssetCommand(t *testing.T) {
+ var out, errout bytes.Buffer
+ if code := rendererAssetCommand([]string{"--json"}, &out, &errout); code != 1 || out.Len() != 0 {
+ t.Fatalf("none linked: %d %q", code, out.String())
+ }
+ sum := strings.Repeat("ab", 32)
+ old := linkedRendererAsset
+ linkedRendererAsset = func() (release.RendererAsset, bool) {
+ return release.RendererAsset{Pin: strings.Repeat("cd", 32), SHA256: sum, Size: 42, Tag: "renderer-" + sum[:12]}, true
+ }
+ defer func() { linkedRendererAsset = old }()
+ out.Reset()
+ if code := rendererAssetCommand([]string{"--json"}, &out, &errout); code != 0 || out.String() != `{"tag":"renderer-abababababab","pin":"`+strings.Repeat("cd", 32)+`","sha256":"`+sum+`","size":42}`+"\n" {
+ t.Fatalf("linked: %d %q", code, out.String())
+ }
+ for _, args := range [][]string{nil, {"--text"}, {"--json", "x"}} {
+ if code := rendererAssetCommand(args, &out, &errout); code != 2 {
+ t.Fatalf("%v: %d", args, code)
+ }
+ }
+}
diff --git a/internal/release/renderer_publish_test.go b/internal/release/renderer_publish_test.go
index 5fd323d2..4d76b8e9 100644
--- a/internal/release/renderer_publish_test.go
+++ b/internal/release/renderer_publish_test.go
@@ -3,10 +3,12 @@ package release
import (
"crypto/sha256"
"encoding/hex"
+ "encoding/json"
"fmt"
"os"
"os/exec"
"path/filepath"
+ "runtime"
"strings"
"testing"
@@ -63,7 +65,7 @@ func newPublishRig(t *testing.T) *publishRig {
r.tag = "renderer-" + hex.EncodeToString(sum[:])[:12]
archiveSum := hex.EncodeToString(sum[:])
manifest := fmt.Sprintf(`{"targets":{"linux/amd64":{"renderer_sha256":%q,"renderer_archive_sha256":%q,"renderer_archive_size":%d}}}`, pin, archiveSum, len(archive))
- for name, body := range map[string]string{"renderer.tar.gz": r.archive, "SOURCES": r.sources, "equipo-runner": "runner", "install-manifest.json": manifest, "COMMIT": r.commit + "\n"} {
+ for name, body := range map[string]string{"renderer.tar.gz": r.archive, "SOURCES": r.sources, "install-manifest.json": manifest, "COMMIT": r.commit + "\n"} {
os.WriteFile(filepath.Join(r.kit, name), []byte(body), 0o644)
}
bin := t.TempDir()
@@ -79,10 +81,13 @@ if [ -f "$path" ]; then cp "$path" "$out"; printf 200; else : > "$out"; printf 4
stub("amadan", `echo "amadan $*" >> `+r.log+`
tag=$7; shift 7; mkdir -p `+r.forge+`/$tag; for f; do cp "$f" `+r.forge+`/$tag/; done
`)
- // go version -m: what is linked into the kit's runner; FIXTURE_*
- // changes one of it.
- stub("go", `printf '%s: go1.26.11\n\tbuild\t-ldflags="-s -w -X amadan.net/oficina/equipo/internal/release.rendererSHA256=%s -X amadan.net/oficina/equipo/internal/release.rendererArchiveSHA256=%s -X amadan.net/oficina/equipo/internal/release.rendererArchiveSize=%s -X amadan.net/oficina/equipo/internal/release.rendererTag=%s"\n' "$3" "${FIXTURE_PIN-`+pin+`}" "${FIXTURE_SUM-`+archiveSum+`}" "${FIXTURE_SIZE-`+fmt.Sprint(len(archive))+`}" "${FIXTURE_TAG-`+r.tag+`}"
-`)
+ // The kit's runner answers renderer-asset --json with what is linked
+ // into it; FIXTURE_* changes one of it, FIXTURE_NONE says none is.
+ os.WriteFile(filepath.Join(r.kit, "equipo-runner"), []byte(`#!/bin/sh
+[ "$1 $2" = "renderer-asset --json" ] || exit 2
+[ -z "${FIXTURE_NONE-}" ] || exit 1
+printf '{"tag":"%s","pin":"%s","sha256":"%s","size":%s}\n' "${FIXTURE_TAG-`+r.tag+`}" "${FIXTURE_PIN-`+pin+`}" "${FIXTURE_SUM-`+archiveSum+`}" "${FIXTURE_SIZE-`+fmt.Sprint(len(archive))+`}"
+`), 0o755)
r.env = append(os.Environ(), "PATH="+bin+string(os.PathListSeparator)+os.Getenv("PATH"), "GIT_CONFIG_GLOBAL=/dev/null", "GIT_AUTHOR_NAME=t", "GIT_AUTHOR_EMAIL=t@example.com", "GIT_COMMITTER_NAME=t", "GIT_COMMITTER_EMAIL=t@example.com")
r.origin = origin
return r
@@ -155,6 +160,7 @@ func TestPublishRendererRefuses(t *testing.T) {
}, nil},
"a tag naming another archive": {func(r *publishRig) []string { return []string{"FIXTURE_TAG=renderer-000000000000"} }, nil},
"no linked tag": {func(r *publishRig) []string { return []string{"FIXTURE_TAG="} }, nil},
+ "no asset linked": {func(r *publishRig) []string { return []string{"FIXTURE_NONE=1"} }, nil},
"another linked size": {func(r *publishRig) []string { return []string{"FIXTURE_SIZE=1"} }, nil},
"another linked digest": {func(r *publishRig) []string { return []string{"FIXTURE_SUM=" + strings.Repeat("0", 64)} }, nil},
"another linked pin": {func(r *publishRig) []string { return []string{"FIXTURE_PIN=" + strings.Repeat("0", 64)} }, nil},
@@ -185,3 +191,71 @@ func TestPublishRendererRefuses(t *testing.T) {
})
}
}
+
+// releaseRunnerCommand is the shell command make release-runner runs to
+// build the Linux runner into kit, as make -n prints it: -trimpath and
+// the real -ldflags. Only its target is this machine's (the CI box is
+// arm64), so the test can run what it builds.
+func releaseRunnerCommand(t *testing.T, kit string) string {
+ t.Helper()
+ cmd := exec.Command("make", "-n", "--no-print-directory", "release-runner", "RUNNER_RELEASE_DIR="+kit)
+ cmd.Dir = "../.."
+ out, err := cmd.Output()
+ if err != nil {
+ t.Fatalf("make -n release-runner: %v", err)
+ }
+ text := string(out)
+ start := strings.Index(text, "CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath \\\n")
+ end := strings.Index(text[max(start, 0):], "-o "+kit+"/equipo-runner ./cmd/equipo-runner\n")
+ if start < 0 || end < 0 {
+ t.Fatalf("no Linux runner build in make -n release-runner:\n%s", text)
+ }
+ build := text[start : start+end+len("-o "+kit+"/equipo-runner ./cmd/equipo-runner")]
+ if !strings.Contains(build, "-trimpath") || !strings.Contains(build, "internal/release.rendererTag=") {
+ t.Fatalf("the release build has changed shape: %s", build)
+ }
+ return strings.Replace(build, "GOOS=linux GOARCH=amd64", "GOOS="+runtime.GOOS+" GOARCH="+runtime.GOARCH, 1)
+}
+
+// The release tooling reads what is linked into a runner built exactly as
+// make release-runner builds it (-trimpath keeps no -ldflags in the build
+// information, go.dev/issue/52372): the runner's renderer-asset --json
+// names the kit's archive, and publish-renderer.sh check passes against
+// it. A check that read build information would refuse here.
+func TestPublishRendererReadsAReleaseBuiltRunner(t *testing.T) {
+ testci.Files(t, "../../Makefile")
+ testci.Tools(t, "git", "tar")
+ r := newPublishRig(t)
+ for _, name := range []string{"gitleaks", "equipo-tool-proxy"} {
+ os.WriteFile(filepath.Join(r.kit, name), []byte("fixture "+name), 0o755)
+ }
+ os.Remove(filepath.Join(r.kit, "equipo-runner"))
+ build := exec.Command("sh", "-c", releaseRunnerCommand(t, r.kit))
+ build.Dir = "../.."
+ build.Env = append(os.Environ(), "PATH="+filepath.Join(runtime.GOROOT(), "bin")+string(os.PathListSeparator)+os.Getenv("PATH"))
+ if out, err := build.CombinedOutput(); err != nil {
+ t.Fatalf("build: %v\n%s", err, out)
+ }
+ if info, err := exec.Command(filepath.Join(runtime.GOROOT(), "bin", "go"), "version", "-m", filepath.Join(r.kit, "equipo-runner")).Output(); err != nil || strings.Contains(string(info), "rendererTag") {
+ t.Fatalf("the build information holds the ldflags after all (%v): the test proves nothing", err)
+ }
+ out, err := exec.Command(filepath.Join(r.kit, "equipo-runner"), "renderer-asset", "--json").Output()
+ if err != nil {
+ t.Fatalf("renderer-asset: %v", err)
+ }
+ var got struct {
+ Tag, Pin, SHA256 string
+ Size int64
+ }
+ if err = json.Unmarshal(out, &got); err != nil || got.Tag != r.tag || got.SHA256 != fmt.Sprintf("%x", sha256.Sum256([]byte(r.archive))) || got.Size != int64(len(r.archive)) || got.Pin == "" {
+ t.Fatalf("renderer-asset %s: %v", out, err)
+ }
+ os.MkdirAll(filepath.Join(r.forge, r.tag), 0o755)
+ for _, name := range []string{"renderer.tar.gz", "SOURCES"} {
+ b, _ := os.ReadFile(filepath.Join(r.kit, name))
+ os.WriteFile(filepath.Join(r.forge, r.tag, name), b, 0o644)
+ }
+ if out, err := r.run("check", r.kit, t.TempDir()); err != nil {
+ t.Fatalf("check against a release-built runner: %v\n%s", err, out)
+ }
+}
diff --git a/scripts/publish-renderer.sh b/scripts/publish-renderer.sh
index 81c14050..42a23727 100755
--- a/scripts/publish-renderer.sh
+++ b/scripts/publish-renderer.sh
@@ -31,7 +31,6 @@ set -euo pipefail
FORGE=https://amadan.net/oficina/equipo/-/releases
REPO=oficina/equipo
AMADAN=${AMADAN:-amadan}
-GO=${GO:-go}
die() { echo "publish-renderer: $*" >&2; exit 1; }
sum() { sha256sum "$1" | cut -d ' ' -f 1; }
@@ -51,17 +50,19 @@ commit=$(cat "$kit/COMMIT")
archive_sum=$(sum "$kit/renderer.tar.gz")
sources_sum=$(sum "$kit/SOURCES")
-# What is linked into the kit's runner, as go version -m reports its build.
-build=$("$GO" version -m "$kit/equipo-runner")
-linked() { grep -o "internal/release\.$1=[^ \"]*" <<<"$build" | head -1 | cut -d = -f 2 || true; }
-tag=$(linked rendererTag)
+# What is linked into the kit's runner, as the runner itself reports it
+# (renderer-asset --json). Never its build information: a release build is
+# -trimpath, which keeps no -ldflags there (go.dev/issue/52372).
+asset=$("$kit/equipo-runner" renderer-asset --json) || die "no renderer asset is linked into $kit/equipo-runner"
+linked() { python3 -I -c 'import json, sys; print(json.loads(sys.argv[1])[sys.argv[2]])' "$asset" "$1" 2>/dev/null || true; }
+tag=$(linked tag)
[[ $tag =~ ^renderer-([0-9a-f]{12})(-r[1-9][0-9]{0,2})?$ ]] || die "no renderer tag is linked into $kit/equipo-runner"
[[ ${BASH_REMATCH[1]} == "${archive_sum:0:12}" ]] || die "the linked tag $tag does not name $kit/renderer.tar.gz ($archive_sum)"
pin=$(tar -xzOf "$kit/renderer.tar.gz" MANIFEST | sha256sum | cut -d ' ' -f 1) || die "$kit/renderer.tar.gz has no MANIFEST"
size=$(stat -c %s "$kit/renderer.tar.gz")
-[[ $(linked rendererSHA256) == "$pin" ]] || die "the tree pin linked into $kit/equipo-runner is not $kit/renderer.tar.gz's ($pin)"
-[[ $(linked rendererArchiveSHA256) == "$archive_sum" ]] || die "the archive digest linked into $kit/equipo-runner is not $kit/renderer.tar.gz's"
-[[ $(linked rendererArchiveSize) == "$size" ]] || die "the archive size linked into $kit/equipo-runner is not $kit/renderer.tar.gz's ($size)"
+[[ $(linked pin) == "$pin" ]] || die "the tree pin linked into $kit/equipo-runner is not $kit/renderer.tar.gz's ($pin)"
+[[ $(linked sha256) == "$archive_sum" ]] || die "the archive digest linked into $kit/equipo-runner is not $kit/renderer.tar.gz's"
+[[ $(linked size) == "$size" ]] || die "the archive size linked into $kit/equipo-runner is not $kit/renderer.tar.gz's ($size)"
python3 -I -c 'import json, sys
t = json.load(open(sys.argv[1]))["targets"]["linux/amd64"]
sys.exit((t.get("renderer_sha256"), t.get("renderer_archive_sha256"), t.get("renderer_archive_size")) != (sys.argv[2], sys.argv[3], int(sys.argv[4])))' \
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json
index b4201130..81c1b0ed 100644
--- a/scripts/runner-reference-allowlist.json
+++ b/scripts/runner-reference-allowlist.json
@@ -22973,46 +22973,102 @@
"count": 1,
"reason": "Thin v1 staging gate: the staging runner unit, its state root, the production runner config it reads binary paths from, and the runner binary it builds (spec 7)."
},
+ {
+ "path": "scripts/publish-renderer.sh",
+ "line_sha256": "3e2ce04554ebb50fbf642ec9adc52dd960bc7067a0bace649eda47ffe9524da0",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
+ },
+ {
+ "path": "cmd/equipo-runner/install_renderer.go",
+ "line_sha256": "1b4cf1c373c972f552c211c5188c159df25dacbb907c5d6fef334ce6f6167dc9",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Dynamic specialists slice 1 task 7: the page renderer the release ships beside the runner, installed by install-renderer and checked by verify-installed."
+ },
+ {
+ "path": "cmd/equipo-runner/install_renderer.go",
+ "line_sha256": "e396a29c55719186f2e3b266121ebe187bf4f4d01926e04ba47602ed00961194",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Dynamic specialists slice 1 task 7: the page renderer the release ships beside the runner, installed by install-renderer and checked by verify-installed."
+ },
+ {
+ "path": "cmd/equipo-runner/install_renderer.go",
+ "line_sha256": "f914041f00478c6098065fdcacf3b4d82baa21a4b76d8eba194117dd0ddca1e6",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Dynamic specialists slice 1 task 7: the page renderer the release ships beside the runner, installed by install-renderer and checked by verify-installed."
+ },
{
"path": "internal/release/renderer_publish_test.go",
- "line_sha256": "4f517e11a059b6cc9c259e5a3f866e8b9b8658ef0de5170accfc82620db8948a",
+ "line_sha256": "3a40330488bf24138c24ff8f1d1ddb03600b264d3ea0e7a69e41486e6f7ca4ab",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
},
{
- "path": "scripts/publish-renderer.sh",
- "line_sha256": "3e2ce04554ebb50fbf642ec9adc52dd960bc7067a0bace649eda47ffe9524da0",
+ "path": "internal/release/renderer_publish_test.go",
+ "line_sha256": "3ef7ce0fb93cb9af10feb5008ea2855c3cf91697b78d7bbe5ea4b87770e3d7cf",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
+ },
+ {
+ "path": "internal/release/renderer_publish_test.go",
+ "line_sha256": "61a0286aa78d5f9a9e08ecf50887e616d612dcaf06d8a3a4895a9a4fbbb39911",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
},
{
- "path": "scripts/publish-renderer.sh",
- "line_sha256": "70aa552ecbee5b0f5e4d8a2ab0d23769cdfd6947c8de63e530691281a10cab97",
+ "path": "internal/release/renderer_publish_test.go",
+ "line_sha256": "64a4c2c70d0cf38b6fce83c41b5bd5e7e3bdb3aa2abc8e5f96c62c1add491915",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
+ },
+ {
+ "path": "internal/release/renderer_publish_test.go",
+ "line_sha256": "8d30873f3b4dfe05015723933b9f0b113b9e7d7d9bec9f11492a09f963a5be84",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
+ },
+ {
+ "path": "internal/release/renderer_publish_test.go",
+ "line_sha256": "a4551b5050ea4b338c5c0bc559b12f1ab10e3d179500e0814ce40a679b8ceaee",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
},
{
"path": "scripts/publish-renderer.sh",
- "line_sha256": "7eb527d34cf00455e3edcb72237ae724811daf778a96b3f625cfd5f3a2050563",
+ "line_sha256": "3ee62b20d2fe03e054d2d82097e8694a7d26124cd2e377eb3c9c383eddfc8d41",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
},
{
"path": "scripts/publish-renderer.sh",
- "line_sha256": "973c376e4fde4542bfe416191270d3c02176b83e74551ccbf6bc916bbeb76649",
+ "line_sha256": "7edea3347af818f62fef308e2e15a777826964b360142b092f47392e3146f2a1",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
},
{
"path": "scripts/publish-renderer.sh",
- "line_sha256": "cbc5ae108299bc0d402f0bd83cb0cfb3fe6784603074091ce690c8ccbd0df66c",
+ "line_sha256": "a24bcecc70c0cba59834781ef36aa6cbce9cddc4488d0752ea24d29556126941",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
+ },
+ {
+ "path": "scripts/publish-renderer.sh",
+ "line_sha256": "eaf44e20633daf6e8587aa49644571642ad981213c94e12b874a3830f25bcf68",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Retained runner executable name in the page renderer's forge publish and check tooling (renderer out of the instance)."
}
]