carlos / platform Public

console: DPA follow-ups from the slice 1 reviews

Six follow-ups recorded on #1396: a "cancelled" fetch error category;
operators can remove the letterhead logo (copy approved by Paul); a
1 MiB cap on a form parked for step-up, refused before any side effect;
one opening quote at most in an SVG url(); U+2028 and U+2029 dropped in
single-line DPA fields; a test for the short-digest guard.

Astra round 1 READY AFTER FIXES; round 2 flagged a rate-limit token and
an idempotent manifest write before the oversize refusal, and Paul ruled
to accept: an oversized form is never parked and no action is applied.

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

Squashed from dpa-followups into main.
claude agent, operated by paul@keymail.dev 7a4e16e6c5c4d78cfc131fe26179334a58ac00e5 parent 18d6456
18 files changed, +496 −25
  • docs/superpowers/plans/2026-11-25-dpa-acceptance-copy.md +2 −1
  • docs/superpowers/reviews/CODEX-FINDINGS-dpa-followups-R2.md +20 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-dpa-followups.md +15 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-dpa-followups-R2.md +15 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-dpa-followups.md +30 −0
  • internal/console/approved_dpa_copy_test.go +2 −0
  • internal/console/billingretire.go +6 −0
  • internal/console/billingretire_test.go +31 −0
  • internal/console/dpapane.go +4 −2
  • internal/console/dpapane_test.go +22 −0
  • internal/console/dparecord_test.go +17 −0
  • internal/console/legalfetch.go +6 −5
  • internal/console/legalfetch_test.go +45 −0
  • internal/console/oplegal.go +32 −6
  • internal/console/oplegal_test.go +125 −0
  • internal/console/stepup.go +60 −11
  • internal/console/stepup_test.go +59 −0
  • internal/console/templates/ops_legal.html +5 −0

CI failed — run details

CI log
=== gate ===
go: downloading go1.26.10 (linux/arm64)
go version go1.26.10 linux/arm64
opentofu: arm64, tofu 1.13.9, aws 6.73.0, archive 2.8.1
  tofu: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/tofu_1.13.9_linux_arm64.tar.gz
  tofu: downloaded, digest verified
  aws: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-aws_6.73.0_linux_arm64.zip
  aws: downloaded, digest verified
  archive: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-archive_2.8.1_linux_arm64.zip
  archive: downloaded, digest verified
  installed in /tmp/carlos-opentofu-GRJBT3
.amadan/test-gate.sh
go: downloading github.com/aws/aws-sdk-go-v2 v1.44.0
go: downloading github.com/aws/aws-sdk-go-v2/service/costexplorer v1.67.5
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0
go: downloading github.com/aws/smithy-go v1.28.1
go: downloading github.com/benbjohnson/litestream v0.5.14
go: downloading github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.68.0
go: downloading github.com/superfly/ltx v0.5.1
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading golang.org/x/net v0.62.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading golang.org/x/sys v0.49.0
go: downloading golang.org/x/crypto v0.58.0
go: downloading github.com/pion/logging v0.2.4
go: downloading github.com/pion/turn/v4 v4.1.4
go: downloading github.com/pion/stun/v3 v3.1.5
go: downloading github.com/aws/aws-sdk-go-v2/service/ec2 v1.324.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/pion/transport/v4 v4.0.2
go: downloading github.com/pion/dtls/v3 v3.1.4
go: downloading golang.org/x/sync v0.24.0
go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.20.18
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading github.com/lmittmann/tint v1.1.3
go: downloading github.com/pion/randutil v0.1.0
go: downloading github.com/wlynxg/anet v0.0.5
go: downloading google.golang.org/protobuf v1.36.10
go: downloading github.com/prometheus/common v0.45.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading golang.org/x/text v0.43.0
go: downloading github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/memory v1.11.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/google/uuid v1.6.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading modernc.org/memory v1.11.0
=== launchctx (4 s, from +0 s)
ok  	amadan.net/carlos/platform.git/launchctx	0.016s
?   	amadan.net/carlos/platform.git/launchctx/controlname	[no test files]
?   	amadan.net/carlos/platform.git/launchctx/wireid	[no test files]
=== vet (171 s, from +0 s)
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/memory v1.11.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/google/uuid v1.6.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== vet-tags (175 s, from +0 s)
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/memory v1.11.0
go: downloading github.com/google/uuid v1.6.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== gofmt (1 s, from +0 s)
gofmt -l .: clean
=== rest (381 s, from +14 s)
ok  	github.com/carlosframework/platform/cmd/carlos-media	124.215s
?   	github.com/carlosframework/platform/cmd/changelog	[no test files]
ok  	github.com/carlosframework/platform/cmd/console	204.205s
ok  	github.com/carlosframework/platform/cmd/mediaimage	41.277s
ok  	github.com/carlosframework/platform/cmd/moveprobe	16.088s
ok  	github.com/carlosframework/platform/cmd/pricebook-export	0.044s
ok  	github.com/carlosframework/platform/cmd/rootfswitness	0.170s
ok  	github.com/carlosframework/platform/cmd/runsc-assets	0.291s
ok  	github.com/carlosframework/platform/cmd/zddprobe	0.998s
ok  	github.com/carlosframework/platform/internal/agentsock	0.078s
ok  	github.com/carlosframework/platform/internal/alerting	0.029s
ok  	github.com/carlosframework/platform/internal/analytics	0.336s
ok  	github.com/carlosframework/platform/internal/appconfig	39.430s
ok  	github.com/carlosframework/platform/internal/apperr	0.645s
ok  	github.com/carlosframework/platform/internal/applog	0.573s
ok  	github.com/carlosframework/platform/internal/apppolicy	3.106s
ok  	github.com/carlosframework/platform/internal/assetcache	0.478s
ok  	github.com/carlosframework/platform/internal/awsinv	0.024s
ok  	github.com/carlosframework/platform/internal/awsmanaged	11.329s
ok  	github.com/carlosframework/platform/internal/awsregiongroup	0.437s
ok  	github.com/carlosframework/platform/internal/awsterminations	0.018s
ok  	github.com/carlosframework/platform/internal/backupswords	0.017s
ok  	github.com/carlosframework/platform/internal/billing	0.196s
ok  	github.com/carlosframework/platform/internal/billing/billingtest	0.087s
ok  	github.com/carlosframework/platform/internal/billingstripe	2.261s
ok  	github.com/carlosframework/platform/internal/boxchoice	0.030s
ok  	github.com/carlosframework/platform/internal/boxid	2.881s
?   	github.com/carlosframework/platform/internal/boxid/boxidtest	[no test files]
?   	github.com/carlosframework/platform/internal/boxid/internal/signtest	[no test files]
ok  	github.com/carlosframework/platform/internal/boxroles	0.021s
ok  	github.com/carlosframework/platform/internal/boxself	0.215s
ok  	github.com/carlosframework/platform/internal/boxvolumes	0.064s
ok  	github.com/carlosframework/platform/internal/caps	4.994s
ok  	github.com/carlosframework/platform/internal/certwarm	0.020s
ok  	github.com/carlosframework/platform/internal/cgroup	1.525s
ok  	github.com/carlosframework/platform/internal/changelog	4.177s
ok  	github.com/carlosframework/platform/internal/clamd	0.112s
?   	github.com/carlosframework/platform/internal/cliflag	[no test files]
ok  	github.com/carlosframework/platform/internal/clireg	0.016s
ok  	github.com/carlosframework/platform/internal/codehealth	16.620s
ok  	github.com/carlosframework/platform/internal/compute	0.031s
ok  	github.com/carlosframework/platform/internal/consolefleet	0.022s
?   	github.com/carlosframework/platform/internal/controlname	[no test files]
?   	github.com/carlosframework/platform/internal/controlsock	[no test files]
ok  	github.com/carlosframework/platform/internal/dbdoor	10.875s
ok  	github.com/carlosframework/platform/internal/dbdoor/dbdoortest	0.028s
ok  	github.com/carlosframework/platform/internal/dbquery	0.048s
ok  	github.com/carlosframework/platform/internal/dbreads	3.402s
?   	github.com/carlosframework/platform/internal/dbreads/dbreadstest	[no test files]
ok  	github.com/carlosframework/platform/internal/dbverify	0.033s
ok  	github.com/carlosframework/platform/internal/demo	0.032s
ok  	github.com/carlosframework/platform/internal/demobuild	3.644s
ok  	github.com/carlosframework/platform/internal/democlaim	0.493s
ok  	github.com/carlosframework/platform/internal/devbox	14.849s
ok  	github.com/carlosframework/platform/internal/dnsrec	0.039s
ok  	github.com/carlosframework/platform/internal/docsite	0.134s
ok  	github.com/carlosframework/platform/internal/domainreg	0.039s
ok  	github.com/carlosframework/platform/internal/domains	68.914s
ok  	github.com/carlosframework/platform/internal/doorkey	0.031s
ok  	github.com/carlosframework/platform/internal/economics	0.026s
ok  	github.com/carlosframework/platform/internal/edgefence	0.146s
ok  	github.com/carlosframework/platform/internal/edgeguard	0.198s
?   	github.com/carlosframework/platform/internal/edgeproof	[no test files]
ok  	github.com/carlosframework/platform/internal/edgesfile	0.121s
ok  	github.com/carlosframework/platform/internal/egressaddr	0.025s
ok  	github.com/carlosframework/platform/internal/execsandbox	101.772s
ok  	github.com/carlosframework/platform/internal/fileacl	0.012s
ok  	github.com/carlosframework/platform/internal/fleetapi	1.603s
ok  	github.com/carlosframework/platform/internal/fleetstore	0.007s
ok  	github.com/carlosframework/platform/internal/fxrate	0.016s
ok  	github.com/carlosframework/platform/internal/gate	4.852s
ok  	github.com/carlosframework/platform/internal/genselect	0.116s
ok  	github.com/carlosframework/platform/internal/geo	0.040s
ok  	github.com/carlosframework/platform/internal/geoip	0.094s
ok  	github.com/carlosframework/platform/internal/groupadmission	0.007s
ok  	github.com/carlosframework/platform/internal/grouprollaws	16.689s
ok  	github.com/carlosframework/platform/internal/hadeparture	0.009s
ok  	github.com/carlosframework/platform/internal/hafresh	0.005s
ok  	github.com/carlosframework/platform/internal/hairpin	0.227s
ok  	github.com/carlosframework/platform/internal/historyreadback	0.976s
ok  	github.com/carlosframework/platform/internal/hostactors	23.637s
ok  	github.com/carlosframework/platform/internal/hostbox	23.731s
ok  	github.com/carlosframework/platform/internal/hostclaim	2.882s
ok  	github.com/carlosframework/platform/internal/hostenv	0.057s
ok  	github.com/carlosframework/platform/internal/hostevidence	0.028s
ok  	github.com/carlosframework/platform/internal/hostexec	22.539s
ok  	github.com/carlosframework/platform/internal/hostfence	0.196s
ok  	github.com/carlosframework/platform/internal/hostfiles	26.510s
ok  	github.com/carlosframework/platform/internal/hostfloor	0.179s
ok  	github.com/carlosframework/platform/internal/hostguard	1.563s
ok  	github.com/carlosframework/platform/internal/hostops	8.785s
?   	github.com/carlosframework/platform/internal/hostops/fencerelease	[no test files]
ok  	github.com/carlosframework/platform/internal/hostops/internal/fencerelease	0.008s
ok  	github.com/carlosframework/platform/internal/hostquarantine	0.015s
ok  	github.com/carlosframework/platform/internal/hostrelocate	2.181s
ok  	github.com/carlosframework/platform/internal/hostresolve	0.778s
ok  	github.com/carlosframework/platform/internal/hostwrite	0.016s
ok  	github.com/carlosframework/platform/internal/infraview	0.006s
ok  	github.com/carlosframework/platform/internal/ingresshealth	0.013s
ok  	github.com/carlosframework/platform/internal/ingresshealth/awstg	0.013s
ok  	github.com/carlosframework/platform/internal/instancectl	61.126s
ok  	github.com/carlosframework/platform/internal/instanceexec	9.556s
ok  	github.com/carlosframework/platform/internal/instancefs	0.066s
ok  	github.com/carlosframework/platform/internal/instancekey	0.007s
ok  	github.com/carlosframework/platform/internal/instanceupdates	0.039s
ok  	github.com/carlosframework/platform/internal/interactive	0.658s
ok  	github.com/carlosframework/platform/internal/launchd	0.009s
ok  	github.com/carlosframework/platform/internal/layout	20.559s
ok  	github.com/carlosframework/platform/internal/layout/pubclass	99.586s
ok  	github.com/carlosframework/platform/internal/lbhealth	0.020s
ok  	github.com/carlosframework/platform/internal/lease	146.106s
ok  	github.com/carlosframework/platform/internal/lease/leasetest	1.413s
ok  	github.com/carlosframework/platform/internal/lease/locktest	0.029s
ok  	github.com/carlosframework/platform/internal/ledger	0.054s
ok  	github.com/carlosframework/platform/internal/mail	1.350s
ok  	github.com/carlosframework/platform/internal/mailer	0.846s
ok  	github.com/carlosframework/platform/internal/mailsubmit	1.649s
ok  	github.com/carlosframework/platform/internal/mailwire	0.010s
ok  	github.com/carlosframework/platform/internal/maintenance	0.208s
ok  	github.com/carlosframework/platform/internal/maintenanceexec	8.591s
ok  	github.com/carlosframework/platform/internal/maintenanceguard	0.368s
ok  	github.com/carlosframework/platform/internal/managedboot	3.964s
?   	github.com/carlosframework/platform/internal/managedboot/boottest	[no test files]
?   	github.com/carlosframework/platform/internal/managedboot/roottest	[no test files]
ok  	github.com/carlosframework/platform/internal/media	2.146s
ok  	github.com/carlosframework/platform/internal/media/mediatest	0.023s
ok  	github.com/carlosframework/platform/internal/mediaaws	59.855s
ok  	github.com/carlosframework/platform/internal/mediahandler	40.236s
ok  	github.com/carlosframework/platform/internal/mediajobs	0.774s
ok  	github.com/carlosframework/platform/internal/medialocal	9.793s
ok  	github.com/carlosframework/platform/internal/metrics	0.071s
ok  	github.com/carlosframework/platform/internal/minorunits	0.007s
ok  	github.com/carlosframework/platform/internal/moves	52.596s
ok  	github.com/carlosframework/platform/internal/moves/archive	2.799s
ok  	github.com/carlosframework/platform/internal/moves/offlinerun	0.108s
ok  	github.com/carlosframework/platform/internal/namedunits	0.054s
ok  	github.com/carlosframework/platform/internal/objstore	2.176s
ok  	github.com/carlosframework/platform/internal/ops	14.216s
ok  	github.com/carlosframework/platform/internal/pageindex	3.783s
ok  	github.com/carlosframework/platform/internal/parity	0.084s
?   	github.com/carlosframework/platform/internal/parity/cmd/parity-doc	[no test files]
ok  	github.com/carlosframework/platform/internal/park	0.756s
ok  	github.com/carlosframework/platform/internal/perf	0.196s
ok  	github.com/carlosframework/platform/internal/plans	0.097s
ok  	github.com/carlosframework/platform/internal/privatefile	0.015s
ok  	github.com/carlosframework/platform/internal/provision	235.531s
ok  	github.com/carlosframework/platform/internal/proxyproto	0.945s
ok  	github.com/carlosframework/platform/internal/publicrelease	0.043s
ok  	github.com/carlosframework/platform/internal/ratelimit	0.225s
ok  	github.com/carlosframework/platform/internal/regionlabel	0.056s
ok  	github.com/carlosframework/platform/internal/regionname	0.049s
ok  	github.com/carlosframework/platform/internal/registrar	0.029s
ok  	github.com/carlosframework/platform/internal/registrar/openprovider	0.653s
?   	github.com/carlosframework/platform/internal/registrar/registrartest	[no test files]
ok  	github.com/carlosframework/platform/internal/registry	85.528s
ok  	github.com/carlosframework/platform/internal/relay	7.459s
ok  	github.com/carlosframework/platform/internal/release	87.505s
ok  	github.com/carlosframework/platform/internal/replicagen	0.043s
ok  	github.com/carlosframework/platform/internal/replicas	0.069s
ok  	github.com/carlosframework/platform/internal/reqrec	6.283s
ok  	github.com/carlosframework/platform/internal/rollout	10.789s
ok  	github.com/carlosframework/platform/internal/rolloutwords	0.025s
ok  	github.com/carlosframework/platform/internal/rootaws	99.788s
ok  	github.com/carlosframework/platform/internal/rootfsimage	0.897s
ok  	github.com/carlosframework/platform/internal/rootparticipation	0.097s
ok  	github.com/carlosframework/platform/internal/rootstate	0.064s
ok  	github.com/carlosframework/platform/internal/runs	0.985s
ok  	github.com/carlosframework/platform/internal/s3compat	0.034s
ok  	github.com/carlosframework/platform/internal/s3fake	1.402s
ok  	github.com/carlosframework/platform/internal/safefile	0.033s
ok  	github.com/carlosframework/platform/internal/schedule	24.272s
ok  	github.com/carlosframework/platform/internal/seeds	0.070s
ok  	github.com/carlosframework/platform/internal/sim/litestreamfacts	5.101s
ok  	github.com/carlosframework/platform/internal/sim/mediajobs	49.995s
ok  	github.com/carlosframework/platform/internal/sim/regionha	21.658s
ok  	github.com/carlosframework/platform/internal/status	0.374s
ok  	github.com/carlosframework/platform/internal/steering	0.254s
ok  	github.com/carlosframework/platform/internal/stopevidence	0.437s
ok  	github.com/carlosframework/platform/internal/storecfg	0.389s
ok  	github.com/carlosframework/platform/internal/svcrole	0.011s
ok  	github.com/carlosframework/platform/internal/systemd	5.578s
?   	github.com/carlosframework/platform/internal/systemdshow	[no test files]
ok  	github.com/carlosframework/platform/internal/team	3.573s
ok  	github.com/carlosframework/platform/internal/teamcontract	0.127s
ok  	github.com/carlosframework/platform/internal/telemetry	0.025s
ok  	github.com/carlosframework/platform/internal/termfence	2.507s
ok  	github.com/carlosframework/platform/internal/timerspec	0.010s
ok  	github.com/carlosframework/platform/internal/tsidentity	4.115s
ok  	github.com/carlosframework/platform/internal/tunnelclient	0.433s
ok  	github.com/carlosframework/platform/internal/unixdial	0.019s
ok  	github.com/carlosframework/platform/internal/updatewords	0.077s
ok  	github.com/carlosframework/platform/internal/upstreamguard	0.011s
?   	github.com/carlosframework/platform/internal/upstreamguard/guardtest	[no test files]
ok  	github.com/carlosframework/platform/internal/usage	0.021s
ok  	github.com/carlosframework/platform/internal/version	0.014s
ok  	github.com/carlosframework/platform/internal/vet	2.867s
ok  	github.com/carlosframework/platform/internal/zonehost	0.009s
ok  	github.com/carlosframework/platform/internal/zonehost/route53zones	0.066s
?   	github.com/carlosframework/platform/internal/zonehost/zonehosttest	[no test files]
?   	github.com/carlosframework/platform/scripts/gitleaks-gate	[no test files]
ok  	github.com/carlosframework/platform/scripts/govulncheck-gate	0.037s
ok  	github.com/carlosframework/platform/scripts/pathmapcheck	0.090s
ok  	github.com/carlosframework/platform/scripts/region-ha-g2/fixture	5.201s
ok  	github.com/carlosframework/platform/scripts/stateless-replicas-drill	1.212s
ok  	github.com/carlosframework/platform/scripts/witness-pointer	0.017s
=== cutover-witness (160 s, from +14 s)
ok  	github.com/carlosframework/platform	1.618s
=== internal_grouproll@0 (273 s, from +72 s)
ok  	github.com/carlosframework/platform/internal/grouproll	272.002s
=== internal_grouproll@1 (273 s, from +72 s)
ok  	github.com/carlosframework/platform/internal/grouproll	271.243s
=== internal_activator@0 (149 s, from +142 s)
ok  	github.com/carlosframework/platform/internal/activator	145.321s
=== internal_activator@1 (133 s, from +142 s)
ok  	github.com/carlosframework/platform/internal/activator	129.141s
=== internal_activator@2 (135 s, from +142 s)
ok  	github.com/carlosframework/platform/internal/activator	131.485s
=== internal_activator@3 (166 s, from +142 s)
ok  	github.com/carlosframework/platform/internal/activator	162.409s
=== root@0 (122 s, from +171 s)
ok  	github.com/carlosframework/platform	112.473s
=== root@1 (110 s, from +171 s)
ok  	github.com/carlosframework/platform	102.289s
=== root@2 (118 s, from +171 s)
ok  	github.com/carlosframework/platform	110.936s
=== root@3 (111 s, from +171 s)
ok  	github.com/carlosframework/platform	101.805s
=== root@4 (121 s, from +171 s)
ok  	github.com/carlosframework/platform	112.378s
=== internal_edge@0 (253 s, from +173 s)
ok  	github.com/carlosframework/platform/internal/edge	245.241s
=== internal_edge@1 (131 s, from +173 s)
ok  	github.com/carlosframework/platform/internal/edge	123.765s
=== internal_edge@2 (147 s, from +173 s)
ok  	github.com/carlosframework/platform/internal/edge	138.131s
=== internal_edge@3 (153 s, from +173 s)
ok  	github.com/carlosframework/platform/internal/edge	143.901s
=== internal_host@0 (140 s, from +214 s)
ok  	github.com/carlosframework/platform/internal/host	135.320s
=== internal_host@1 (221 s, from +214 s)
ok  	github.com/carlosframework/platform/internal/host	216.735s
=== internal_host@2 (336 s, from +214 s)
ok  	github.com/carlosframework/platform/internal/host	331.695s
=== internal_host@3 (166 s, from +214 s)
ok  	github.com/carlosframework/platform/internal/host	161.667s
=== internal_host@4 (144 s, from +214 s)
ok  	github.com/carlosframework/platform/internal/host	139.490s
=== internal_host@5 (145 s, from +214 s)
ok  	github.com/carlosframework/platform/internal/host	140.702s
=== internal_console@0 (153 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	146.536s
=== internal_console@1 (166 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	159.250s
=== internal_console@2 (230 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	222.608s
=== internal_console@3 (240 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	233.614s
=== internal_console@4 (205 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	198.901s
=== internal_console@5 (211 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	204.844s
=== internal_console@6 (205 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	198.229s
=== internal_console@7 (210 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	203.517s
=== internal_console@8 (214 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	206.931s
=== internal_console@9 (219 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	212.727s
=== internal_console@10 (224 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	217.477s
=== internal_console@11 (202 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	195.270s
=== internal_console@12 (286 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	279.924s
=== internal_console@13 (209 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	202.628s
=== internal_console@14 (237 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	230.417s
=== internal_console@15 (209 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	202.045s
=== internal_console@16 (236 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	229.746s
=== internal_console@17 (200 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	193.079s
=== internal_console@18 (217 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	209.786s
=== internal_console@19 (204 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	197.518s
=== internal_console@20 (233 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	226.360s
=== internal_console@21 (251 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	243.661s
=== internal_console@22 (222 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	214.026s
=== internal_console@23 (226 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	219.453s
=== lists: internal_console 220 s, internal_edge 170 s, internal_activator 141 s, internal_host 213 s, root 170 s, internal_grouproll 72 s
=== cpu: the gate used 12749 cpu-seconds in 550 s, about 23.2 of 32 cores; the machine as a whole was 77% busy
=== opentofu ===
opentofu: 39 test files in 11 suites, OpenTofu v1.13.9
  initialised in 14 s
  ok      16 s  infra/modules/box-fence-writer/tests/writer.tftest.hcl  Success! 1 passed, 0 failed.
  ok      20 s  infra/modules/deployment-buckets/tests/console_floors.tftest.hcl  Success! 1 passed, 0 failed.
  ok      30 s  infra/modules/deployment-buckets/tests/data_lifecycle.tftest.hcl  Success! 3 passed, 0 failed.
  ok      22 s  infra/modules/deployment-buckets/tests/db_reads.tftest.hcl  Success! 1 passed, 0 failed.
  ok      16 s  infra/modules/deployment-buckets/tests/evidence.tftest.hcl  Success! 1 passed, 0 failed.
  ok      29 s  infra/modules/deployment-buckets/tests/fence_writers.tftest.hcl  Success! 3 passed, 0 failed.
  ok      27 s  infra/modules/deployment-buckets/tests/media_results.tftest.hcl  Success! 2 passed, 0 failed.
  ok      84 s  infra/modules/media-engine/tests/media_engine.tftest.hcl  Success! 24 passed, 0 failed.
  ok      28 s  infra/modules/pdf-host/tests/computed.tftest.hcl  Success! 2 passed, 0 failed.
  ok      59 s  infra/modules/pdf-host/tests/pdf_host.tftest.hcl  Success! 24 passed, 0 failed.
  ok      41 s  infra/modules/region-group-operator-document/tests/document.tftest.hcl  Success! 12 passed, 0 failed.
  ok      19 s  infra/modules/region-host/ingress/tests/fixed-targets/tests/targets.tftest.hcl  Success! 2 passed, 0 failed.
  ok      64 s  infra/modules/region-host/ingress/tests/group_ingress.tftest.hcl  Success! 30 passed, 0 failed.
  ok      45 s  infra/modules/region-host/tests/alert_publish.tftest.hcl  Success! 18 passed, 0 failed.
  ok      42 s  infra/modules/region-host/tests/alerts_topic.tftest.hcl  Success! 16 passed, 0 failed.
  ok      11 s  infra/modules/region-host/tests/analytics_prune.tftest.hcl  Success! 2 passed, 0 failed.
  ok      15 s  infra/modules/region-host/tests/console_mail.tftest.hcl  Success! 4 passed, 0 failed.
  ok       6 s  infra/modules/region-host/tests/fixed_state_unchanged.tftest.hcl  Success! 1 passed, 0 failed.
  ok      70 s  infra/modules/region-host/tests/group.tftest.hcl  Success! 32 passed, 0 failed.
  ok       9 s  infra/modules/region-host/tests/group_alarms.tftest.hcl  Success! 4 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/group_iam.tftest.hcl  Success! 4 passed, 0 failed.
  ok       6 s  infra/modules/region-host/tests/group_isolation.tftest.hcl  Success! 1 passed, 0 failed.
  ok      37 s  infra/modules/region-host/tests/group_operator.tftest.hcl  Success! 13 passed, 0 failed.
  ok       8 s  infra/modules/region-host/tests/group_user_data.tftest.hcl  Success! 3 passed, 0 failed.
  ok      30 s  infra/modules/region-host/tests/health_alarms.tftest.hcl  Success! 10 passed, 0 failed.
  ok      12 s  infra/modules/region-host/tests/ingress_drain_read.tftest.hcl  Success! 4 passed, 0 failed.
  ok       6 s  infra/modules/region-host/tests/instance_metadata.tftest.hcl  Success! 1 passed, 0 failed.
  ok      23 s  infra/modules/region-host/tests/mailer.tftest.hcl  Success! 6 passed, 0 failed.
  ok      14 s  infra/modules/region-host/tests/mailer_group.tftest.hcl  Success! 2 passed, 0 failed.
  ok      14 s  infra/modules/region-host/tests/managed_fleets/group_refusal.tftest.hcl  Success! 2 passed, 0 failed.
  ok     107 s  infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl  Success! 46 passed, 0 failed.
  ok      70 s  infra/modules/region-host/tests/store_conversion.tftest.hcl  Success! 27 passed, 0 failed.
  ok      16 s  infra/modules/region-host/tests/store_scanning.tftest.hcl  Success! 4 passed, 0 failed.
  ok      30 s  infra/modules/region-host/tests/store_versioning.tftest.hcl  Success! 11 passed, 0 failed.
  ok      14 s  infra/modules/region-host/tests/store_write_credentials.tftest.hcl  Success! 4 passed, 0 failed.
  ok      16 s  infra/modules/region-host/tests/user_data_ignored.tftest.hcl  Success! 3 passed, 0 failed.
  ok      10 s  infra/modules/region-remote-host/tests/data_lifecycle.tftest.hcl  Success! 3 passed, 0 failed.
  ok      15 s  infra/modules/region-remote-host/tests/no_deployment_bucket.tftest.hcl  Success! 5 passed, 0 failed.
  ok      29 s  infra/modules/scanner-host/tests/scanner_host.tftest.hcl  Success! 14 passed, 0 failed.
opentofu: 39 files in 208 s
opentofu: PASS
=== cross ===
--- shard 0 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling darwin/arm64
--- shard 1 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling darwin/amd64
--- shard 2 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling linux/arm64
linux/arm64 carlos binary: 66322594 bytes (ceiling 70000000)
--- shard 3 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling windows/amd64
--- shard 4 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling windows/arm64
=== minio-contract ===
go version go1.26.10 linux/arm64
minio contract: arm64, minio RELEASE.2025-09-07T16-13-09Z, mc RELEASE.2025-08-13T08-35-41Z
  minio: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/minio/minio.linux-arm64.RELEASE.2025-09-07T16-13-09Z
  minio: downloaded, digest verified
  mc: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/minio/mc.linux-arm64.RELEASE.2025-08-13T08-35-41Z
  mc: downloaded, digest verified
  minio healthy on 127.0.0.1:35483
Added `local` successfully.
Bucket created successfully `local/contract-bucket`.
Bucket created successfully `local/denied-bucket`.
Created policy `contract-only` successfully.
Added user `scopeduser` successfully.
Attached Policies: [contract-only]
To User: scopeduser
  buckets and scoped user ready
=== RUN   TestDeliveredContractMinio
=== RUN   TestDeliveredContractMinio/put
=== RUN   TestDeliveredContractMinio/get_round-trips_the_body
=== RUN   TestDeliveredContractMinio/list_shows_the_key
=== RUN   TestDeliveredContractMinio/head_and_list_agree_on_the_version
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_its_own_object
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/not_by_PutObjectTagging
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/and_not_by_x-amz-tagging_on_upload
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CreateMultipartUpload
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CopyObject_with_a_REPLACE_tagging_directive
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/but_multipart_itself_is_allowed
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_copy_itself_is_allowed
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/a_POST-policy_forged_tag_with_a_matching_version_is_still_not_a_verdict
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_an_ordinary_tagged-with-something-else_upload_is_allowed
=== RUN   TestDeliveredContractMinio/delete_removes_it
=== RUN   TestDeliveredContractMinio/cross-bucket_denial
--- PASS: TestDeliveredContractMinio (0.03s)
    --- PASS: TestDeliveredContractMinio/put (0.00s)
    --- PASS: TestDeliveredContractMinio/get_round-trips_the_body (0.00s)
    --- PASS: TestDeliveredContractMinio/list_shows_the_key (0.00s)
    --- PASS: TestDeliveredContractMinio/head_and_list_agree_on_the_version (0.00s)
    --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_its_own_object (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/not_by_PutObjectTagging (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/and_not_by_x-amz-tagging_on_upload (0.00s)
    --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route (0.01s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CreateMultipartUpload (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CopyObject_with_a_REPLACE_tagging_directive (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/but_multipart_itself_is_allowed (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_copy_itself_is_allowed (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/a_POST-policy_forged_tag_with_a_matching_version_is_still_not_a_verdict (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_an_ordinary_tagged-with-something-else_upload_is_allowed (0.00s)
    --- PASS: TestDeliveredContractMinio/delete_removes_it (0.00s)
    --- PASS: TestDeliveredContractMinio/cross-bucket_denial (0.00s)
PASS
ok  	github.com/carlosframework/platform/internal/objstore	0.037s
=== RUN   TestT4StorageProbeMinio
2026/11/26 10:14:41 moves: T4: STORE: list: operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: 18EB90CBB94DDAF4, HostID: 4dfbb534a1e3521b024097cedadd5c8adeed9b1428cc1e11e435d5299d8f55fe, api error SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
--- PASS: TestT4StorageProbeMinio (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/host	0.043s
=== RUN   TestS3StoreMinioContract
=== RUN   TestS3StoreMinioContract/conditional_get_and_etag_listing
=== RUN   TestS3StoreMinioContract/bump_through_every_mutation_path
--- PASS: TestS3StoreMinioContract (0.03s)
    --- PASS: TestS3StoreMinioContract/conditional_get_and_etag_listing (0.01s)
    --- PASS: TestS3StoreMinioContract/bump_through_every_mutation_path (0.02s)
PASS
ok  	github.com/carlosframework/platform/internal/release	0.041s
Bucket created successfully `local/analytics-versions`.
local/analytics-versions versioning is enabled
Created policy `analytics-versions` successfully.
Added user `analyticsversions` successfully.
Attached Policies: [analytics-versions]
To User: analyticsversions
=== RUN   TestS3StoreMinioVersions
--- PASS: TestS3StoreMinioVersions (0.03s)
PASS
ok  	github.com/carlosframework/platform/internal/release	0.042s
Bucket created successfully `local/store-versioned`.
local/store-versioned versioning is enabled
Created policy `store-versioned` successfully.
Added user `storeversioned` successfully.
Attached Policies: [store-versioned]
To User: storeversioned
=== RUN   TestVersionedContractMinio
--- PASS: TestVersionedContractMinio (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/objstore	0.020s
Bucket created successfully `local/wc-bucket`.
Created policy `writer` successfully.
Added user `wcwriter` successfully.
Attached Policies: [writer]
To User: wcwriter
=== RUN   TestWriteCredentialContractMinio
=== RUN   TestWriteCredentialContractMinio/put_under_the_prefix
=== RUN   TestWriteCredentialContractMinio/multipart_under_the_prefix
=== RUN   TestWriteCredentialContractMinio/refused:_put_with_a_platform_tag
=== RUN   TestWriteCredentialContractMinio/refused:_read_under_the_prefix
=== RUN   TestWriteCredentialContractMinio/refused:_read_elsewhere
=== RUN   TestWriteCredentialContractMinio/refused:_list_uploads
=== RUN   TestWriteCredentialContractMinio/refused:_put_outside_the_prefix
=== RUN   TestWriteCredentialContractMinio/refused:_put_beside_the_prefix
=== RUN   TestWriteCredentialContractMinio/refused:_put_to_another_bucket
=== RUN   TestWriteCredentialContractMinio/refused:_copy_from_the_store
=== RUN   TestWriteCredentialContractMinio/refused:_bucket_settings
=== RUN   TestWriteCredentialContractMinio/refused:_head
=== RUN   TestWriteCredentialContractMinio/refused:_list
=== RUN   TestWriteCredentialContractMinio/refused:_delete
=== RUN   TestWriteCredentialContractMinio/refused:_tag
=== RUN   TestWriteCredentialContractMinio/refused:_put_tagged
--- PASS: TestWriteCredentialContractMinio (0.04s)
    --- PASS: TestWriteCredentialContractMinio/put_under_the_prefix (0.00s)
    --- PASS: TestWriteCredentialContractMinio/multipart_under_the_prefix (0.01s)
    --- PASS: TestWriteCredentialContractMinio/refused:_put_with_a_platform_tag (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_read_under_the_prefix (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_read_elsewhere (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_list_uploads (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_put_outside_the_prefix (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_put_beside_the_prefix (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_put_to_another_bucket (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_copy_from_the_store (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_bucket_settings (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_head (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_list (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_delete (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_tag (0.00s)
    --- PASS: TestWriteCredentialContractMinio/refused:_put_tagged (0.00s)
PASS
ok  	github.com/carlosframework/platform/internal/objstore	0.049s
=== RUN   TestEndToEndMinio
=== RUN   TestEndToEndMinio/plan
=== RUN   TestEndToEndMinio/roll
=== RUN   TestEndToEndMinio/replace
=== RUN   TestEndToEndMinio/remove
--- PASS: TestEndToEndMinio (0.48s)
    --- PASS: TestEndToEndMinio/plan (0.01s)
    --- PASS: TestEndToEndMinio/roll (0.12s)
    --- PASS: TestEndToEndMinio/replace (0.16s)
    --- PASS: TestEndToEndMinio/remove (0.16s)
PASS
ok  	github.com/carlosframework/platform/internal/grouproll	0.492s
Bucket created successfully `local/dbf-deploy`.
Bucket created successfully `local/dbf-data-ie`.
Bucket created successfully `local/dbf-data-uk`.
local/dbf-deploy versioning is enabled
Created policy `dbf-console` successfully.
Created policy `dbf-ukbox` successfully.
Added user `dbfconsole` successfully.
Added user `dbfukbox` successfully.
Attached Policies: [dbf-console]
To User: dbfconsole
Attached Policies: [dbf-ukbox]
To User: dbfukbox
=== RUN   TestDBForwardMinio
2026/11/26 10:14:49 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/26 10:14:49 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/26 10:14:49 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/26 10:14:49 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/26 10:14:49 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=370
2026/11/26 10:14:49 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/26 10:14:49 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000003
2026/11/26 10:14:49 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000003 maxTXID=0000000000000003 size=454
2026/11/26 10:14:49 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000003 txid.db=0000000000000003
2026/11/26 10:14:49 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/26 10:14:49 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/26 10:14:49 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/26 10:14:49 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/26 10:14:49 console: could not notify member@example.com of a CLI token issue: keymail: lookup member@example.com: keymail: GET /api/federation/lookup?addr=member%40example.com&from=console%40127.0.0.1%3A44105: could not determine target mailbox
    agent.go:136: dbreads: dbr_zo7qs66y6cyr3qxxfq7vnp6kbi: planned 3 files (1544 bytes) and restored to 3 in 13ms
    agent.go:136: dbreads: dbr_zo7qs66y6cyr3qxxfq7vnp6kbi: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/26 10:14:50 console: db read dbr_zo7qs66y6cyr3qxxfq7vnp6kbi: relayed 1 chunks (102 bytes) in 1.004s, ended done
    agent.go:136: dbreads: dbr_b3wfmbprd7pvxodg3njtwwnhla: planned 1 files (720 bytes) and restored to 1 in 11ms
    agent.go:136: dbreads: dbr_b3wfmbprd7pvxodg3njtwwnhla: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/26 10:14:51 console: db read dbr_b3wfmbprd7pvxodg3njtwwnhla: relayed 1 chunks (102 bytes) in 1.004s, ended done
    agent.go:136: dbreads: dbr_nbsrwj22kgbesdd4z2used2ggi: planned 3 files (1544 bytes) and held through 3 in 11ms
    agent.go:136: dbreads: dbr_nbsrwj22kgbesdd4z2used2ggi: output 1544 bytes in 1 confirmed chunks in 1ms
2026/11/26 10:14:52 console: db read dbr_nbsrwj22kgbesdd4z2used2ggi: relayed 1 chunks (1641 bytes) in 1.004s, ended done
=== RUN   TestDBForwardMinio/by_disconnect
=== NAME  TestDBForwardMinio
    agent.go:136: dbreads: dbr_ttxdwg3dstgg26hy7nlhci3iea: planned 3 files (1544 bytes) and restored to 3 in 13ms
2026/11/26 10:14:52 console: db read dbr_ttxdwg3dstgg26hy7nlhci3iea: relayed 0 chunks (0 bytes) in 30ms, ended client gone
    agent.go:136: dbreads: dbr_ttxdwg3dstgg26hy7nlhci3iea: output 5 bytes in 1 confirmed chunks in 104ms
=== RUN   TestDBForwardMinio/by_timeout
=== NAME  TestDBForwardMinio
    agent.go:136: dbreads: dbr_6uqb6xh2go5ki7uahl2eseg5hm: planned 3 files (1544 bytes) and restored to 3 in 15ms
2026/11/26 10:15:13 console: db read dbr_6uqb6xh2go5ki7uahl2eseg5hm: relayed 0 chunks (0 bytes) in 19.915s, ended no-result
    agent.go:136: dbreads: dbr_6uqb6xh2go5ki7uahl2eseg5hm: output 5 bytes in 1 confirmed chunks in 19.887s
--- PASS: TestDBForwardMinio (23.59s)
    --- PASS: TestDBForwardMinio/by_disconnect (0.24s)
    --- PASS: TestDBForwardMinio/by_timeout (20.02s)
PASS
ok  	github.com/carlosframework/platform/internal/console	23.637s
Bucket created successfully `local/media-transfers`.
Bucket created successfully `local/media-transfer-results`.
local/media-transfer-results versioning is enabled
Created policy `media-transfers` successfully.
Added user `mediatransfers` successfully.
Attached Policies: [media-transfers]
To User: mediatransfers
=== RUN   TestMediaTransfersMinio
    upload.go:117: codec: the store already holds video.mp4
    upload.go:117: codec: the store already holds video.m3u8
    upload.go:117: codec: the store already holds poster.jpg
--- PASS: TestMediaTransfersMinio (0.07s)
PASS
ok  	github.com/carlosframework/platform/internal/mediaaws	0.074s
Bucket created successfully `local/media-local-store`.
Bucket created successfully `local/media-local-results`.
Created policy `media-local` successfully.
Added user `medialocal` successfully.
Attached Policies: [media-local]
To User: medialocal
=== RUN   TestLocalEndToEndMinio
--- PASS: TestLocalEndToEndMinio (0.54s)
PASS
ok  	github.com/carlosframework/platform/internal/medialocal	0.545s
=== RUN   TestHeldHandoverTwoBoxMinio
2026/11/26 10:15:17 edge: mesh key: minted
2026/11/26 10:15:18 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/26 10:15:18 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/26 10:15:18 tenant admission is open. accepting tenant work
2026/11/26 10:15:18 activator: HA placement host=shop-38379583.example.test kind=Place ref=annie reason=roomiest generation=2026-11-26T10:15:18Z lock_generation=0
2026/11/26 10:15:18 lease: t8-38379583/shop-38379583.example.test: HA lease acquired in 4ms (first wake)
2026/11/26 10:15:18 activator: shop-38379583.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:15:18 activator: shop-38379583.example.test: started carlos-instance@shop\x2d38379583.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 6ms, control socket 0s, key gate 0s, logs 0s) 6ms, launch file 0s, gate 0s, root start 1ms)
2026/11/26 10:15:18 activator: shop-38379583.example.test: carlos-instance@shop\x2d38379583.example.test.service launched in 7ms, healthy 0s later
2026/11/26 10:15:18 activator: shop-38379583.example.test: woke in 21ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 7ms, replicate 9ms
2026/11/26 10:15:18 lease: t8-38379583/plain-38379583.example.test: acquired in 2ms (client 0s, lock read and write 1ms)
2026/11/26 10:15:18 activator: no replica for plain-38379583.example.test in s3://contract-bucket/t8-38379583/plain-38379583.example.test — booting fresh
2026/11/26 10:15:18 activator: plain-38379583.example.test: started carlos-instance@plain\x2d38379583.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 1ms, instance key 0s, env 4ms, control socket 0s, key gate 0s, logs 0s) 5ms, launch file 0s, gate 0s, root start 1ms)
2026/11/26 10:15:18 activator: plain-38379583.example.test: carlos-instance@plain\x2d38379583.example.test.service launched in 6ms, healthy 0s later
2026/11/26 10:15:18 activator: plain-38379583.example.test: woke in 89ms: checks 0s, lease 2ms, restore 18ms, identity 0s, protect 0s, spawn 7ms, replicate 62ms
2026/11/26 10:15:18 lease: t8-38379583/bot0.shop.bac.sidecar.internal: HA lease acquired in 4ms (first wake)
2026/11/26 10:15:18 activator: bot0.shop.bac.sidecar.internal: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:15:18 activator: bot0.shop.bac.sidecar.internal: woke in 18ms: checks 0s, lease 4ms, restore 0s, identity 0s, protect 0s, spawn 7ms, settle 0s, replicate 7ms
2026/11/26 10:15:18 activator: next-due probe plain-38379583.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/26 10:15:18 activator: plain-38379583.example.test hibernated
2026/11/26 10:15:18 activator: next-due probe shop-38379583.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/26 10:15:18 activator: bot0.shop.bac.sidecar.internal: released with a marker (clean true, txid 1, files 3:c2f575c24cac0b90ef413bc02244e98622e0a9fc0671e7281229472ec5c7e9be) in 7ms: files 2ms, sync 2ms, record 1ms, marker 2ms
2026/11/26 10:15:18 activator: bot0.shop.bac.sidecar.internal hibernated
2026/11/26 10:15:18 activator: shop-38379583.example.test: released with a marker (clean true, txid 1, files 3:9f92596a3805deaa4f8fea8edf12e131860c3c525f0e0a1f1c2966987d6c1676) in 6ms: files 1ms, sync 2ms, record 1ms, marker 2ms
2026/11/26 10:15:18 activator: shop-38379583.example.test hibernated
2026/11/26 10:15:18 lease: t8-38379583/shop-38379583.example.test: HA lease acquired in 3ms (clean marker)
2026/11/26 10:15:18 activator: shop-38379583.example.test: restored (other-box)
2026/11/26 10:15:18 activator: shop-38379583.example.test: started carlos-instance@shop\x2d38379583.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 1ms)
2026/11/26 10:15:18 activator: shop-38379583.example.test: carlos-instance@shop\x2d38379583.example.test.service launched in 2ms, healthy 0s later
2026/11/26 10:15:18 activator: shop-38379583.example.test: woke in 37ms: checks 0s, lease 3ms, restore 23ms, identity 0s, protect 0s, spawn 2ms, replicate 8ms
2026/11/26 10:15:18 edge: ha-take shop-38379583.example.test from annie (txn t8-witness, marker generation 1): holder betty, generation 2
2026/11/26 10:15:18 edge: forward shop-38379583.example.test: annie handed the request over to betty; sending it there (occurrence #1)
    hadrain_twobox_minio_linux_test.go:1238: drain report: {V:1 Transaction:t8-witness Incarnation:81007d7dea779c648146daed34532146 Step:move Result:ok Reasons:[] Fence:t8-witness StartedAt:2026-11-26 10:15:18.353658954 +0000 UTC FinishedAt:2026-11-26 10:15:18.451088428 +0000 UTC Acked:[betty carol] Departed:[] Moved:[{Host:shop-38379583.example.test Holder:betty Gen:2 Confirmed:take}] Released:[{Host:plain-38379583.example.test Kind:other Marker:true Clean:true Reason:} {Host:bot0.shop.bac.sidecar.internal Kind:worker Marker:true Clean:true Reason:}] Unclean:[] Left:[] Holds:{LongestMS:67 Todays:0 RefusedAtOnce:1} Closed:0 Quiet:{DrainQuiet:{Waking:0 Stopping:0 Recovering:0 Owed:0} Held:[]}}
    hadrain_twobox_minio_linux_test.go:1239: driver calls: [begin shop-38379583.example.test <nil> stop plain-38379583.example.test marker=true clean=true <nil> releasing shop-38379583.example.test <nil> stop bot0.shop.bac.sidecar.internal marker=true clean=true <nil> stop shop-38379583.example.test marker=true clean=true <nil> taken shop-38379583.example.test betty <nil> end-moves]
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-38379583/bot0.shop.bac.sidecar.internal/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/bot0.shop.bac.sidecar.internal/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-38379583/bot0.shop.bac.sidecar.internal/0001/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/bot0.shop.bac.sidecar.internal/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/bot0.shop.bac.sidecar.internal/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/bot0.shop.bac.sidecar.internal/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/bot0.shop.bac.sidecar.internal/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/bot0.shop.bac.sidecar.internal/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-38379583/shop-38379583.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: DELETE /contract-bucket/t8-38379583/plain-38379583.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-38379583/bot0.shop.bac.sidecar.internal/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-38379583/shop-38379583.example.test/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-38379583/bot0.shop.bac.sidecar.internal/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-38379583/shop-38379583.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-38379583/shop-38379583.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-38379583/shop-38379583.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-38379583/shop-38379583.example.test/head.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/generations/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0008/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0007/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0006/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0005/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0004/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0008/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0007/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0006/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0005/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0004/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-38379583/shop-38379583.example.test/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-38379583/shop-38379583.example.test/files/0/manifest.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-38379583/shop-38379583.example.test/files/0/objects/0000000000000001-6b7a5afedef0d99ccad2718d284dafe5ea3c695b9d52128d36715ef80433e9f6
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-38379583/shop-38379583.example.test/files/0/objects/0000000000000003-d53746d2d9213e5d68fe3ef1ec0bad6b654fd0ccbdec6e27de11f220370da52d
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-38379583/shop-38379583.example.test/0000/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-38379583/shop-38379583.example.test/0000/0000000000000002-0000000000000002.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-38379583/shop-38379583.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-38379583/shop-38379583.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1243: drain took 150ms; S3 calls 55 (DELETE lock=1 GET files=3 GET head=1 GET lock=3 GET replica=2 LIST replica=37 PUT lock=3 PUT replica=5); deployment store calls 20 (GET edges=14 LIST edges=4 PUT edges=2)
    hadrain_twobox_minio_linux_test.go:1367: the fenced A's start gate answers 503 "This service is unavailable. Try again later.\n" (Retry-After "10")
2026/11/26 10:15:18 lease: t8-38379583/plain-38379583.example.test: acquired in 1ms (client 0s, lock read and write 1ms)
2026/11/26 10:15:18 activator: plain-38379583.example.test: started carlos-instance@plain\x2d38379583.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 0s, launch file 0s, gate 0s, root start 1ms)
2026/11/26 10:15:18 activator: plain-38379583.example.test: carlos-instance@plain\x2d38379583.example.test.service launched in 1ms, healthy 0s later
2026/11/26 10:15:18 lease: /tmp/carlos-minio-contract-n5ImCB/g/dw1265751408/data/instances/plain-38379583.example.test/plain-38379583.example.test.db: continuity with the last clean close not proven; snapshot 1-0000000000000001 written before serving
2026/11/26 10:15:18 activator: plain-38379583.example.test: woke in 7ms: checks 0s, lease 1ms, restore 0s, identity 0s, protect 0s, spawn 1ms, replicate 4ms
2026/11/26 10:15:18 activator: next-due probe shop-38379583.example.test: decode /api/next-due: invalid character 'b' looking for beginning of value — recording none (it sleeps until a request)
2026/11/26 10:15:18 activator: shop-38379583.example.test: released with a marker (clean true, txid 2, files 3:9f92596a3805deaa4f8fea8edf12e131860c3c525f0e0a1f1c2966987d6c1676) in 3ms: files 1ms, sync 0s, record 1ms, marker 2ms
2026/11/26 10:15:18 activator: shop-38379583.example.test hibernated
2026/11/26 10:15:18 tenant admission is closed for shutdown
2026/11/26 10:15:18 activator: next-due probe plain-38379583.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/26 10:15:18 activator: plain-38379583.example.test hibernated
--- PASS: TestHeldHandoverTwoBoxMinio (0.52s)
=== RUN   TestHeldHandoverLostLeaseMinio
2026/11/26 10:15:18 edge: mesh key: minted
2026/11/26 10:15:18 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/26 10:15:18 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/26 10:15:18 tenant admission is open. accepting tenant work
2026/11/26 10:15:18 activator: HA placement host=shop-8128aedb.example.test kind=Place ref=annie reason=roomiest generation=2026-11-26T10:15:18Z lock_generation=0
2026/11/26 10:15:18 lease: t8-8128aedb/shop-8128aedb.example.test: HA lease acquired in 3ms (first wake)
2026/11/26 10:15:18 activator: shop-8128aedb.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:15:18 activator: shop-8128aedb.example.test: started carlos-instance@shop\x2d8128aedb.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 5ms, control socket 0s, key gate 0s, logs 0s) 6ms, launch file 0s, gate 0s, root start 1ms)
2026/11/26 10:15:18 activator: shop-8128aedb.example.test: carlos-instance@shop\x2d8128aedb.example.test.service launched in 7ms, healthy 0s later
2026/11/26 10:15:18 activator: shop-8128aedb.example.test: woke in 18ms: checks 0s, lease 4ms, restore 0s, identity 0s, protect 0s, spawn 7ms, replicate 7ms
2026/11/26 10:15:18 activator: next-due probe shop-8128aedb.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/26 10:15:18 activator: final checkpoint shop-8128aedb.example.test: lease: release marker owed for s3://contract-bucket/t8-8128aedb/shop-8128aedb.example.test/lock.json (If-Match "60863a78850ecee1db8b912def4209e5"): lease: write release marker: operation error S3: PutObject, https response error StatusCode: 503, RequestID: , HostID: , api error ServiceUnavailable: witness: refused
2026/11/26 10:15:18 activator: shop-8128aedb.example.test hibernated
2026/11/26 10:15:18 activator: handover of shop-8128aedb.example.test left: released without a marker; its held requests get today's answer
    hadrain_twobox_minio_linux_test.go:1469: the held request's hold ended "shop-8128aedb.example.test client 4 "
    hadrain_twobox_minio_linux_test.go:1486: driver calls: [begin shop-8128aedb.example.test <nil> releasing shop-8128aedb.example.test <nil> stop shop-8128aedb.example.test marker=false clean=false <nil> left shop-8128aedb.example.test released without a marker]
    hadrain_twobox_minio_linux_test.go:1487: a request after the loss: 503 "This instance cannot wake right now. Please try again shortly.\n" (Retry-After "10", holder "none", 0s, err <nil>)
2026/11/26 10:15:18 tenant admission is closed for shutdown
2026/11/26 10:15:18 http: proxy error: context canceled
--- PASS: TestHeldHandoverLostLeaseMinio (0.27s)
PASS
ok  	github.com/carlosframework/platform/internal/host	0.829s
Bucket created successfully `local/gen-take`.
local/gen-take versioning is enabled
Created policy `gen-take` successfully.
Added user `gentake` successfully.
Attached Policies: [gen-take]
To User: gentake
=== RUN   TestGenerationTakeMinio
=== RUN   TestGenerationTakeMinio/take
2026/11/26 10:15:19 lease: instances/gen-1795688119972921928.shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:15:19 lease: instances/gen-1795688119972921928.shop.example.com: HA lease acquired in 3ms (holder terminated)
    gentake_minio_test.go:308: a second create-only copy onto instances/gen-1795688119972921928.shop.example.com/g-00000000000000000002/0000/0000000000000001-0000000000000001.ltx: <nil> (destination condition honoured: false)
2026/11/26 10:15:20 ERROR retention enforcement failed system=store db=w.example.com.db error="enforce snapshot retention: remove ltx files: lease: invalid or changed generation binding"
2026/11/26 10:15:20 ERROR retention enforcement failed system=store db=w.example.com.db error="enforce snapshot retention: remove ltx files: lease: a write has waited too long to reach storage (write fence)"
=== RUN   TestGenerationTakeMinio/switch-412
2026/11/26 10:15:20 lease: instances/gen-1795688120093613159.shop.example.com: HA lease acquired in 3ms (first wake)
2026/11/26 10:15:20 ERROR retention enforcement failed system=store db=seed.db error="enforce snapshot retention: fetch ltx files: lease: a write has waited too long to reach storage (write fence)"
2026/11/26 10:15:20 lease: instances/gen-1795688120093613159.shop.example.com: HA lease acquired in 2ms (clean marker)
=== RUN   TestGenerationTakeMinio/copy-version
=== RUN   TestGenerationTakeMinio/store-time
2026/11/26 10:15:20 lease: instances/gen-1795688120143782501.shop.example.com: HA lease acquired in 3ms (first wake)
2026/11/26 10:15:20 http: proxy error: context canceled
2026/11/26 10:15:20 ERROR retention enforcement failed system=store db=seed.db error="enforce snapshot retention: fetch ltx files: lease: a write has waited too long to reach storage (write fence)"
2026/11/26 10:15:20 lease: instances/gen-1795688120143782501.shop.example.com: HA lease acquired in 2ms (clean marker)
2026/11/26 10:15:20 lease: instances/gen-1795688120143782501.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/26 10:15:20 lease: instances/gen-1795688120143782501.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/26 10:15:20 lease: instances/gen-1795688120143782501.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/26 10:15:20 lease: instances/gen-1795688120143782501.shop.example.com: HA lease acquired in 2ms (unclean marker)
=== RUN   TestGenerationTakeMinio/skew
--- PASS: TestGenerationTakeMinio (0.28s)
    --- PASS: TestGenerationTakeMinio/take (0.12s)
    --- PASS: TestGenerationTakeMinio/switch-412 (0.04s)
    --- PASS: TestGenerationTakeMinio/copy-version (0.01s)
    --- PASS: TestGenerationTakeMinio/store-time (0.10s)
    --- PASS: TestGenerationTakeMinio/skew (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/lease	0.293s
minio contract: PASS
=== staticcheck ===
go version go1.26.10 linux/arm64
go: downloading honnef.co/go/tools v0.8.2
go: downloading golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678
go: downloading github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c
go: downloading golang.org/x/sync v0.23.0
go: downloading golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
staticcheck: clean
=== govulncheck ===
go version go1.26.10 linux/arm64
go: downloading golang.org/x/vuln v1.8.0
go: downloading golang.org/x/telemetry v0.0.0-20260908163034-4bcc4b2ee518
go: downloading golang.org/x/tools v0.50.0
govulncheck: scanned github.com/carlosframework/platform, amadan.net/carlos/platform.git/launchctx
GO-2026-6859  called  stdlib@v1.26.10, fixed in v1.26.11
    HTTP/1 server crash due to MaxBytesReader header race in net/http
    excepted until 2027-01-31 (.amadan/govulncheck-exceptions.tsv:9): net/http MaxBytesReader header race, fixed in go1.26.11. CI and releases stay on go1.26.10 because 1.26.11 deadlocks the edge's Expect: 100-continue path (#897, .amadan/go-toolchain.sh); #904 checked every production MaxBytesReader site and found it unreachable.
GO-2026-5932  required  golang.org/x/crypto@v0.58.0, fixed in v0.58.1-0.20261009181718-2f1f834330b2
    The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
    not fatal: no call path to the vulnerable code
govulncheck: clean (2 finding(s), none called outside .amadan/govulncheck-exceptions.tsv)
=== code-health ===
go version go1.26.10 linux/arm64
    codehealth_test.go:42: scanned in 1m55.458s
    codehealth_test.go:107: line metrics (code lines, then physical):
          file-lines  5471  7324  internal/activator activator_test.go
          file-lines  4198  7028  internal/console server.go
          file-lines  4175  6358  . apimode.go
          file-lines  3785  7224  internal/activator activator.go
          file-lines  3530  4459  . apimode_test.go
          file-lines  3261  3864  internal/registry registry_test.go
          file-lines  3209  6395  internal/host agent.go
          file-lines  3094  3992  internal/provision reconcile_test.go
          func-lines   870   891  internal/host plan14InstalledClaimLaunch
          func-lines   810  1275  internal/provision Reconcile
          func-lines   769  1242  internal/console (*Server).handleAPIInstanceCreate
          func-lines   688  1243  internal/host runAgent
          func-lines   571   908  internal/activator (*Service).doWakeOnce
          func-lines   538   546  internal/host runServingParkPeerNamespace
          func-lines   519   712  . runRoute
          func-lines   509   569  internal/host TestPagingIsRateLimited
          func-lines   494   813  internal/release adoptHost
          func-lines   441   500  internal/host TestRootInstanceStopExecStop
          func-lines   421   436  internal/host (*ClaimWakeAssembly).Build
          func-lines   421   437  internal/team TestFixture
          func-lines   412   414  internal/console TestDemoProtectionsSourceToLimitAndTakedown
          func-lines   408   485  . TestFleetAppServesThroughTheHub
          func-lines   402   406  internal/registry (*Registry).haJournal
          func-lines   400   868  internal/provision rootReadArchivedChain
          func-lines   399   732  internal/release PassFilter
          func-lines   390   398  internal/host runFilesSeedPreparationWithLive
          func-lines   383   406  internal/console TestDemoSourceToLiveAndUpdate
          func-lines   378   898  internal/edge (*Edge).ServeHTTP
          func-lines   374   377  internal/host plan14RequiredArtifactsRootRunner
          func-lines   371   417  internal/host TestRootEgressKernelProof
          func-lines   367   584  internal/console (*Server).handleAPIShip
          func-lines   366   636  cmd/console serve
          func-lines   364   371  internal/host testRootMigrationBootstrap
          func-lines   360   362  internal/edge TestDemoAPIAliasBoundary
          func-lines   357   358  internal/registry (*Registry).dispatchRemote
          func-lines   355   372  internal/host TestRootSandboxUpdateFromOldBox
          func-lines   343   354  internal/analytics Prune
          func-lines   340   353  internal/host newColdRootHarness
          func-lines   335   557  internal/console (*Store).migrate
          func-lines   334   334  internal/host TestPlan12RecoveryRestoreSourceDatabase
          func-lines   330   371  internal/edge TestRegionalNameNeverLeavesItsRegion
          func-lines   329   471  . runDeploy
          func-lines   329   329  internal/host TestPlan12RecoveryRestoreSourceDatabase.func1
          func-lines   327   369  internal/edge TestTunnelWebSocketEndToEnd
          func-lines   325   455  internal/objstore TestDeliveredContractMinio
          func-lines   320   654  internal/appconfig SyncExecWithCallbacks
          func-lines   315   318  internal/host plan14TimerIntention
          func-lines   311   314  internal/host plan14TimerIntention.func1
          func-lines   310   315  internal/hostbox ColdHandover.Run
          func-lines   308   309  internal/host rootFilesSeedIsolatedWitness
          func-lines   305   323  internal/host hairpinKernelWitness
          func-lines   304   308  internal/console TestHAP2ProductionDoors
          func-lines   302   329  internal/host TestRootG2PoolIngress
        release-importers: . cmd/console internal/activator internal/analytics internal/appconfig internal/apperr internal/applog internal/apppolicy internal/boxid internal/boxvolumes internal/console internal/dbreads internal/dbreads/dbreadstest internal/dbverify internal/demobuild internal/domains internal/doorkey internal/edge internal/edgeproof internal/edgesfile internal/fleetapi internal/grouproll internal/grouprollaws internal/historyreadback internal/host internal/hostactors internal/hostbox internal/hostclaim internal/hostevidence internal/hostexec internal/hostfence internal/hostfiles internal/hostfloor internal/hostguard internal/hostops internal/hostrelocate internal/hostresolve internal/instancectl internal/instanceupdates internal/interactive internal/layout internal/lease internal/ledger internal/mail internal/mailer internal/mailsubmit internal/metrics internal/moves internal/objstore internal/ops internal/park internal/plans internal/provision internal/relay internal/rollout internal/rootfsimage internal/runs internal/s3fake internal/schedule internal/seeds internal/status internal/telemetry internal/usage internal/vet scripts/pathmapcheck scripts/witness-pointer
        not scanned (216 files):
          cmd/carlos-media/drill_other.go: built only for other systems or tags
          cmd/carlos-media/harden_other.go: built only for other systems or tags
          cmd/console/fleetsocket_other.go: built only for other systems or tags
          cmd/console/servelock_windows.go: built only for other systems or tags
          cmd/moveprobe/detach_windows.go: built only for other systems or tags
          cmd/rootfswitness/mmap_other.go: built only for other systems or tags
          devbox_acl_other.go: built only for other systems or tags
          devbox_envfile_darwin_test.go: built only for other systems or tags
          devbox_envfile_other.go: built only for other systems or tags
          domains_transfer_signals_other.go: built only for other systems or tags
          interactive_term_darwin.go: built only for other systems or tags
          interactive_term_other.go: built only for other systems or tags
          internal/activator/claimprocess_root_other.go: built only for other systems or tags
          internal/activator/escrow_stamp_other.go: built only for other systems or tags
          internal/activator/fleetreserve_other.go: built only for other systems or tags
          internal/activator/harecord_other.go: built only for other systems or tags
          internal/activator/ownenv_other.go: built only for other systems or tags
          internal/activator/pty_other.go: built only for other systems or tags
          internal/activator/race_on_test.go: built only for other systems or tags
          internal/activator/rolelaunch_other.go: built only for other systems or tags
          internal/assetcache/statfs_other.go: built only for other systems or tags
          internal/boxself/io_other.go: built only for other systems or tags
          internal/cgroup/cleanup_other.go: built only for other systems or tags
          internal/cgroup/cleanup_other_test.go: built only for other systems or tags
          internal/cgroup/hostprocs_other.go: built only for other systems or tags
          internal/cgroup/recreate_other.go: built only for other systems or tags
          internal/cgroup/role_other.go: built only for other systems or tags
          internal/cgroup/shim_other.go: built only for other systems or tags
          internal/cgroup/strict_other.go: built only for other systems or tags
          internal/cgroup/verify_other.go: built only for other systems or tags
          internal/console/claim_sql_identity_other.go: built only for other systems or tags
          internal/console/geoipverify_other.go: built only for other systems or tags
          internal/console/hostreports_process_other.go: built only for other systems or tags
          internal/console/replicaview_other.go: built only for other systems or tags
          internal/console/restore_sim_nice_other_test.go: built only for other systems or tags
          internal/console/scalecost_other_test.go: built only for other systems or tags
          internal/console/seedscratch_windows.go: built only for other systems or tags
          internal/dbreads/worker_other.go: built only for other systems or tags
          internal/demobuild/security_other.go: built only for other systems or tags
          internal/democlaim/source_other.go: built only for other systems or tags
          internal/devbox/peer_darwin.go: built only for other systems or tags
          internal/devbox/peer_darwin_test.go: built only for other systems or tags
          internal/devbox/peer_other.go: built only for other systems or tags
          internal/devbox/socketcheck_other.go: built only for other systems or tags
          internal/domains/certimport_read_portable.go: built only for other systems or tags
          internal/edge/devboxpeer_other.go: built only for other systems or tags
          internal/edge/hairpin_other.go: built only for other systems or tags
          internal/edge/heldbudget_other.go: built only for other systems or tags
          internal/edge/purge_listen_unix.go: built only for other systems or tags
          internal/edge/purge_listen_windows.go: built only for other systems or tags
          internal/edge/race_on_test.go: built only for other systems or tags
          internal/edge/replicaconsole_owner_other.go: built only for other systems or tags
          internal/edge/replicaconsole_peer_other.go: built only for other systems or tags
          internal/edge/replicaconsole_socket_other_test.go: built only for other systems or tags
          internal/edge/static_artifact_other.go: built only for other systems or tags
          internal/edge/static_recordlock_other.go: built only for other systems or tags
          internal/edge/static_sweep_other.go: built only for other systems or tags
          internal/execsandbox/cleanup_other.go: built only for other systems or tags
          internal/execsandbox/file_other.go: built only for other systems or tags
          internal/execsandbox/oci_other.go: built only for other systems or tags
          internal/fileacl/fileacl_darwin.go: built only for other systems or tags
          internal/fileacl/fileacl_darwin_amd64.s: built only for other systems or tags
          internal/fileacl/fileacl_darwin_arm64.s: built only for other systems or tags
          internal/fileacl/fileacl_darwin_test.go: built only for other systems or tags
          internal/grouproll/state_other.go: built only for other systems or tags
          internal/grouprollaws/pty_darwin.go: built only for other systems or tags
          internal/grouprollaws/pty_other.go: built only for other systems or tags
          internal/hairpin/native_other.go: built only for other systems or tags
          internal/host/applylock_other_test.go: built only for other systems or tags
          internal/host/bootstrapfs_other.go: built only for other systems or tags
          internal/host/boxroles_config_other.go: built only for other systems or tags
          internal/host/claimfilesseed_delegation_other.go: built only for other systems or tags
          internal/host/claimfilesseed_transport_other.go: built only for other systems or tags
          internal/host/claimjournal_containment_other.go: built only for other systems or tags
          internal/host/claimjournal_migration_other.go: built only for other systems or tags
          internal/host/claimlaunch_kernel_other.go: built only for other systems or tags
          internal/host/claimlaunch_rev2_other_test.go: built only for other systems or tags
          internal/host/claimproduction_other.go: built only for other systems or tags
          internal/host/claimready_other.go: built only for other systems or tags
          internal/host/claimroleassembly_other.go: built only for other systems or tags
          internal/host/claimservingartifact_other.go: built only for other systems or tags
          internal/host/claimservinghandover_reboot_other.go: built only for other systems or tags
          internal/host/claimservinghandover_reboot_other_test.go: built only for other systems or tags
          internal/host/claimservingpark_other.go: built only for other systems or tags
          internal/host/claimstate_other.go: built only for other systems or tags
          internal/host/claimstop_kernel_other.go: built only for other systems or tags
          internal/host/claimtoken_inventory_other.go: built only for other systems or tags
          internal/host/claimunit_dropin_other.go: built only for other systems or tags
          internal/host/claimunit_files_other.go: built only for other systems or tags
          internal/host/claimunit_migrate_other.go: built only for other systems or tags
          internal/host/claimunit_ready_other.go: built only for other systems or tags
          internal/host/claimunit_socket_migration_other.go: built only for other systems or tags
          internal/host/consolefleet_owner_other.go: built only for other systems or tags
          internal/host/dbreads_other.go: built only for other systems or tags
          internal/host/egress_rail_other.go: built only for other systems or tags
          internal/host/fileowner_other.go: built only for other systems or tags
          internal/host/flock_windows.go: built only for other systems or tags
          internal/host/group_config_other.go: built only for other systems or tags
          internal/host/group_maintenance_other.go: built only for other systems or tags
          internal/host/group_maintenance_verbs_other.go: built only for other systems or tags
          internal/host/group_receipt_other.go: built only for other systems or tags
          internal/host/hadrain_call_other.go: built only for other systems or tags
          internal/host/hadrain_socket_other.go: built only for other systems or tags
          internal/host/hadrainfence_other.go: built only for other systems or tags
          internal/host/headroom_other.go: built only for other systems or tags
          internal/host/installchannel_other.go: built only for other systems or tags
          internal/host/managedboot_other.go: built only for other systems or tags
          internal/host/metrics_nested_other.go: built only for other systems or tags
          internal/host/movesfloor_other.go: built only for other systems or tags
          internal/host/movesfloorgate_other.go: built only for other systems or tags
          internal/host/movesheldrelease_other.go: built only for other systems or tags
          internal/host/movesmeasure_other.go: built only for other systems or tags
          internal/host/offcloudcredentials_other.go: built only for other systems or tags
          internal/host/registrychild_exec_other.go: built only for other systems or tags
          internal/host/registrychild_other.go: built only for other systems or tags
          internal/host/registryowner_chown_other.go: built only for other systems or tags
          internal/host/registryowner_descriptor_unix.go: built only for other systems or tags
          internal/host/replicahealth_other.go: built only for other systems or tags
          internal/host/rootgeneration_census_other.go: built only for other systems or tags
          internal/host/rootgeneration_kernel_other.go: built only for other systems or tags
          internal/host/rootgeneration_payload_other.go: built only for other systems or tags
          internal/host/rootgeneration_retired_other.go: built only for other systems or tags
          internal/host/rootmigration_production_other.go: built only for other systems or tags
          internal/host/runscset_other.go: built only for other systems or tags
          internal/host/sandboxenv_other.go: built only for other systems or tags
          internal/host/statfs_windows.go: built only for other systems or tags
          internal/host/systemapply_other.go: built only for other systems or tags
          internal/hostbox/census_vendor_other.go: built only for other systems or tags
          internal/hostbox/inventory_identity_other.go: built only for other systems or tags
          internal/hostbox/journalmigration_other.go: built only for other systems or tags
          internal/hostbox/journalnamespace_other.go: built only for other systems or tags
          internal/hostbox/journaltrust_other.go: built only for other systems or tags
          internal/hostbox/migration_census_other.go: built only for other systems or tags
          internal/hostbox/typedpark_other.go: built only for other systems or tags
          internal/hostenv/group_other.go: built only for other systems or tags
          internal/hostenv/write_other.go: built only for other systems or tags
          internal/hostenv/write_other_test.go: built only for other systems or tags
          internal/hostexec/clock_other.go: built only for other systems or tags
          internal/hostexec/clock_other_test.go: built only for other systems or tags
          internal/hostexec/local_other.go: built only for other systems or tags
          internal/hostexec/pending_other.go: built only for other systems or tags
          internal/hostexec/probe_other.go: built only for other systems or tags
          internal/hostexec/rootprocess_other.go: built only for other systems or tags
          internal/hostfiles/dir_other.go: built only for other systems or tags
          internal/hostfiles/refuse_other.go: built only for other systems or tags
          internal/hostfiles/watch_other.go: built only for other systems or tags
          internal/hostfloor/controllers_other.go: built only for other systems or tags
          internal/hostfloor/image_other.go: built only for other systems or tags
          internal/hostguard/flock_other.go: built only for other systems or tags
          internal/hostguard/flock_other_test.go: built only for other systems or tags
          internal/hostguard/record_other.go: built only for other systems or tags
          internal/instancectl/claimexec_other.go: built only for other systems or tags
          internal/instancectl/claimexec_socket_other.go: built only for other systems or tags
          internal/instancectl/claimlaunch_snapshot_other.go: built only for other systems or tags
          internal/instancectl/claimnetwork_other.go: built only for other systems or tags
          internal/instancectl/demo_snapshot_other.go: built only for other systems or tags
          internal/instancectl/egress_cgroup_other.go: built only for other systems or tags
          internal/instancectl/egress_dropin_other.go: built only for other systems or tags
          internal/instancectl/fleetsize_other.go: built only for other systems or tags
          internal/instancectl/gvisorprobe_other.go: built only for other systems or tags
          internal/instancectl/peer_other.go: built only for other systems or tags
          internal/instancectl/peer_tuple_other.go: built only for other systems or tags
          internal/instancectl/rootfs_identity_other.go: built only for other systems or tags
          internal/instanceexec/claimexec_other.go: built only for other systems or tags
          internal/instanceexec/exec_rootfs_other.go: built only for other systems or tags
          internal/instanceexec/netlink_route_other.go: built only for other systems or tags
          internal/instanceexec/probe_gvisor_other.go: built only for other systems or tags
          internal/instanceexec/probe_hardening_other.go: built only for other systems or tags
          internal/instanceexec/probe_other.go: built only for other systems or tags
          internal/instanceexec/probe_rootfs_other.go: built only for other systems or tags
          internal/instanceexec/sandbox_other.go: built only for other systems or tags
          internal/instanceexec/scope_other.go: built only for other systems or tags
          internal/instanceexec/stop_other.go: built only for other systems or tags
          internal/instanceexec/tty_other.go: built only for other systems or tags
          internal/instancefs/instancefs_other.go: built only for other systems or tags
          internal/launchd/activate_darwin.go: built only for other systems or tags
          internal/launchd/activate_darwin_amd64.s: built only for other systems or tags
          internal/launchd/activate_darwin_arm64.s: built only for other systems or tags
          internal/launchd/activate_darwin_test.go: built only for other systems or tags
          internal/layout/journal_other.go: built only for other systems or tags
          internal/layout/links_other.go: built only for other systems or tags
          internal/mailer/keys_other.go: built only for other systems or tags
          internal/maintenanceexec/run_other.go: built only for other systems or tags
          internal/managedboot/admission_other.go: built only for other systems or tags
          internal/managedboot/identity_other.go: built only for other systems or tags
          internal/mediahandler/collect_other.go: built only for other systems or tags
          internal/mediahandler/procs_other.go: built only for other systems or tags
          internal/medialocal/runner_other.go: built only for other systems or tags
          internal/moves/archive/open_other.go: built only for other systems or tags
          internal/moves/archive/sync_other.go: built only for other systems or tags
          internal/ops/flock_windows.go: built only for other systems or tags
          internal/park/local_other.go: built only for other systems or tags
          internal/privatefile/io_other.go: built only for other systems or tags
          internal/proxyproto/peek_other.go: built only for other systems or tags
          internal/relay/race_on_test.go: built only for other systems or tags
          internal/release/consumedfence_other.go: built only for other systems or tags
          internal/release/digestcache_other.go: built only for other systems or tags
          internal/rootaws/credentials_other.go: built only for other systems or tags
          internal/rootaws/open_darwin.go: built only for other systems or tags
          internal/rootfsimage/dir_other.go: built only for other systems or tags
          internal/rootstate/authoritydir_other.go: built only for other systems or tags
          internal/rootstate/authorityfile_other.go: built only for other systems or tags
          internal/rootstate/file_other.go: built only for other systems or tags
          internal/rootstate/link_other.go: built only for other systems or tags
          internal/rootstate/persistent_other.go: built only for other systems or tags
          internal/rootstate/state_other.go: built only for other systems or tags
          internal/safefile/file_other.go: built only for other systems or tags
          internal/safefile/reap_other.go: built only for other systems or tags
          internal/stopevidence/fds_other.go: built only for other systems or tags
          internal/stopevidence/fds_other_test.go: built only for other systems or tags
          internal/stopevidence/holders_other.go: built only for other systems or tags
          internal/stopevidence/reconstruct_other.go: built only for other systems or tags
          internal/team/storelock_other.go: built only for other systems or tags
          internal/team/storelock_windows.go: built only for other systems or tags
          move_offline_run_other.go: built only for other systems or tags
          system_group_other.go: built only for other systems or tags
        
    codehealth_test.go:115: fatal               1094 at  474 sites  log.Fatal*, (*log.Logger).Fatal* and os.Exit in the root package's production files
    codehealth_test.go:115: sleep               1005 at  811 sites  time.Sleep in test files
    codehealth_test.go:115: db-no-context        885 at  703 sites  database calls with no context (dbOpWithoutContext) in production files
    codehealth_test.go:115: host-context         188 at  142 sites  context.Background and context.TODO in internal/host production files
    codehealth_test.go:115: func-lines         18604 at   45 sites  functions over 300 code lines (blank and comment-only lines not counted)
    codehealth_test.go:115: file-lines         30723 at    8 sites  files over 3,000 code lines, counted the same way
    codehealth_test.go:115: release-importers     66 at    1 sites  packages whose production files import internal/release
    codehealth_test.go:119: below the record: file-lines internal/console server.go -: 4198 in the code, the record allows 4210 (make code-health-record lowers it)
--- PASS: TestCodeHealth (115.46s)
PASS
ok  	github.com/carlosframework/platform/internal/codehealth	116.836s
=== code-health-record ===
go version go1.26.10 linux/arm64
code-health record: HEAD is on main; comparing with its parent 18d645645b64539b0e58a217549792db0c462621
=== RUN   TestRecordAgainstBase
--- PASS: TestRecordAgainstBase (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/codehealth	0.009s
code-health record: no line went up without a reason
=== race ===
go version go1.26.10 linux/arm64
GATE_RACE=1 .amadan/test-gate.sh
=== internal_systemd@0 (13 s, from +15 s)
ok  	github.com/carlosframework/platform/internal/systemd	13.209s
=== internal_rootaws@0 (26 s, from +35 s)
ok  	github.com/carlosframework/platform/internal/rootaws	25.746s
=== internal_activator@0 (272 s, from +116 s)
ok  	github.com/carlosframework/platform/internal/activator	269.720s
=== internal_activator@1 (269 s, from +116 s)
ok  	github.com/carlosframework/platform/internal/activator	266.942s
=== internal_activator@2 (280 s, from +116 s)
ok  	github.com/carlosframework/platform/internal/activator	277.910s
=== internal_activator@3 (421 s, from +116 s)
2026/11/26 10:23:53 activator: badseed.example.com: wake failed: seed badseed.example.com: seed exited 1
2026/11/26 10:23:54 activator: fenced.example.com: wake failed: fenced.example.com: refusing to wake: layout migration in flight
2026/11/26 10:23:54 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:23:55 activator: gone.example.com: wake failed: start gone.example.com: Unit carlos-app@gone.example.com.service not found
2026/11/26 10:23:55 activator: one.example.com not started: the executable it would run is outside the version store, so no build state can name it (settings spec 4.2); move the instance onto a promoted build
2026/11/26 10:23:56 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:23:56 activator: worker bot.x.internal respawned (attempt (release)), now running v2
2026/11/26 10:23:57 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:23:57 activator: bot.x.internal: v2 not started: its build state could not be written: bucket refused the build state
2026/11/26 10:23:57 activator: worker bot.x.internal NOT respawned (attempt (release)): refused at its exec: the build state could not be written, so this build was not started: bucket refused the build state
2026/11/26 10:23:57 activator: worker bot.x.internal respawned (restoring v1), now running v1
2026/11/26 10:23:58 activator: link.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:23:58 activator: link.example.com hibernated
2026/11/26 10:24:00 activator: tenant.test: v1 not started: its build state could not be written: bucket refused the build state
2026/11/26 10:24:02 activator: c.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:24:02 activator: c.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:24:03 activator: c.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:24:04 activator: c.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:24:05 activator: c.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:24:06 activator: c.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:24:06 activator: one.example.com: generation 10 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:24:06 activator: one.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:24:06 activator: old-kernel-seed.example.com: this kernel has no cgroup.kill; the seed's leader's exit is the only proof there is
2026/11/26 10:24:06 activator: seeding discharge-fails-proven.example.com: /tmp/TestAFlagOffSeedWhoseDischargeFailsAfterAProofIsAnOrdinaryFailur2622196186/002/live/discharge-fails-proven.example.com seed --db /tmp/TestAFlagOffSeedWhoseDischargeFailsAfterAProofIsAnOrdinaryFailur2622196186/003/discharge-fails-proven.example.com.db
2026/11/26 10:24:07 activator: bright-otter-42.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:24:07 activator: LEASE LOST for bright-otter-42.example.com (lease safety deadline elapsed) — standing down
2026/11/26 10:24:07 activator: bright-otter-42.example.com hibernated
2026/11/26 10:24:17 lease: shop.example.com: acquired in 3ms (client 0s, lock read and write 2ms)
2026/11/26 10:24:18 lease: shop.example.com: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/26 10:24:20 lease: shop.example.com: acquired in 3ms (client 0s, lock read and write 2ms)
2026/11/26 10:24:20 lease: shop.example.com: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/26 10:24:20 activator: CARLOS_ADMIN_TOKEN in /tmp/TestMintAllowedWhenTheEscrowLacksTheSecret1213992881/002/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (64 hex characters) — left in place, because the running instance holds this same value and rotating it would lock the platform out of a live instance; if it is corrupt, stop the instance, delete the line and restart it to have one minted
2026/11/26 10:24:21 lease: shop.example.com: acquired in 3ms (client 0s, lock read and write 3ms)
2026/11/26 10:24:21 activator: shop.example.com: escrow: store unavailable (launching; the next sweep escrows it again)
2026/11/26 10:24:21 lease: shop.example.com: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/26 10:24:21 activator: shop.example.com: escrow: store unavailable (launching; the next sweep escrows it again)
2026/11/26 10:24:22 lease: shop.example.com: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/26 10:24:22 activator: CARLOS_ADMIN_TOKEN in /tmp/TestEditedEnvIsEscrowedNotReverted3362749715/002/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (64 hex characters) — left in place, because the running instance holds this same value and rotating it would lock the platform out of a live instance; if it is corrupt, stop the instance, delete the line and restart it to have one minted
2026/11/26 10:24:22 activator: CARLOS_INSTANCE_KEY in /tmp/TestEditedEnvIsEscrowedNotReverted3362749715/002/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (44 base64 characters, 32 bytes): left in place, because the app may already have sealed data with it
2026/11/26 10:24:23 lease: shop.example.com: acquired in 5ms (client 0s, lock read and write 4ms)
2026/11/26 10:24:23 ALERT: shop.example.com: escrow: another writer publishes this host's escrow
2026/11/26 10:24:24 lease: shop.example.com: acquired in 5ms (client 0s, lock read and write 5ms)
2026/11/26 10:24:24 activator: shop.example.com: escrow: the ledger was not written (disk full) and the stale one could not be removed (read-only); this agent reads the bucket for the host instead
2026/11/26 10:24:24 lease: shop.example.com: acquired in 3ms (client 0s, lock read and write 2ms)
2026/11/26 10:24:24 activator: shop.example.com: escrow: restored shop.example.com/instance.key from the bucket
2026/11/26 10:24:24 activator: CARLOS_ADMIN_TOKEN in /tmp/TestStaleLedgerAndANoOpSweepNeverSuppressARestore3447462407/002/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (64 hex characters) — left in place, because the running instance holds this same value and rotating it would lock the platform out of a live instance; if it is corrupt, stop the instance, delete the line and restart it to have one minted
2026/11/26 10:24:24 activator: CARLOS_INSTANCE_KEY in /tmp/TestStaleLedgerAndANoOpSweepNeverSuppressARestore3447462407/002/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (44 base64 characters, 32 bytes): left in place, because the app may already have sealed data with it
2026/11/26 10:24:25 lease: shop.example.com: acquired in 3ms (client 0s, lock read and write 2ms)
2026/11/26 10:24:25 activator: CARLOS_ADMIN_TOKEN in /tmp/TestDivergentTrioRefusedWhenTheSealedEnvCannotBeRead111099179/002/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (64 hex characters) — left in place, because the running instance holds this same value and rotating it would lock the platform out of a live instance; if it is corrupt, stop the instance, delete the line and restart it to have one minted
2026/11/26 10:24:25 activator: CARLOS_INSTANCE_KEY in /tmp/TestDivergentTrioRefusedWhenTheSealedEnvCannotBeRead111099179/002/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (44 base64 characters, 32 bytes): left in place, because the app may already have sealed data with it
2026/11/26 10:24:25 ALERT: shop.example.com: escrow: shop.example.com/instance.key differs from what the host's escrow in the bucket holds, and an escrowed instance.key, report.token or platform-minted env variable is never replaced; the bucket's copy came first, so this launch stops and the local files (/tmp/TestDivergentTrioRefusedWhenTheSealedEnvCannotBeRead111099179/002/data/instances/shop.example.com/shop.example.com.env and the files directory) are left for an operator; every launch of the host on this box is refused until the operator settles them against the escrow and removes /tmp/TestDivergentTrioRefusedWhenTheSealedEnvCannotBeRead111099179/002/data/.escrow/shop.example.com.conflict
2026/11/26 10:24:26 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:24:26 activator: swap.example.com: generation 13's child is not proven empty: the child still holds a process
2026/11/26 10:24:26 activator: generation 13 of swap.example.com did not prove its exit; keeping it in the operation set
2026/11/26 10:24:26 activator: swap.example.com: generation 13's child is not proven empty: the child still holds a process
2026/11/26 10:24:26 activator: publish generations to /tmp/TestStartDoesNotFailOnAnUnwritableGenerationsFile356505569/002/not-a-dir/zdd/generations.json: open directory /tmp/TestStartDoesNotFailOnAnUnwritableGenerationsFile356505569/002/not-a-dir/zdd: not a directory; the sweep retries
2026/11/26 10:24:27 lease: shop.example.com: HA lease acquired in 9ms (unclean marker)
2026/11/26 10:24:28 ha_adoption host=shop.example.com cause=departure-finalize generation=6
2026/11/26 10:24:29 lease: shop.example.com: HA lease acquired in 9ms (clean marker)
2026/11/26 10:24:29 ha_adoption host=shop.example.com cause=departure-finalize generation=6
2026/11/26 10:24:32 ha_takeover host=shop.example.com iid=i-b cause=departure-finalize confirmed=true error=false
2026/11/26 10:24:32 lease: shop.example.com: HA lease acquired in 9ms (holder terminated)
2026/11/26 10:24:32 ha_adoption host=shop.example.com cause=departure-finalize generation=6
2026/11/26 10:24:33 lease: shop.example.com: HA lease acquired in 9ms (unclean marker)
2026/11/26 10:24:34 lease: shop.example.com: HA lease acquired in 9ms (unclean marker)
2026/11/26 10:24:36 lease: shop.example.com: HA lease acquired in 9ms (unclean marker)
2026/11/26 10:24:36 ha_adoption host=shop.example.com cause=departure-finalize generation=6
2026/11/26 10:24:40 lease: shop.example.com: HA lease acquired in 9ms (unclean marker)
2026/11/26 10:24:40 ha_adoption host=shop.example.com cause=departure-finalize generation=6
2026/11/26 10:24:41 lease: shop.example.com: HA lease acquired in 12ms (unclean marker)
2026/11/26 10:24:41 ha_adoption host=shop.example.com cause=departure-finalize generation=6
2026/11/26 10:24:44 lease: shop.example.com: HA lease acquired in 9ms (unclean marker)
2026/11/26 10:24:44 ha_adoption host=shop.example.com cause=departure-finalize generation=6
2026/11/26 10:24:46 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:24:46 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:24:46 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 13ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:24:46 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:24:46 activator: shop.example.com: woke in 96ms: checks 0s, lease 6ms, restore 0s, identity 0s, protect 0s, spawn 21ms, replicate 67ms
2026/11/26 10:24:46 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:24:46 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:31271e2e96cc90782febab51e559bd7ab04f01e9eb2cc2d41c97897b3329e3ea) in 25ms: files 11ms, sync 8ms, record 4ms, marker 1ms
2026/11/26 10:24:46 activator: shop.example.com hibernated
2026/11/26 10:24:47 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:24:47 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:24:47 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 13ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:24:47 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:24:47 activator: shop.example.com: woke in 90ms: checks 0s, lease 6ms, restore 1ms, identity 0s, protect 0s, spawn 18ms, replicate 63ms
2026/11/26 10:24:47 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:24:47 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:00a6bdcbabe82969226f084a825abbc29ab9e13118417b94b5dfe0618abb35f1) in 15ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:24:47 activator: shop.example.com hibernated
2026/11/26 10:24:47 lease: shop.example.com: HA lease acquired in 3ms (clean marker)
2026/11/26 10:24:47 activator: shop.example.com: kept local
2026/11/26 10:24:47 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 7ms, control socket 0s, key gate 0s, logs 0s) 7ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:24:47 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 12ms, healthy 1ms later
2026/11/26 10:24:48 activator: shop.example.com: woke in 1.046s: checks 0s, lease 4ms, restore 2ms, identity 0s, protect 0s, spawn 12ms, replicate 1.027s
2026/11/26 10:24:48 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:24:48 activator: shop.example.com: released with a marker (clean true, txid 2, files 3:00a6bdcbabe82969226f084a825abbc29ab9e13118417b94b5dfe0618abb35f1) in 14ms: files 7ms, sync 2ms, record 4ms, marker 1ms
2026/11/26 10:24:48 activator: shop.example.com hibernated
2026/11/26 10:24:49 activator: shop.example.com has a scheduled delivery due — waking it
2026/11/26 10:24:51 activator: always-on sidecar shop.example.com is not running — starting it
2026/11/26 10:24:52 lease: shop.example.com: HA lease acquired in 3ms (unclean marker)
2026/11/26 10:24:52 activator: shop.example.com: restored (unclean)
2026/11/26 10:24:52 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 11ms, control socket 0s, key gate 0s, logs 0s) 12ms, launch file 1ms, gate 0s, root start 3ms)
2026/11/26 10:24:52 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 15ms, healthy 1ms later
2026/11/26 10:24:52 activator: shop.example.com: wake failed: files shop.example.com: no files store configured
2026/11/26 10:24:53 lease: shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/26 10:24:53 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:24:53 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 12ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:24:53 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:24:53 activator: shop.example.com: woke in 88ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 18ms, replicate 64ms
2026/11/26 10:24:56 activator: LEASE HELD for shop.example.com by "box/v1;ref=b;iid=i-b;pid=7;ha=1" — a previous incarnation hasn't released; refusing to wake (retry after 9m59.996221546s)
2026/11/26 10:24:57 activator: LEASE HELD for shop.example.com by "box/v1;ref=a;iid=i-a;pid=99;ha=1" — a previous incarnation hasn't released; refusing to wake (retry after 7m0s)
2026/11/26 10:24:58 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:24:58 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:24:58 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 21ms, control socket 0s, key gate 0s, logs 0s) 22ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:24:58 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 27ms, healthy 1ms later
2026/11/26 10:24:58 activator: shop.example.com: woke in 98ms: checks 0s, lease 6ms, restore 0s, identity 0s, protect 0s, spawn 28ms, replicate 64ms
2026/11/26 10:24:58 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:24:58 activator: shop.example.com: released with a marker (clean true, txid 2, files 3:d7fac4bf7db50c07d53938b8a2eb7cacddcaacb1c502992a95293b7d6e78464e) in 17ms: files 7ms, sync 5ms, record 4ms, marker 1ms
2026/11/26 10:24:58 activator: shop.example.com hibernated
2026/11/26 10:24:58 lease: shop.example.com: HA lease acquired in 3ms (clean marker)
2026/11/26 10:24:58 activator: shop.example.com: restored (no-db) from @root into g-00000000000000000002 at TXID 2
2026/11/26 10:24:58 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 7ms, control socket 0s, key gate 0s, logs 0s) 8ms, launch file 1ms, gate 0s, root start 3ms)
2026/11/26 10:24:58 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 12ms, healthy 1ms later
2026/11/26 10:24:58 lease: /tmp/TestHAWakeSwitchOnMigratesFromTheRoot3707382206/002/data/instances/shop.example.com/shop.example.com.db: continuity with the last clean close not proven; snapshot 1-0000000000000003 written before serving
2026/11/26 10:24:58 activator: shop.example.com: woke in 91ms: checks 0s, lease 4ms, restore 48ms, identity 0s, protect 3ms, spawn 13ms, replicate 22ms
2026/11/26 10:24:58 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:24:58 activator: shop.example.com: released with a marker (clean true, txid 3, files 3:aad4bab8cbef2c335897f04897c6c9f2fa0a1f45cab0e77d18c81914b2735144) in 16ms: files 7ms, sync 4ms, record 4ms, marker 1ms
2026/11/26 10:24:58 activator: shop.example.com hibernated
2026/11/26 10:24:59 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:24:59 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:00 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 13ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:00 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 18ms, healthy 1ms later
2026/11/26 10:25:00 activator: shop.example.com: woke in 91ms: checks 0s, lease 6ms, restore 1ms, identity 0s, protect 0s, spawn 19ms, replicate 65ms
2026/11/26 10:25:00 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:00 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:8c0925ef733b0b059670693adeece7a531e0ed262e881c48d3a2383b57c68b77) in 15ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:25:00 activator: shop.example.com hibernated
2026/11/26 10:25:00 activator: shop.example.com: wake failed: instance lease refused: generations lock on a box that takes none (a fixed box, or the switch off)
2026/11/26 10:25:01 lease: shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/26 10:25:01 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:01 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 12ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:01 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:25:01 activator: shop.example.com: woke in 88ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 18ms, replicate 64ms
2026/11/26 10:25:01 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:01 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:8b10154827b3c600820841079893555c7238c68199fab38949f2bcd4b62454c1) in 27ms: files 15ms, sync 3ms, record 4ms, marker 5ms
2026/11/26 10:25:01 activator: shop.example.com hibernated
2026/11/26 10:25:01 activator: shop.example.com: wake failed: instance lease refused: generations lock on a box that takes none (a fixed box, or the switch off)
2026/11/26 10:25:02 lease: shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/26 10:25:02 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:02 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 11ms, control socket 0s, key gate 0s, logs 0s) 12ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:02 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:25:02 activator: shop.example.com: woke in 88ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 18ms, replicate 64ms
2026/11/26 10:25:02 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:02 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:5a1be7725d18730dd0fc04898979618a941bc59d97fb6a867bc61fce069baf74) in 15ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:25:02 activator: shop.example.com hibernated
2026/11/26 10:25:02 activator: shop.example.com: wake failed: instance lease refused: generations lock on a box that takes none (a fixed box, or the switch off)
2026/11/26 10:25:03 lease: shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/26 10:25:03 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:03 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 12ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:03 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:25:03 activator: shop.example.com: woke in 88ms: checks 0s, lease 5ms, restore 1ms, identity 0s, protect 0s, spawn 18ms, replicate 64ms
2026/11/26 10:25:03 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:03 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:27e00035062ba61c10c933d7103853b0358ea49b019c24e6de9596f6e0bc8a2c) in 16ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:25:03 activator: shop.example.com hibernated
2026/11/26 10:25:03 activator: shop.example.com: wake failed: instance lease refused: generations lock on a box that takes none (a fixed box, or the switch off)
2026/11/26 10:25:04 lease: shop.example.com: HA lease acquired in 7ms (first wake)
2026/11/26 10:25:04 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:04 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 13ms, control socket 0s, key gate 0s, logs 0s) 14ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:04 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 19ms, healthy 1ms later
2026/11/26 10:25:04 activator: shop.example.com: woke in 95ms: checks 0s, lease 8ms, restore 1ms, identity 2ms, protect 0s, spawn 20ms, replicate 65ms
2026/11/26 10:25:04 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:04 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:b14b0d7be110211b71841ce27c918c20d12dd7c0bfef8f4c27f2843f1f91a5ea) in 16ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:25:04 activator: shop.example.com hibernated
2026/11/26 10:25:04 lease: shop.example.com: HA lease acquired in 7ms (clean marker)
2026/11/26 10:25:04 activator: shop.example.com: kept local, replicating to g-00000000000000000002 from TXID 1
2026/11/26 10:25:04 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 7ms, control socket 0s, key gate 0s, logs 0s) 7ms, launch file 1ms, gate 0s, root start 3ms)
2026/11/26 10:25:04 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 12ms, healthy 1ms later
2026/11/26 10:25:04 activator: shop.example.com: woke in 95ms: checks 0s, lease 8ms, restore 9ms, identity 0s, protect 0s, spawn 12ms, replicate 65ms
2026/11/26 10:25:04 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:04 activator: shop.example.com: released with a marker (clean true, txid 2, files 3:78b7e2b7b25411eee392261fea13107055b4f068f08be15a1e5b82c0ede3de30) in 14ms: files 7ms, sync 1ms, record 4ms, marker 1ms
2026/11/26 10:25:04 activator: shop.example.com hibernated
2026/11/26 10:25:05 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:25:05 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:05 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 12ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:05 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:25:05 activator: shop.example.com: woke in 88ms: checks 0s, lease 5ms, restore 1ms, identity 0s, protect 0s, spawn 18ms, replicate 64ms
2026/11/26 10:25:05 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:05 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:1220d2b360d1de1b88da6379e3eb56d081b87e3dba842213c59ea94e42a825b9) in 15ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:25:05 activator: shop.example.com hibernated
2026/11/26 10:25:05 lease: shop.example.com: HA lease acquired in 3ms (clean marker)
2026/11/26 10:25:05 activator: shop.example.com: kept local
2026/11/26 10:25:05 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 7ms, control socket 0s, key gate 0s, logs 0s) 7ms, launch file 1ms, gate 0s, root start 3ms)
2026/11/26 10:25:05 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 11ms, healthy 1ms later
2026/11/26 10:25:06 activator: shop.example.com: woke in 1.041s: checks 0s, lease 4ms, restore 2ms, identity 0s, protect 0s, spawn 12ms, replicate 1.022s
2026/11/26 10:25:07 lease: shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/26 10:25:07 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:07 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 11ms, control socket 0s, key gate 0s, logs 0s) 12ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:07 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:25:07 activator: shop.example.com: woke in 87ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 17ms, replicate 64ms
2026/11/26 10:25:07 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:07 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:06119fd09b79d78d0d9f4d612bf2560b449100c62281e38b30fb18e31b0dc051) in 15ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:25:07 activator: shop.example.com hibernated
2026/11/26 10:25:08 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:25:08 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:08 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 13ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:08 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:25:08 activator: shop.example.com: woke in 88ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 18ms, replicate 64ms
2026/11/26 10:25:09 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:09 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:a51f7e7f3cab4d0544ce73d1fcde9d19d3898a1462b70f55780afc0a22f2fe06) in 39ms: files 12ms, sync 9ms, record 12ms, marker 6ms
2026/11/26 10:25:09 activator: shop.example.com hibernated
2026/11/26 10:25:11 activator: shop.example.com: wake failed: context deadline exceeded
2026/11/26 10:25:12 activator: HA placement host=shop.example.com kind=Recovery ref=b reason=owner-recovery generation=2026-11-26T10:25:12Z lock_generation=9
2026/11/26 10:25:12 ha_takeover host=shop.example.com iid=i-b cause=visitor confirmed=false error=false
2026/11/26 10:25:12 activator: ALERT shop.example.com: the takeover of i-b's expired HA lock is refused: owner i-b is not terminated (the host stays down until EC2 confirms the holder terminated)
2026/11/26 10:25:12 activator: shop.example.com: the holder i-b is terminated (EC2) and its lease expired; taking the host over
2026/11/26 10:25:12 lease: shop.example.com: HA lease acquired in 3ms (holder terminated)
2026/11/26 10:25:13 activator: HA placement host=shop.example.com kind=Base ref= reason=base-switch-off generation= lock_generation=0
2026/11/26 10:25:13 lease: shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/26 10:25:13 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:13 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 12ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:13 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:25:13 activator: shop.example.com: woke in 89ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 18ms, replicate 65ms
2026/11/26 10:25:16 lease: shutdown.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:25:16 activator: shutdown.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:16 activator: shutdown.example.com: started carlos-instance@shutdown.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 13ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:16 activator: shutdown.example.com: carlos-instance@shutdown.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:25:16 activator: shutdown.example.com: woke in 90ms: checks 0s, lease 6ms, restore 1ms, identity 0s, protect 0s, spawn 18ms, replicate 65ms
2026/11/26 10:25:16 activator: next-due probe shutdown.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:16 activator: shutdown.example.com: released with a marker (clean true, txid 1, files 3:258f5e8731a8f3f74054857a2de21d6b5e61a2f8f4dcf5d8b88ef8aaec9317c4) in 15ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:25:16 activator: shutdown.example.com hibernated
2026/11/26 10:25:17 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:25:17 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:17 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 13ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:17 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 18ms, healthy 1ms later
2026/11/26 10:25:17 activator: shop.example.com: woke in 99ms: checks 0s, lease 6ms, restore 1ms, identity 0s, protect 0s, spawn 19ms, replicate 73ms
2026/11/26 10:25:17 lease: shop.example.com: HA lease acquired in 6ms (clean marker)
2026/11/26 10:25:18 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:25:18 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:18 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 13ms, launch file 0s, gate 0s, root start 4ms)
2026/11/26 10:25:18 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:25:18 activator: shop.example.com: woke in 88ms: checks 0s, lease 6ms, restore 0s, identity 0s, protect 0s, spawn 18ms, replicate 64ms
2026/11/26 10:25:18 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:18 activator: stop shop.example.com: the host's slice is not proven empty: it holds a process; keeping replication and the lease until it is
2026/11/26 10:25:18 activator: stop shop.example.com: the host's slice is not proven empty: cgroup.events: permission denied; keeping replication and the lease until it is
2026/11/26 10:25:18 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:48534c9b9ef26df3684631b6afd84fe760e6275f9e0ecdac072136cd00a1e195) in 15ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:25:18 activator: shop.example.com hibernated
2026/11/26 10:25:19 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:25:19 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:19 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 14ms, control socket 0s, key gate 0s, logs 0s) 14ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:19 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 19ms, healthy 1ms later
2026/11/26 10:25:19 activator: shop.example.com: woke in 93ms: checks 0s, lease 6ms, restore 1ms, identity 0s, protect 0s, spawn 20ms, replicate 66ms
2026/11/26 10:25:20 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:20 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:b9e85f52d72da45bd883277f861acf39714719c697ffd87f72793a54853b47e3) in 29ms: files 10ms, sync 10ms, record 8ms, marker 1ms
2026/11/26 10:25:20 activator: shop.example.com hibernated
2026/11/26 10:25:20 lease: shop.example.com: HA lease acquired in 8ms (clean marker)
2026/11/26 10:25:20 activator: shop.example.com: kept local
2026/11/26 10:25:20 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 3ms, env 14ms, control socket 0s, key gate 0s, logs 0s) 18ms, launch file 1ms, gate 0s, root start 8ms)
2026/11/26 10:25:20 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 27ms, healthy 2ms later
2026/11/26 10:25:21 activator: shop.example.com: woke in 1.077s: checks 0s, lease 9ms, restore 2ms, identity 0s, protect 0s, spawn 29ms, replicate 1.036s
2026/11/26 10:25:21 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:25:21 activator: shop.example.com: released with a marker (clean true, txid 2, files 4:089d3ee299e9f57998b7f24ceb2f754848cee53213616608f41f477b92163bff) in 16ms: files 9ms, sync 1ms, record 4ms, marker 1ms
2026/11/26 10:25:21 activator: shop.example.com hibernated
2026/11/26 10:25:22 activator: CARLOS_ADMIN_TOKEN in /tmp/TestHATokenNotMintedBesideAManifest3753878825/002/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (64 hex characters) — left in place, because the running instance holds this same value and rotating it would lock the platform out of a live instance; if it is corrupt, stop the instance, delete the line and restart it to have one minted
2026/11/26 10:25:23 activator: CARLOS_INSTANCE_KEY in /tmp/TestLegacyLaunchPublishesNothing874150967/002/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (44 base64 characters, 32 bytes): left in place, because the app may already have sealed data with it
2026/11/26 10:25:24 activator: CARLOS_ADMIN_TOKEN in /tmp/TestHAKeyNotMintedAfterAReplacementPastTheGate138042773/002/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (64 hex characters) — left in place, because the running instance holds this same value and rotating it would lock the platform out of a live instance; if it is corrupt, stop the instance, delete the line and restart it to have one minted
2026/11/26 10:25:29 activator: ALERT host-00.example.com: the host has been refused for over 10 minutes. Its lease belongs to instance i-b, which is not confirmed terminated. (ha_suspect_holder)
2026/11/26 10:25:29 activator: ALERT other.example.com: the host has been refused for over 10 minutes. Its lease belongs to instance i-c, which is not confirmed terminated. (ha_suspect_holder)
2026/11/26 10:25:33 lease: shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/26 10:25:33 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:25:33 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 11ms, control socket 0s, key gate 0s, logs 0s) 12ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:25:33 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 16ms, healthy 1ms later
2026/11/26 10:25:33 activator: shop.example.com: woke in 87ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 17ms, replicate 64ms
2026/11/26 10:25:34 lease: shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/26 10:25:37 activator: shop.example.com: files: ALERT: the manifest at revision 8 holds raw secret item(s) ["host.env" "instance.key" "report.token"] written after the host's secrets were sealed: a box on an older release published them
2026/11/26 10:25:37 activator: shop.example.com: files: ALERT: the manifest at revision 8 holds raw secret item(s) ["host.env" "instance.key" "report.token"] written after the host's secrets were sealed: a box on an older release published them
2026/11/26 10:25:38 lease: hand.example.com: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/26 10:25:43 activator: shop.example.com: woke in 82ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 82ms, replicate 0s
2026/11/26 10:25:43 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:25:44 activator: shop.example.com hibernated
2026/11/26 10:25:45 activator: shop.example.com: woke in 83ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 83ms, replicate 0s
2026/11/26 10:25:46 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:25:47 activator: shop.example.com hibernated
2026/11/26 10:25:47 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:25:49 activator: shop.example.com hibernated
2026/11/26 10:25:50 activator: shop.example.com: woke in 86ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 86ms, replicate 0s
2026/11/26 10:25:50 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:25:50 http: proxy error: context canceled
2026/11/26 10:25:51 activator: shop.example.com hibernated
2026/11/26 10:25:51 activator: shop.example.com: woke in 84ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 84ms, replicate 0s
2026/11/26 10:25:51 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:25:51 http: proxy error: context canceled
2026/11/26 10:25:52 activator: shop.example.com hibernated
2026/11/26 10:25:52 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:25:53 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:25:54 activator: shop.example.com hibernated
2026/11/26 10:25:54 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:25:54 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:25:55 activator: shop.example.com hibernated
2026/11/26 10:25:55 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:25:55 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:25:55 http: proxy error: context canceled
2026/11/26 10:25:56 activator: shop.example.com hibernated
2026/11/26 10:25:57 activator: shop.example.com: woke in 83ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 82ms, replicate 0s
2026/11/26 10:25:57 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:25:58 activator: shop.example.com hibernated
2026/11/26 10:25:58 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:25:58 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:25:59 activator: shop.example.com hibernated
2026/11/26 10:26:00 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:00 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:01 activator: shop.example.com hibernated
2026/11/26 10:26:01 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:01 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:01 http: proxy error: context canceled
2026/11/26 10:26:02 activator: shop.example.com hibernated
2026/11/26 10:26:03 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:03 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:03 http: proxy error: context canceled
2026/11/26 10:26:04 activator: shop.example.com hibernated
2026/11/26 10:26:04 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:26:05 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:06 activator: shop.example.com hibernated
2026/11/26 10:26:06 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:06 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:06 http: proxy error: context canceled
2026/11/26 10:26:07 activator: shop.example.com hibernated
2026/11/26 10:26:08 activator: shop.example.com: woke in 82ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 82ms, replicate 0s
2026/11/26 10:26:08 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:09 activator: shop.example.com hibernated
2026/11/26 10:26:09 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:10 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:11 activator: shop.example.com hibernated
2026/11/26 10:26:11 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:26:11 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:12 activator: shop.example.com hibernated
2026/11/26 10:26:13 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:13 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:14 activator: shop.example.com hibernated
2026/11/26 10:26:15 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:26:15 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:15 http: proxy error: context canceled
2026/11/26 10:26:16 activator: shop.example.com hibernated
2026/11/26 10:26:17 activator: shop.example.com: woke in 79ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 79ms, replicate 0s
2026/11/26 10:26:17 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:17 http: proxy error: context canceled
2026/11/26 10:26:18 activator: shop.example.com hibernated
2026/11/26 10:26:19 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:26:19 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:20 activator: shop.example.com hibernated
2026/11/26 10:26:21 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:21 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:21 http: proxy error: context canceled
2026/11/26 10:26:22 activator: shop.example.com hibernated
2026/11/26 10:26:23 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:23 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:23 http: proxy error: context canceled
2026/11/26 10:26:24 activator: shop.example.com hibernated
2026/11/26 10:26:25 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:25 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:26 activator: shop.example.com hibernated
2026/11/26 10:26:27 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:27 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:27 http: proxy error: context canceled
2026/11/26 10:26:28 activator: shop.example.com hibernated
2026/11/26 10:26:29 activator: shop.example.com: woke in 82ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 82ms, replicate 0s
2026/11/26 10:26:29 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:30 activator: shop.example.com hibernated
2026/11/26 10:26:31 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 79ms, replicate 0s
2026/11/26 10:26:31 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:32 activator: shop.example.com hibernated
2026/11/26 10:26:33 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:26:33 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:34 activator: shop.example.com hibernated
2026/11/26 10:26:35 activator: shop.example.com: woke in 82ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 82ms, replicate 0s
2026/11/26 10:26:36 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:37 activator: shop.example.com hibernated
2026/11/26 10:26:38 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:38 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:39 activator: shop.example.com hibernated
2026/11/26 10:26:40 activator: shop.example.com: woke in 79ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 79ms, replicate 0s
2026/11/26 10:26:40 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:41 activator: shop.example.com hibernated
2026/11/26 10:26:42 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:42 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:43 activator: shop.example.com hibernated
2026/11/26 10:26:45 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:26:45 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:46 activator: shop.example.com hibernated
2026/11/26 10:26:47 activator: shop.example.com: woke in 82ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 82ms, replicate 0s
2026/11/26 10:26:47 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:48 activator: shop.example.com hibernated
2026/11/26 10:26:49 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:49 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:50 activator: shop.example.com hibernated
2026/11/26 10:26:52 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:52 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:52 http: proxy error: context canceled
2026/11/26 10:26:53 activator: shop.example.com hibernated
2026/11/26 10:26:54 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:54 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:55 activator: shop.example.com hibernated
2026/11/26 10:26:57 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:26:57 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:26:58 activator: shop.example.com hibernated
2026/11/26 10:26:59 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:26:59 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:00 activator: shop.example.com hibernated
2026/11/26 10:27:02 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:27:02 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:02 http: proxy error: context canceled
2026/11/26 10:27:03 activator: shop.example.com hibernated
2026/11/26 10:27:04 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:27:05 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:06 activator: shop.example.com hibernated
2026/11/26 10:27:07 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:27:07 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:08 activator: shop.example.com hibernated
2026/11/26 10:27:10 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:27:10 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:10 http: proxy error: context canceled
2026/11/26 10:27:11 activator: shop.example.com hibernated
2026/11/26 10:27:12 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:27:13 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:14 activator: shop.example.com hibernated
2026/11/26 10:27:15 activator: shop.example.com: woke in 79ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 79ms, replicate 0s
2026/11/26 10:27:15 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:15 http: proxy error: context canceled
2026/11/26 10:27:16 activator: shop.example.com hibernated
2026/11/26 10:27:18 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:27:18 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:19 activator: shop.example.com hibernated
2026/11/26 10:27:21 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:27:21 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:22 activator: shop.example.com hibernated
2026/11/26 10:27:23 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:27:24 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:25 activator: shop.example.com hibernated
2026/11/26 10:27:26 activator: shop.example.com: woke in 81ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:27:26 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:27 activator: shop.example.com hibernated
2026/11/26 10:27:29 activator: shop.example.com: woke in 80ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 80ms, replicate 0s
2026/11/26 10:27:29 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:30 activator: shop.example.com hibernated
2026/11/26 10:27:32 activator: shop.example.com: woke in 83ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 83ms, replicate 0s
2026/11/26 10:27:32 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:33 activator: shop.example.com hibernated
2026/11/26 10:27:35 activator: shop.example.com: woke in 82ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 81ms, replicate 0s
2026/11/26 10:27:35 activator: shop.example.com idle 0s — hibernating
2026/11/26 10:27:36 activator: shop.example.com hibernated
2026/11/26 10:27:38 activator: seeding h.example.com: /tmp/TestADeclinedNestedSeedRunsThePinnedFile1814912953/001/live/h.example.com seed --db /tmp/nb2980092065/data/instances/h.example.com/h.example.com.db
2026/11/26 10:27:38 activator: seeded h.example.com
2026/11/26 10:27:38 activator: CARLOS_INSTANCE_KEY is set by the app's configuration for /tmp/TestExecBackendStartNeverHandsTheChildAnEmptyKeyWhileOneExistse1333023710/002/shop.example.com.env: the platform mints none while it is
2026/11/26 10:27:38 activator: CARLOS_INSTANCE_KEY is set by the app's configuration for /tmp/TestExecBackendStartNeverHandsTheChildAnEmptyKeyWhileOneExistsn128407139/002/shop.example.com.env: the platform mints none while it is
2026/11/26 10:27:38 activator: seeding seeded.example.com: /tmp/TestExecBackendSeedMintsTheKeyForAFreshFlatInstance1333625644/001/live/seeded.example.com seed --db /tmp/TestExecBackendSeedMintsTheKeyForAFreshFlatInstance1333625644/002/seeded.example.com.db
2026/11/26 10:27:38 activator: seeded seeded.example.com
2026/11/26 10:27:38 activator: the email submission switch of abcxyz/docs could not be read; a.docs.example.com starts with submission (its bundle holds a From and no SMTP host)
2026/11/26 10:27:38 activator: the email submission switch of abcxyz/docs could not be read; a.docs.example.com starts with submission (its bundle holds a From and no SMTP host)
2026/11/26 10:27:38 activator: the email submission switch of abcxyz/docs could not be read; a.docs.example.com starts with submission (its bundle holds a From and no SMTP host)
2026/11/26 10:27:38 activator: the email submission switch of abcxyz/docs could not be read; a.docs.example.com starts with its bundle's SMTP settings, if it has any
2026/11/26 10:27:38 activator: the email submission switch of abcxyz/docs could not be read; a.docs.example.com starts with its bundle's SMTP settings, if it has any
2026/11/26 10:27:38 activator: the email submission switch of abcxyz/docs could not be read; a.docs.example.com starts with its bundle's SMTP settings, if it has any
2026/11/26 10:27:38 activator: the email submission switch of abcxyz/docs could not be read; a.docs.example.com starts with its bundle's SMTP settings, if it has any
2026/11/26 10:27:38 activator: the email submission switch of abcxyz/docs could not be read; handmade.docs.example.com starts with submission (its bundle holds a From and no SMTP host)
2026/11/26 10:27:38 activator: ERROR: route handmade.docs.example.com has no instance record, so it cannot submit mail for switched app abcxyz/docs; give it a record (adoption) or switch submission off
2026/11/26 10:27:39 activator: fence.example hibernated
2026/11/26 10:27:40 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:27:40 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:27:40 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 13ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:27:40 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 18ms, healthy 1ms later
2026/11/26 10:27:40 activator: shop.example.com: woke in 90ms: checks 0s, lease 6ms, restore 0s, identity 0s, protect 0s, spawn 19ms, replicate 65ms
2026/11/26 10:27:41 activator: barrier.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:27:41 activator: stop barrier.example.com: cgroup.kill: the child is not empty
2026/11/26 10:27:41 activator: stop barrier.example.com: not every process of the entry is proven gone; keeping the lease until it is
2026/11/26 10:27:41 activator: stop barrier.example.com: cgroup.kill: the child is not empty
2026/11/26 10:27:41 activator: barrier.example.com hibernated
2026/11/26 10:27:42 activator: barrier.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:27:42 activator: stop generation 11: cgroup.kill: the child is not empty
2026/11/26 10:27:42 activator: generation 11 of barrier.example.com did not prove its exit; keeping it in the operation set
2026/11/26 10:27:42 activator: one.example.com: wake failed: start one.example.com: GET / answered 500
2026/11/26 10:27:43 activator: one.example.com: an earlier planned wake's outcome is still being delivered after 200ms; refusing this wake until it is
2026/11/26 10:27:43 activator: one.example.com: an earlier planned wake's outcome is still being delivered after 200ms; refusing this wake until it is
2026/11/26 10:27:44 activator: shop.example.com: refusing to wake: the route changed while the wake waited for its lease: the record is tied to a box, but this route has not caught up: it names box "pi-2" assigned "2026-10-30T11:00:00.000000002Z"; giving the lease back
2026/11/26 10:27:44 activator: shop.example.com: wake failed: shop.example.com: refusing to wake: the route changed while the wake waited for its lease: the record is tied to a box, but this route has not caught up: it names box "pi-2" assigned "2026-10-30T11:00:00.000000002Z"
2026/11/26 10:27:49 activator: shop.example.com: wake failed: activator: the probe attempt failed
materialize failed
2026/11/26 10:27:50 activator: shop.example.com: escrow is off: this box has no files store; the host launches and mints as before, and nothing of it is published
2026/11/26 10:27:50 activator: shop.example.com: started carlos-instance-rootfs-gen@shop.example.com:7.service memory.max=1073741824 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 0s)
2026/11/26 10:27:50 activator: shop.example.com: carlos-instance-rootfs-gen@shop.example.com:7.service launched in 2ms, healthy 1ms later
2026/11/26 10:27:50 activator: shop.example.com: started carlos-instance-rootfs-tty@shop.example.com.service (console of build v2) memory.max=1073741824
2026/11/26 10:27:50 activator: shop.example.com: started carlos-instance-rootfs-tty@shop.example.com.service (cmd of build v2) memory.max=1073741824
2026/11/26 10:27:50 activator: h.example.com: started carlos-instance-tty@h.example.com.service for session sess_a
2026/11/26 10:27:50 activator: shop.example.com: escrow is off: this box has no files store; the host launches and mints as before, and nothing of it is published
2026/11/26 10:27:50 activator: shop.example.com: started carlos-instance-rootfs-gen@shop.example.com:7.service memory.max=1073741824 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 0s)
2026/11/26 10:27:50 activator: shop.example.com: carlos-instance-rootfs-gen@shop.example.com:7.service launched in 2ms, healthy 1ms later
2026/11/26 10:27:50 activator: shop.example.com: started carlos-instance-rootfs-tty@shop.example.com.service (console of build v2) memory.max=1073741824
2026/11/26 10:27:51 activator: shop.example.com: files: ALERT: the manifest at revision 4 holds raw secret item(s) ["host.env"] written after the host's secrets were sealed: a box on an older release published them
2026/11/26 10:27:51 activator: x.example recovery probe healthy; held until the source opens
2026/11/26 10:27:51 activator: x.example hibernated
2026/11/26 10:27:52 activator: x.example recovery probe healthy; held until the source opens
2026/11/26 10:27:52 activator: x.example hibernated
2026/11/26 10:27:53 activator: shop.example.com: always-on rootfs instance is not running; starting it
2026/11/26 10:27:53 activator: shop.example.com: always-on rootfs instance is not running; starting it
2026/11/26 10:27:53 activator: shop.example.com: release command of build v2 started
2026/11/26 10:27:53 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:27:53 activator: shop.example.com: generation 100 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:27:53 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:27:53 activator: shop.example.com hibernated
2026/11/26 10:27:54 lease: shop.example.com: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/26 10:27:54 activator: shop.example.com: escrow: restored shop.example.com.env from the bucket
2026/11/26 10:27:54 activator: CARLOS_ADMIN_TOKEN in /tmp/TestStatelessEscrowRecordsAbsencenever_written2863408021/009/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (64 hex characters) — left in place, because the running instance holds this same value and rotating it would lock the platform out of a live instance; if it is corrupt, stop the instance, delete the line and restart it to have one minted
2026/11/26 10:27:54 activator: CARLOS_INSTANCE_KEY in /tmp/TestStatelessEscrowRecordsAbsencenever_written2863408021/009/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (44 base64 characters, 32 bytes): left in place, because the app may already have sealed data with it
2026/11/26 10:27:55 lease: shop.example.com: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/26 10:27:55 activator: shop.example.com: escrow: restored shop.example.com.env from the bucket
2026/11/26 10:27:55 activator: shop.example.com: escrow: restored shop.example.com/instance.key from the bucket
2026/11/26 10:27:55 activator: shop.example.com: escrow: restored shop.example.com/report.token from the bucket
2026/11/26 10:27:55 activator: CARLOS_ADMIN_TOKEN in /tmp/TestStatelessEscrowRecordsAbsencewritten1930184383/009/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (64 hex characters) — left in place, because the running instance holds this same value and rotating it would lock the platform out of a live instance; if it is corrupt, stop the instance, delete the line and restart it to have one minted
2026/11/26 10:27:55 activator: CARLOS_INSTANCE_KEY in /tmp/TestStatelessEscrowRecordsAbsencewritten1930184383/009/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (44 base64 characters, 32 bytes): left in place, because the app may already have sealed data with it
2026/11/26 10:27:56 lease: shop.example.com: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/26 10:27:56 activator: shop.example.com: escrow: restored shop.example.com.env from the bucket
2026/11/26 10:27:57 lease: shop.example.com: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/26 10:27:57 activator: shop.example.com: escrow: restored shop.example.com.env from the bucket
2026/11/26 10:27:57 activator: CARLOS_ADMIN_TOKEN in /tmp/TestStatelessEscrowRecordsAbsenceupgraded24738818/009/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (64 hex characters) — left in place, because the running instance holds this same value and rotating it would lock the platform out of a live instance; if it is corrupt, stop the instance, delete the line and restart it to have one minted
2026/11/26 10:27:57 activator: CARLOS_INSTANCE_KEY in /tmp/TestStatelessEscrowRecordsAbsenceupgraded24738818/009/data/instances/shop.example.com/shop.example.com.env is not the shape the platform mints (44 base64 characters, 32 bytes): left in place, because the app may already have sealed data with it
2026/11/26 10:27:58 activator: shop.example.com: generation 101 of v2: record 0s, start 1ms, healthy 0s later
2026/11/26 10:27:58 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:27:58 activator: shop.example.com hibernated
2026/11/26 10:27:59 activator: shop.example.com hibernated
2026/11/26 10:28:02 provision: minted instance route shop.example.com (app "shop" acct "bab")
2026/11/26 10:28:02 activator: shop.example.com: generation 103 of v2: record 0s, start 27ms, healthy 0s later
2026/11/26 10:28:02 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:02 activator: shop.example.com hibernated
2026/11/26 10:28:04 provision: minted instance route shop.example.com (app "shop" acct "bab")
2026/11/26 10:28:06 provision: minted instance route shop.example.com (app "shop" acct "bab")
2026/11/26 10:28:06 provision: converged shop.example.com fleet assignment "" moved false -> "2026-11-26T10:28:06.267628655Z" moved false
2026/11/26 10:28:06 activator: shop.example.com: generation 104 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:28:06 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:06 activator: shop.example.com hibernated
2026/11/26 10:28:09 activator: shop.example.com: generation 106 of v1: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:09 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:09 activator: shop.example.com hibernated
2026/11/26 10:28:11 activator: shop.example.com: generation 108 of v1: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:11 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:11 activator: shop.example.com hibernated
2026/11/26 10:28:13 activator: shop.example.com: generation 110 of v1: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:13 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:13 activator: shop.example.com hibernated
2026/11/26 10:28:16 activator: shop.example.com: generation 112 of v1: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:16 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:16 activator: shop.example.com hibernated
2026/11/26 10:28:17 activator: shop.example.com: generation 113 of v2: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:17 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:17 activator: shop.example.com hibernated
2026/11/26 10:28:19 activator: shop.example.com: generation 115 of v1: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:19 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:19 activator: shop.example.com hibernated
2026/11/26 10:28:20 activator: shop.example.com: generation 116 of v2: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:20 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:20 activator: shop.example.com hibernated
2026/11/26 10:28:22 activator: shop.example.com: generation 118 of v1: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:22 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:22 activator: shop.example.com hibernated
2026/11/26 10:28:23 activator: shop.example.com: generation 119 of v2: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:23 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:23 activator: shop.example.com hibernated
2026/11/26 10:28:24 activator: shop.example.com: held by release attempt deploy-v2-retry: release: activator: the attempt's build needs a release that has not passed for this attempt; said again only when it changes
2026/11/26 10:28:26 activator: shop.example.com: generation 122 of v2: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:26 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:27 activator: shop.example.com hibernated
2026/11/26 10:28:27 activator: shop.example.com: generation 124 of v1: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:27 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:27 activator: shop.example.com hibernated
2026/11/26 10:28:28 activator: shop.example.com: generation 125 of v1: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:28 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:28 activator: shop.example.com hibernated
2026/11/26 10:28:29 activator: shop.example.com: generation 127 of v1: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:29 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:29 activator: generation 128 of shop.example.com did not prove its exit; keeping it in the operation set
2026/11/26 10:28:29 activator: shop.example.com hibernated
2026/11/26 10:28:30 activator: shop.example.com: generation 129 of v1: record 0s, start 1ms, healthy 0s later
2026/11/26 10:28:30 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:28:30 activator: shop.example.com hibernated
2026/11/26 10:28:31 activator: protect.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, seed 0s, spawn 0s, replicate 0s
2026/11/26 10:28:31 activator: shop.example.com: escrow is off: this box has no files store; the host launches and mints as before, and nothing of it is published
2026/11/26 10:28:32 activator: shop.example.com: always-on rootfs instance is not running; starting it
2026/11/26 10:28:32 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:32 activator: LEASE LOST for always-on shop.example.com (renew: the lock was taken); killing it
2026/11/26 10:28:32 activator: shop.example.com: generation 132 killed and proven gone after its lease was lost
2026/11/26 10:28:32 activator: shop.example.com: run run_a's cmd unit killed and proven gone after its lease was lost
2026/11/26 10:28:32 activator: shop.example.com: run run_a is not proven stopped after its lease ran short or was lost: processes remained; the stop keeps the lease until it is
2026/11/26 10:28:32 activator: shop.example.com: run run_a is not proven stopped: processes remained
2026/11/26 10:28:32 activator: stop shop.example.com: not every process of the entry is proven gone; keeping the lease until it is
2026/11/26 10:28:32 activator: shop.example.com hibernated
2026/11/26 10:28:33 activator: blog.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:33 activator: blog.example.com hibernated
2026/11/26 10:28:33 activator: shop.example.com: always-on rootfs instance is not running; starting it
2026/11/26 10:28:33 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:33 activator: shop.example.com: run ses_a not started: swap: lease lost: activator: the instance's lease is too close to its safety deadline to start a command
2026/11/26 10:28:33 activator: shop.example.com hibernated
2026/11/26 10:28:34 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:34 activator: shop.example.com hibernated
2026/11/26 10:28:35 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:35 activator: shop.example.com hibernated
2026/11/26 10:28:35 activator: shop.example.com: started carlos-instance-rootfs-cmd@shop.example.com.service (cmd of build v1) memory.max=1073741824
2026/11/26 10:28:38 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:39 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:40 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:40 activator: swap.example.com: worker mailer is not proven stopped: instance control: 502: stop: termination unproven; the lease is kept until it is
2026/11/26 10:28:40 activator: swap.example.com: a worker of an earlier generation is not yet proven stopped and released; generation 142's workers start once it is
2026/11/26 10:28:40 activator: swap.example.com: worker mailer is not proven stopped: instance control: 502: stop: termination unproven; the lease is kept until it is
2026/11/26 10:28:40 activator: swap.example.com: worker jobs of build v2 not started: activator: a worker of this instance is not proven stopped: worker mailer of generation 1099511627776
2026/11/26 10:28:40 activator: swap.example.com: worker mailer is not proven stopped: instance control: 502: stop: termination unproven; the lease is kept until it is
2026/11/26 10:28:40 activator: swap.example.com: worker jobs of build v2 not started: activator: a worker of this instance is not proven stopped: worker mailer of generation 1099511627776
2026/11/26 10:28:41 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:41 activator: swap.example.com: worker mailer is not proven stopped: instance control: 502: stop: termination unproven; the lease is kept until it is
2026/11/26 10:28:41 activator: swap.example.com: a worker of an earlier generation is not yet proven stopped and released; generation 144's workers start once it is
2026/11/26 10:28:42 activator: shop.example.com: escrow is off: this box has no files store; the host launches and mints as before, and nothing of it is published
2026/11/26 10:28:42 activator: shop.example.com: started carlos-instance-rootfs-gen@shop.example.com:145.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 0s)
2026/11/26 10:28:43 activator: one.example.com: generation 145 of v2: record 0s, start 2ms, healthy 948ms later
2026/11/26 10:28:43 activator: one.example.com: woke in 953ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 951ms, replicate 0s
2026/11/26 10:28:43 activator: one.example.com hibernated
2026/11/26 10:28:54 activator: shop.example.com: escrow is off: this box has no files store; the host launches and mints as before, and nothing of it is published
2026/11/26 10:28:54 activator: shop.example.com: started carlos-instance-rootfs-cmd@shop.example.com.service (release of build v2) memory.max=1073741824
2026/11/26 10:28:54 activator: shop.example.com: release command of build v2 started
2026/11/26 10:28:55 activator: shop.example.com: the release command of build v2 is not proven stopped: instance control /stop: 502: stop: Job for carlos-instance-rootfs-cmd@shop.example.com.service canceled. exit status 1
processes remained after 200ms; the sweep retries
2026/11/26 10:28:55 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:28:56 activator: shop.example.com: always-on rootfs instance is not running; starting it
2026/11/26 10:28:56 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:56 activator: LEASE LOST for always-on shop.example.com (lease renewal failed); killing it
2026/11/26 10:28:56 activator: shop.example.com: generation 146 killed and proven gone after its lease was lost
2026/11/26 10:28:56 activator: shop.example.com hibernated
2026/11/26 10:28:57 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:57 activator: swap.example.com hibernated
2026/11/26 10:28:57 activator: shop.example.com: escrow is off: this box has no files store; the host launches and mints as before, and nothing of it is published
2026/11/26 10:28:57 activator: shop.example.com: started carlos-instance-rootfs-gen@shop.example.com:148.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 0s)
2026/11/26 10:28:57 activator: swap.example.com: generation 148 of v2: record 0s, start 2ms, healthy 1ms later
2026/11/26 10:28:57 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:57 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:58 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:28:59 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:00 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:01 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:02 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:02 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:03 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:04 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:05 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:06 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:06 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:06 activator: swap.example.com: release command of build v2 started
2026/11/26 10:29:06 activator: swap.example.com: the release command of build v2 is not proven stopped: processes remained in the release command's cgroup; the sweep retries
2026/11/26 10:29:06 activator: swap.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:07 activator: shop.example.com: escrow is off: this box has no files store; the host launches and mints as before, and nothing of it is published
2026/11/26 10:29:07 activator: shop.example.com: started carlos-instance-rootfs-gen@shop.example.com:7.service memory.max=1073741824 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 0s)
2026/11/26 10:29:07 activator: shop.example.com: carlos-instance-rootfs-gen@shop.example.com:7.service launched in 2ms, healthy 1ms later
2026/11/26 10:29:08 activator: no replica for shop.example.com in s3://test-bucket/shop.example.com — booting fresh
2026/11/26 10:29:08 activator: shop.example.com: first boot: placed an empty database before the start
2026/11/26 10:29:08 activator: shop.example.com: escrow is off: this box has no CARLOS_SECRETS_KEY to seal with, and the bucket holds no escrow for the host; the host launches and mints as before, and nothing of it is published
2026/11/26 10:29:08 activator: shop.example.com: started carlos-instance-rootfs-gen@shop.example.com:173.service memory.max=1073741824 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 0s)
2026/11/26 10:29:08 activator: shop.example.com: carlos-instance-rootfs-gen@shop.example.com:173.service launched in 2ms, healthy 1ms later
2026/11/26 10:29:08 INFO replica sync db=shop.example.com.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/26 10:29:08 INFO ltx file uploaded db=shop.example.com.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=530
2026/11/26 10:29:08 INFO replica sync db=shop.example.com.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/26 10:29:08 activator: shop.example.com: woke in 15ms: checks 0s, lease 0s, restore 1ms, placeholder 1ms, identity 0s, spawn 3ms, replicate 10ms
2026/11/26 10:29:08 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:29:08 INFO replica sync db=shop.example.com.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/26 10:29:08 INFO replica sync db=shop.example.com.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/26 10:29:08 activator: shop.example.com hibernated
2026/11/26 10:29:09 activator: no replica for shop.example.com in s3://test-bucket/shop.example.com — booting fresh
2026/11/26 10:29:09 activator: shop.example.com: no database and no replica, and lifetime 1 has booted before (its first-boot marker is there): refusing an empty boot
2026/11/26 10:29:10 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:10 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:11 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:11 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:11 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:11 activator: shop.example.com: polling the release command of build v2: dial unix: connection refused; asking again
2026/11/26 10:29:11 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:12 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:12 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:13 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:13 activator: shop.example.com: polling the release command of build v2: dial unix: connection refused; asking again
2026/11/26 10:29:13 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:14 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:14 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:14 activator: shop.example.com: the release command of build v2 is not proven stopped: processes remained in the unit's cgroup; the sweep retries
2026/11/26 10:29:14 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:15 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:15 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:15 activator: shop.example.com: the release command of build v2 is not proven stopped: processes remained in the unit's cgroup; the sweep retries
2026/11/26 10:29:15 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:15 activator: shop.example.com: giving the lease back failed: store: DeleteObject timed out; retrying it
2026/11/26 10:29:15 activator: shop.example.com: lease given back on retry
2026/11/26 10:29:16 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:16 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:16 activator: shop.example.com: the release command of build v2 is not proven stopped: processes remained in the unit's cgroup; the sweep retries
2026/11/26 10:29:17 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:17 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:17 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:17 activator: shop.example.com: the release command of build v2 is not proven stopped: processes remained in the unit's cgroup; the sweep retries
2026/11/26 10:29:17 activator: stop shop.example.com: not every process of the entry is proven gone; keeping the lease until it is
2026/11/26 10:29:18 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:18 activator: shop.example.com hibernated
2026/11/26 10:29:19 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:19 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:19 activator: shop.example.com: the release command of build v2 is not proven stopped: processes remained in the unit's cgroup; the sweep retries
2026/11/26 10:29:20 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:20 activator: stop shop.example.com: a worker is not proven stopped; keeping replication and the lease until it is
2026/11/26 10:29:20 activator: shop.example.com hibernated
2026/11/26 10:29:21 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:21 activator: shop.example.com: worker jobs of build v1 not started: swap: lease lost
2026/11/26 10:29:21 activator: shop.example.com hibernated
2026/11/26 10:29:22 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:22 activator: shop.example.com: worker jobs of build v1 not started: swap: a stop-evidence operation holds the host
2026/11/26 10:29:22 activator: shop.example.com hibernated
2026/11/26 10:29:22 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:22 activator: shop.example.com: worker jobs of build v1 not started: swap: another generation operation is in flight: a release command of this instance is still running or not proven stopped
2026/11/26 10:29:22 activator: shop.example.com hibernated
2026/11/26 10:29:23 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:23 activator: shop.example.com: worker jobs of build v1 not started: activator: the worker's generation is no longer the instance's current one
2026/11/26 10:29:23 activator: shop.example.com hibernated
2026/11/26 10:29:23 activator: shop.example.com: escrow is off: this box has no files store; the host launches and mints as before, and nothing of it is published
2026/11/26 10:29:23 activator: shop.example.com: started carlos-instance-rootfs-gen@shop.example.com:7.service memory.max=1073741824 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 0s)
2026/11/26 10:29:23 activator: shop.example.com: carlos-instance-rootfs-gen@shop.example.com:7.service launched in 2ms, healthy 1ms later
2026/11/26 10:29:23 activator: shop.example.com: started carlos-instance-rootfs-worker@shop.example.com:jobs.service (worker jobs of build v2) memory.max=1073741824
2026/11/26 10:29:24 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:24 activator: shop.example.com: worker jobs of build v1 may have started: instance control: 502 Bad Gateway; proving it gone
2026/11/26 10:29:24 activator: shop.example.com: worker jobs is not proven stopped: instance control: generation termination unproven; the lease is kept until it is
2026/11/26 10:29:24 activator: shop.example.com: worker jobs ended with no exit status to tell (a failed start, no exit record, or an unknown signal); starting it again in 4s
2026/11/26 10:29:24 activator: shop.example.com hibernated
2026/11/26 10:29:25 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:25 activator: shop.example.com: worker jobs of build v1 may have started: instance control: 502 Bad Gateway; proving it gone
2026/11/26 10:29:25 activator: shop.example.com: worker jobs ended with no exit status to tell (a failed start, no exit record, or an unknown signal); starting it again in 4s
2026/11/26 10:29:25 activator: shop.example.com hibernated
2026/11/26 10:29:26 activator: shop.example.com: always-on rootfs instance is not running; starting it
2026/11/26 10:29:26 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:26 activator: shop.example.com: its lease is not renewing and is safe for 1m15s more; stopping it while a drain still fits
2026/11/26 10:29:26 activator: shop.example.com: worker jobs started as its instance stopped or lost its lease; stopping it
2026/11/26 10:29:26 activator: shop.example.com: worker jobs ended with no exit status to tell (a failed start, no exit record, or an unknown signal); starting it again in 4s
2026/11/26 10:29:26 activator: shop.example.com hibernated
2026/11/26 10:29:27 activator: shop.example.com: always-on rootfs instance is not running; starting it
2026/11/26 10:29:27 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:27 activator: shop.example.com: worker jobs of build v1 not started: swap: lease lost: activator: the instance's lease is too close to its safety deadline to start a worker
2026/11/26 10:29:27 activator: shop.example.com hibernated
2026/11/26 10:29:28 activator: shop.example.com: always-on rootfs instance is not running; starting it
2026/11/26 10:29:28 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:28 activator: shop.example.com: worker mailer of build v1 not started: swap: lease lost: activator: the instance's lease is too close to its safety deadline to start a worker
2026/11/26 10:29:28 activator: shop.example.com: worker jobs of build v1 not started: swap: lease lost: activator: the instance's lease is too close to its safety deadline to start a worker
2026/11/26 10:29:28 activator: shop.example.com hibernated
2026/11/26 10:29:29 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:29 activator: shop.example.com: worker jobs of build v1 may have started: instance control: start jobs: context deadline exceeded; proving it gone
2026/11/26 10:29:29 activator: shop.example.com: worker jobs ended with no exit status to tell (a failed start, no exit record, or an unknown signal); starting it again in 4s
2026/11/26 10:29:29 activator: shop.example.com hibernated
2026/11/26 10:29:29 activator: shop.example.com: start of carlos-instance-rootfs-worker@shop.example.com:jobs.service (worker jobs of build v2) failed, it may have begun: lost response
2026/11/26 10:29:29 activator: shop.example.com: stop carlos-instance-rootfs-worker@shop.example.com:jobs.service: proof unavailable
2026/11/26 10:29:29 activator: h.example.com: seed sd_2zn574po7ibgnfbcnzdebnueeq: h.example.com could not start from its seed: a copy of data already exists for this hostname.: objects under moves/h.example.com/
2026/11/26 10:29:29 activator: h.example.com: seed sd_tehcvzkpwz4a3ttg52laebksea: h.example.com could not start from its seed: a copy of data already exists for this hostname.: objects under moves/h.example.com/
2026/11/26 10:29:30 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/26 10:29:30 activator: shop.example.com: placed seed sd_rqa7cfutubninabv2as5xgbou4 (8192 bytes)
2026/11/26 10:29:30 provision: removed instance route shop.example.com (its seed sd_rqa7cfutubninabv2as5xgbou4 was aborted); the next pass rolls it back
2026/11/26 10:29:30 provision: shop.example.com: aborted seed sd_rqa7cfutubninabv2as5xgbou4 keeps its hostname: a copy of its data is still in the fleet's storage (1 object(s) under instances/shop.example.com/, 0 under moves/shop.example.com/)
2026/11/26 10:29:30 provision: shop.example.com: aborted seed sd_rqa7cfutubninabv2as5xgbou4 keeps its hostname: a copy of its data is still in the fleet's storage (1 object(s) under instances/shop.example.com/, 0 under moves/shop.example.com/)
2026/11/26 10:29:30 provision: shop.example.com: aborted seed sd_rqa7cfutubninabv2as5xgbou4: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/26 10:29:31 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/26 10:29:31 activator: shop.example.com: placed seed sd_yihoqamrbimuzzwffxex7n3dwq (8192 bytes)
2026/11/26 10:29:31 activator: h.example.com: placed seed sd_4vzjfjjw2lwbhwsvno3klnh2sa (8192 bytes)
2026/11/26 10:29:31 activator: h.example.com: placed seed sd_cqzknnk57ihz2wqoheysfivvxu (8192 bytes)
2026/11/26 10:29:31 activator: CARLOS_INSTANCE_KEY is set by the app's configuration for /tmp/nb19736605/data/instances/h.example.com/h.example.com.env: the platform mints none while it is
2026/11/26 10:29:31 activator: h.example.com: seed sd_cschiwpjf3ndhrlvq4it4pvtkq: h.example.com could not start from its seed: the snapshot's length or sha256 does not match its record.
2026/11/26 10:29:31 activator: restored h.example.com from s3://test-bucket/h.example.com
2026/11/26 10:29:32 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:32 activator: no replica for shop.example.com in s3://test-bucket/shop.example.com — booting fresh
2026/11/26 10:29:33 activator: no replica for shop.example.com in s3://test-bucket/shop.example.com — booting fresh
2026/11/26 10:29:33 activator: shop.example.com: woke in 1ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:33 activator: no replica for shop.example.com in s3://test-bucket/shop.example.com — booting fresh
2026/11/26 10:29:34 activator: no replica for shop.example.com in s3://test-bucket/shop.example.com — booting fresh
2026/11/26 10:29:34 activator: shop.example.com: woke in 1ms: checks 0s, lease 0s, restore 1ms, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:36 activator: shop.example.com: generation 201 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:29:36 activator: shop.example.com: build v2: its declared processes are not valid, so this box runs no worker of it: the processes declare no web process. a rootfs release needs exactly one, named web
2026/11/26 10:29:36 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:36 activator: shop.example.com hibernated
2026/11/26 10:29:36 activator: shop.example.com: generation 202 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:29:36 activator: shop.example.com: build v2: its declared processes are not valid, so this box runs no worker of it: the processes declare no web process. a rootfs release needs exactly one, named web
2026/11/26 10:29:36 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:29:36 activator: shop.example.com hibernated
2026/11/26 10:29:37 activator: shop.example.com: generation 203 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:29:37 activator: shop.example.com: build v2: its declared processes are not valid, so this box runs no worker of it: the processes declare no web process. a rootfs release needs exactly one, named web
2026/11/26 10:29:37 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:37 activator: shop.example.com hibernated
2026/11/26 10:29:38 activator: shop.example.com: generation 204 of v1: record 0s, start 0s, healthy 24ms later
2026/11/26 10:29:38 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:29:38 activator: shop.example.com hibernated
2026/11/26 10:29:38 activator: h.example.com: started carlos-instance-gen@h.example.com:7.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 1ms, gate 0s, root start 0s)
2026/11/26 10:29:39 activator: shop.example.com: generation 206 of v1: record 0s, start 0s, healthy 0s later
2026/11/26 10:29:39 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:39 activator: shop.example.com hibernated
2026/11/26 10:29:39 activator: shop.example.com: generation 207 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:29:39 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:29:39 activator: shop.example.com hibernated
2026/11/26 10:29:40 activator: shop.example.com: generation 208 of v1: record 0s, start 0s, healthy 0s later
2026/11/26 10:29:40 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:29:40 activator: shop.example.com hibernated
2026/11/26 10:29:40 activator: shop.example.com: generation 209 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:29:40 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:40 activator: shop.example.com hibernated
2026/11/26 10:29:41 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:42 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:42 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:43 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:44 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:45 activator: shop.example.com: generation 215 of v2: record 0s, start 1ms, healthy 0s later
2026/11/26 10:29:45 activator: shop.example.com: woke in 0s: identity 0s
2026/11/26 10:29:45 activator: shop.example.com hibernated
2026/11/26 10:29:46 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:46 activator: shop.example.com: the release command of build v2 is not proven stopped: activator: stop unproven; processes remain; the sweep retries
2026/11/26 10:29:46 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:47 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:47 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:48 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:48 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:49 activator: shop.example.com: release command of build v2 started
2026/11/26 10:29:50 activator: shop.example.com: stopping the release command of build v2: the instance's lease is ending
2026/11/26 10:29:50 activator: shop.example.com: the release command of build v2 is proven stopped
2026/11/26 10:29:51 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:29:51 activator: worker bot.x.internal NOT respawned (attempt (release)): swap: superseded by a newer attempt; abandoning it
2026/11/26 10:29:51 activator: worker bot.x.internal respawned (restoring v1), now running v1
2026/11/26 10:29:52 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:29:52 activator: worker bot.x.internal NOT respawned (attempt (release)): swap: superseded by a newer attempt; abandoning it
2026/11/26 10:29:52 activator: worker bot.x.internal: hold attempt onto v2 was superseded after its exec; the build it replaced (v1) is not restored, and the worker stops
2026/11/26 10:29:52 activator: bot.x.internal hibernated
2026/11/26 10:29:52 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:29:53 activator: publish generations to /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir/generations.json: open directory /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir: not a directory; the sweep retries
2026/11/26 10:29:53 activator: worker bot.x.internal not spawned: the build it would exec (v2 /opt/carlos/versions/v2/app) could not be published first: open directory /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir: not a directory
2026/11/26 10:29:53 activator: publish generations to /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir/generations.json: open directory /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir: not a directory; the sweep retries
2026/11/26 10:29:53 activator: WORKER bot.x.internal failed to respawn (attempt (release)): worker build not published before its exec: open directory /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir: not a directory — the sweep's crash restart takes it from here
2026/11/26 10:29:53 activator: publish generations to /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir/generations.json: open directory /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir: not a directory; the sweep retries
2026/11/26 10:29:53 activator: publish generations to /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir/generations.json: open directory /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir: not a directory; the sweep retries
2026/11/26 10:29:53 activator: worker bot.x.internal not spawned: the build it would exec (v1 /opt/carlos/versions/v1/app) could not be published first: open directory /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir: not a directory
2026/11/26 10:29:53 activator: publish generations to /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir/generations.json: open directory /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir: not a directory; the sweep retries
2026/11/26 10:29:53 activator: WORKER bot.x.internal failed to respawn (restoring v1): worker build not published before its exec: open directory /tmp/TestReplaceWorkerReportsWhetherTheAttemptsBuildExecutedrefused_1361763151/002/not-a-dir: not a directory — the sweep's crash restart takes it from here
2026/11/26 10:29:53 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:29:53 activator: worker bot.x.internal respawned (attempt (release)), now running v2
2026/11/26 10:29:54 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:54 activator: swap.example.com hibernated
2026/11/26 10:29:54 activator: swap.example.com: hold's pinned wake refused or abandoned: start swap.example.com: swap: superseded by a newer attempt
2026/11/26 10:29:55 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:55 activator: swap.example.com hibernated
2026/11/26 10:29:55 activator: swap.example.com: generation 218 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:29:55 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:55 activator: h.example.com: start of carlos-instance-gen@h.example.com:7.service failed, it may have begun: 502 from root; killing it
2026/11/26 10:29:55 activator: h.example.com: kill carlos-instance-gen@h.example.com:7.service after a failed start: processes remain
2026/11/26 10:29:56 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:57 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:57 activator: swap.example.com hibernated
2026/11/26 10:29:57 activator: wake shop.example.com: open directory /opt/carlos/versions/g3r1: read-only file system
2026/11/26 10:29:57 activator: one.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:29:59 activator: one.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:00 activator: one.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:01 activator: one.example.com: wake failed: start one.example.com: GET / answered 500
2026/11/26 10:30:02 activator: one.example.com: generation 227 of v1: record 0s, start 0s, healthy 0s later
2026/11/26 10:30:02 activator: one.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:03 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:04 activator: bot10.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:04 activator: worker bot10.example.com NOT respawned (test: shed after the exec): swap: lease lost; abandoning it
2026/11/26 10:30:04 activator: worker bot10.example.com: the shed respawn child's exit is not proven (activator: stop unproven; processes remain); the entry keeps it and its build until the sweep proves it
2026/11/26 10:30:04 activator: LEASE LOST for bot10.example.com (renewal failed) — standing down
2026/11/26 10:30:04 activator: stop bot10.example.com: a respawn or the child it shed is not proven finished; keeping the lease until it is
2026/11/26 10:30:04 activator: bot10.example.com: the shed respawn child has exited
2026/11/26 10:30:04 activator: bot10.example.com hibernated
2026/11/26 10:30:05 activator: bot10.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:05 activator: worker bot10.example.com NOT respawned (test: shed after the exec): swap: lease lost; abandoning it
2026/11/26 10:30:05 activator: LEASE LOST for bot10.example.com (renewal failed) — standing down
2026/11/26 10:30:05 activator: bot10.example.com respawn did not finish before its stop; stopping the rest, the lease is kept until it has
2026/11/26 10:30:05 activator: stop bot10.example.com: a respawn or the child it shed is not proven finished; keeping the lease until it is
2026/11/26 10:30:05 activator: bot10.example.com hibernated
2026/11/26 10:30:06 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:06 activator: worker bot.x.internal respawned (attempt (release)), now running v2
2026/11/26 10:30:06 activator: worker bot.x.internal respawned (falling back to v1), now running v1
2026/11/26 10:30:07 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:07 activator: worker bot.x.internal respawned (attempt (release)), now running v2
2026/11/26 10:30:07 activator: worker bot.x.internal exited — restarting (backoff now 2s)
2026/11/26 10:30:07 activator: worker bot.x.internal exited; a queued release attempt makes the spawn instead of a recycle
2026/11/26 10:30:07 activator: worker bot.x.internal respawned (falling back to v1), now running v1
2026/11/26 10:30:08 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:08 activator: worker bot.x.internal respawned (attempt (restart)), now running v1
2026/11/26 10:30:08 activator: worker bot.x.internal respawned (restoring v1), now running v1
2026/11/26 10:30:09 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:30:09 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:30:09 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 13ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:30:09 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 18ms, healthy 1ms later
2026/11/26 10:30:09 activator: shop.example.com: woke in 89ms: checks 0s, lease 6ms, restore 0s, identity 0s, protect 0s, spawn 18ms, replicate 64ms
2026/11/26 10:30:09 activator: shop.example.com: write fence: standing down (stopping)
2026/11/26 10:30:09 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:30:09 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:24aa92ba5b2c80b599cd16d9b8516eef2b564baef7a75d6d536ee86cffb482de) in 15ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:30:09 activator: shop.example.com hibernated
2026/11/26 10:30:10 lease: shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/26 10:30:10 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:30:10 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 12ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:30:10 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:30:10 activator: shop.example.com: woke in 89ms: checks 0s, lease 6ms, restore 0s, identity 0s, protect 0s, spawn 18ms, replicate 64ms
2026/11/26 10:30:10 activator: shop.example.com: write fence: standing down (already stopping)
2026/11/26 10:30:10 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:30:10 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:aaea4f9abdd21b7dc769a69a4964cd37a788ffa353131c82c07a55ec2302e010) in 16ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:30:10 activator: shop.example.com hibernated
2026/11/26 10:30:11 lease: shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/26 10:30:11 activator: shop.example.com: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/26 10:30:11 activator: shop.example.com: started carlos-instance@shop.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 12ms, control socket 0s, key gate 0s, logs 0s) 12ms, launch file 1ms, gate 0s, root start 4ms)
2026/11/26 10:30:11 activator: shop.example.com: carlos-instance@shop.example.com.service launched in 17ms, healthy 1ms later
2026/11/26 10:30:11 activator: shop.example.com: woke in 89ms: checks 0s, lease 5ms, restore 1ms, identity 0s, protect 0s, spawn 18ms, replicate 64ms
2026/11/26 10:30:11 activator: shop.example.com: write fence: standing down (stopping)
2026/11/26 10:30:11 activator: next-due probe shop.example.com: decode /api/next-due: EOF — recording none (it sleeps until a request)
2026/11/26 10:30:11 activator: shop.example.com: released with a marker (clean true, txid 1, files 3:d70965c6337bca59aeabb40f1af91ac786ccc36ec4bba5367fdc9b5b87b52c4b) in 16ms: files 7ms, sync 3ms, record 4ms, marker 1ms
2026/11/26 10:30:11 activator: shop.example.com hibernated
  shop.example.com: updated  -> v1 (canary/test)
2026/11/26 10:30:13 activator: shop.example.com: always-on rootfs instance is not running; starting it
2026/11/26 10:30:13 activator: shop.example.com: escrow is off: this box has no files store; the host launches and mints as before, and nothing of it is published
2026/11/26 10:30:13 activator: h.example.com: started carlos-instance@h.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 1ms, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 1ms, gate 0s, root start 0s)
2026/11/26 10:30:13 activator: h.example.com: started carlos-instance@h.example.com.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 1ms, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 1ms, gate 0s, root start 0s)
2026/11/26 10:30:13 activator: h.example.com: carlos-instance@h.example.com.service launched in 2ms, healthy 1ms later
2026/11/26 10:30:13 activator: h.example.com: carlos-instance@h.example.com.service launched in 2ms, healthy 1ms later
2026/11/26 10:30:13 activator: squatted.example.com: child exited during the health wait (external process serving its socket?) — not normalizing the socket mode
2026/11/26 10:30:26 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:26 activator: singleflight.example.com: wake failed: restore singleflight.example.com: s3 down
2026/11/26 10:30:27 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: swap.example.com: v1 not started: its build state could not be written: bucket: 503
2026/11/26 10:30:27 activator: ledgerpay.bde.oncarlos.com: wake failed: start ledgerpay.bde.oncarlos.com: listen unix /data/exec/h/inst.sock: bind: address already in use
2026/11/26 10:30:27 activator: pending-f6.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:27 activator: restore-fail.example.com: wake failed: restore restore-fail.example.com: s3 down
2026/11/26 10:30:27 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: f6.example.com: failed wake's generation 4 had no cgroup of its own, and its host cgroup is not proven empty: carlos-exec@<host> still holds a process
2026/11/26 10:30:27 activator: always-on sidecar bot.x.internal hit its max_run of 30s — recycling its child
2026/11/26 10:30:27 activator: worker bot.x.internal respawned (hit its max_run), now running v1
2026/11/26 10:30:27 activator: one.example.com: generation 237 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:30:27 activator: one.example.com: woke in 1ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:27 activator: one.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: one.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: one.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: h.example.com: start of carlos-instance-gen@h.example.com:244.service failed, it may have begun: carlos-instance-gen@h.example.com:244.service exited before it was observed; killing it
2026/11/26 10:30:27 activator: one.example.com: wake failed: start one.example.com: h.example.com: start unit: carlos-instance-gen@h.example.com:244.service exited before it was observed
2026/11/26 10:30:27 activator: pending-f6.example.com idle 2m0s — hibernating
2026/11/26 10:30:27 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: sidecar staged for awake swap.example.com — adopting
2026/11/26 10:30:27 activator: sidecar for swap.example.com was down — restarted (backoff now 2s)
2026/11/26 10:30:27 activator: one.example.com: generation 246 of v2: record 0s, start 19ms, healthy 0s later
2026/11/26 10:30:27 activator: one.example.com: woke in 20ms: checks 1ms, lease 0s, restore 0s, identity 0s, protect 0s, spawn 20ms, replicate 0s
2026/11/26 10:30:27 activator: stop pending-f6.example.com: activator: stop unproven; processes remain; keeping the lease until termination is proven
2026/11/26 10:30:27 activator: swap.example.com: the sidecar's leader exited but its cgroup is not proven empty: role-sidecar: still populated
2026/11/26 10:30:27 activator: SIDECAR for swap.example.com is not proven gone for its replacement; tracking it (the sweep re-proves it)
2026/11/26 10:30:27 activator: swap.example.com hibernated
2026/11/26 10:30:27 activator: swap.example.com: hold's pinned wake refused or abandoned: start swap.example.com: swap: lease lost: lease renewal failed
2026/11/26 10:30:27 activator: faroff.bab.oncarlos.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: h.example.com: unit restarted outside the activator (invocation someone-else, ours inv7); stopping it
2026/11/26 10:30:27 activator: exited-flat.example.com: failed wake's generation 250 had no cgroup of its own, and its host cgroup is not proven empty: carlos-exec@<host> still holds a process
2026/11/26 10:30:27 activator: exited-flat.example.com: failed wake's generation 250 is not proven stopped; keeping the lease until it is
2026/11/26 10:30:27 activator: exited-flat.example.com: wake failed: start exited-flat.example.com: health: no answer within 30s
2026/11/26 10:30:27 activator: always-on sidecar bot.x.internal hit its max_run of 30s — recycling its child
2026/11/26 10:30:27 activator: worker bot.x.internal respawned (hit its max_run), now running v1
2026/11/26 10:30:27 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: one.example.com hibernated
2026/11/26 10:30:27 activator: empty.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:27 activator: sidecar staged for awake swap.example.com — adopting
2026/11/26 10:30:27 activator: sidecar for swap.example.com was down — restarted (backoff now 2s)
2026/11/26 10:30:27 activator: odd.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:27 activator: worker bot.x.internal serving v1 but live symlink is now v2 — respawning onto the new build
2026/11/26 10:30:27 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: swap.example.com: run run_a on retired generation 1099511627776 is not proven stopped: instance control: 502 mid-roll; the sweep tries again
2026/11/26 10:30:27 activator: stop pending-f6.example.com: its host cgroup is not proven empty: the host cgroup still holds a process
2026/11/26 10:30:27 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:27 activator: swap.example.com: the sidecar's leader exited but its cgroup is not proven empty: role-sidecar: still populated
2026/11/26 10:30:27 activator: SIDECAR restart for swap.example.com failed: a legacy sidecar of this host is not proven gone (next attempt in 4s)
2026/11/26 10:30:27 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: stop swap.example.com: not every process of the entry is proven gone; keeping the lease until it is
2026/11/26 10:30:27 activator: one.example.com serving v1 but live symlink is now v2 — cycling onto the new build
2026/11/26 10:30:27 activator: always-on sidecar bot.x.internal hit its max_run of 30s — recycling its child
2026/11/26 10:30:27 activator: worker bot.x.internal respawned (hit its max_run), now running v1
2026/11/26 10:30:27 activator: one.example.com: live/one.example.com names v2, which this box will not start (a failure record holds this build: v2), so it does not move onto it: it keeps running v1
2026/11/26 10:30:27 activator: faroff.bab.oncarlos.com idle 16m0s — hibernating
2026/11/26 10:30:27 activator: one.example.com hibernated
2026/11/26 10:30:27 activator: faroff.bab.oncarlos.com hibernated
2026/11/26 10:30:27 activator: sidecar staged for awake swap.example.com — adopting
2026/11/26 10:30:27 activator: sidecar for swap.example.com was down — restarted (backoff now 2s)
2026/11/26 10:30:27 activator: swap.example.com: the sidecar's leader exited but its cgroup is not proven empty: role-sidecar: still populated
2026/11/26 10:30:27 activator: SIDECAR restart for swap.example.com failed: a legacy sidecar of this host is not proven gone (next attempt in 4s)
2026/11/26 10:30:27 activator: worker bot.x.internal NOT respawned (converging onto a new build): swap: instance not awake; abandoning it
2026/11/26 10:30:27 activator: pending-f6.example.com hibernated
2026/11/26 10:30:27 activator: swap.example.com: size xlarge not applied live: instance control: size refused before any write: instance control /size: 503: refused; it takes effect at the next start
2026/11/26 10:30:27 activator: always-on sidecar bot.x.internal hit its max_run of 30s — recycling its child
2026/11/26 10:30:27 activator: worker bot.x.internal hit its max_run; it serves v1 but live/bot.x.internal has named v2 for at least 1m30s, so it converges onto the new build instead of recycling
2026/11/26 10:30:27 activator: worker bot.x.internal respawned (converging onto a new build), now running v2
2026/11/26 10:30:27 activator: swap.example.com: the sidecar's leader exited but its cgroup is not proven empty: role-sidecar: still populated
2026/11/26 10:30:27 activator: sidecar for swap.example.com was down — restarted (backoff now 8s)
2026/11/26 10:30:27 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:27 activator: always-on sidecar bot.x.internal hit its max_run of 30s — recycling its child
2026/11/26 10:30:27 activator: worker bot.x.internal respawned (hit its max_run), now running v2
2026/11/26 10:30:28 activator: swap.example.com: the sidecar's leader exited but its cgroup is not proven empty: role-sidecar: still populated
2026/11/26 10:30:28 activator: one.example.com serving v1 but live symlink is now v3 — cycling onto the new build
2026/11/26 10:30:28 activator: bot.x.internal hibernated
2026/11/26 10:30:28 activator: one.example.com hibernated
2026/11/26 10:30:28 activator: swap.example.com idle 2h5m0s — hibernating
2026/11/26 10:30:28 activator: swap.example.com hibernated
2026/11/26 10:30:28 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:28 activator: swap.example.com hibernated
2026/11/26 10:30:30 activator: due.example.com has a scheduled delivery due — waking it
2026/11/26 10:30:30 activator: due.x.internal has a scheduled delivery due — waking it
2026/11/26 10:30:30 activator: always-on sidecar bot.x.internal is not running — starting it
2026/11/26 10:30:30 activator: due.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:30 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:30 activator: due.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:34 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:34 activator: swap.example.com hibernated
2026/11/26 10:30:34 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:34 activator: ledgerpay.bde.oncarlos.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:34 activator: start-fail.example.com: wake failed: start start-fail.example.com: never healthy
2026/11/26 10:30:34 activator: exited-foreign.example.com: failed wake's generation 266 had no cgroup of its own, and its host cgroup is not proven empty: carlos-exec@<host> still holds a process
2026/11/26 10:30:34 activator: exited-foreign.example.com: failed wake's generation 266 is not proven stopped; keeping the lease until it is
2026/11/26 10:30:34 activator: exited-foreign.example.com: wake failed: start exited-foreign.example.com: health: no answer within 30s
2026/11/26 10:30:34 activator: unproven.example.com: generation 267's child is not proven empty: the generation's child still holds a process
2026/11/26 10:30:34 activator: unproven.example.com: failed wake's generation 267 is not proven stopped; keeping the lease until it is
2026/11/26 10:30:34 activator: unproven.example.com: wake failed and its generation is not proven stopped: start unproven.example.com: start unit: the unit exited before it was observed; activator: generation start failed and its termination is unproven: kill timed out
2026/11/26 10:30:34 activator: one.example.com: v2 not started: its build state could not be written: bucket refused the build state
2026/11/26 10:30:34 activator: one.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:34 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:34 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
2026/11/26 10:30:34 activator: worker bot.x.internal reported idle but is always-on (hibernate:false) — ignoring
2026/11/26 10:30:34 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:34 activator: one.example.com hibernated
2026/11/26 10:30:34 activator: swap.example.com hibernated
2026/11/26 10:30:34 activator: swap.example.com: hold's pinned wake refused or abandoned: start swap.example.com: swap: superseded by a newer attempt
2026/11/26 10:30:35 activator: h.example.com: start of carlos-instance-gen@h.example.com:273.service failed, it may have begun: the unit failed to start; killing it
2026/11/26 10:30:35 activator: one.example.com: wake failed: start one.example.com: h.example.com: start unit: the unit failed to start
2026/11/26 10:30:35 activator: unproven.example.com: generation 267's child is not proven empty: the generation's child still holds a process
2026/11/26 10:30:35 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:35 activator: swap.example.com hibernated
2026/11/26 10:30:35 activator: swap.example.com: hold's pinned wake refused or abandoned: start swap.example.com: swap: lease lost: lease renewal failed
2026/11/26 10:30:35 activator: unproven.example.com: failed wake's generation 267 is proven stopped; lease given back
2026/11/26 10:30:35 activator: unproven.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:35 activator: unproven.example.com hibernated
2026/11/26 10:30:35 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:35 activator: swap.example.com: run run_a on retired generation 1099511627776 is not proven stopped: instance control: 502 mid-roll; the sweep tries again
2026/11/26 10:30:35 activator: bot.x.internal: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, settle 0s, replicate 0s
--- FAIL: TestARetiredRunsFailedStopIsSettledBySweeps (21.98s)
    --- FAIL: TestARetiredRunsFailedStopIsSettledBySweeps/attached (14.35s)
        testing.go:1464: TempDir RemoveAll cleanup: unlinkat /tmp/TestARetiredRunsFailedStopIsSettledBySweepsattached3653705481/005/zdd: directory not empty
2026/11/26 10:30:35 activator: bot.x.internal: live/bot.x.internal names v2, which this box will not start (a failure record holds this build: v2), so it does not move onto it: it keeps running v1
2026/11/26 10:30:35 activator: shop.example.com: seed placement not recorded yet: record unreachable
2026/11/26 10:30:35 activator: shop.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:38 activator: f6.example.com: failed wake's generation 0 had no cgroup of its own, and its host cgroup is not proven empty: carlos-exec@<host> still holds a process
2026/11/26 10:30:38 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:38 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:38 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:38 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:39 activator: swap.example.com hibernated
2026/11/26 10:30:39 activator: swap.example.com: hold's pinned wake refused or abandoned: start swap.example.com: swap: the backend ran a different generation from the hold's choice: generation 286 of v9 from "/tmp/TestSwapHoldWakeEventsCarryNoSwapTexta_mismatched_spawns_text_1224902386/004/versions/v2/app"; the hold chose v2 from "/tmp/TestSwapHoldWakeEventsCarryNoSwapTexta_mismatched_spawns_text_1224902386/004/versions/v2/app"
2026/11/26 10:30:39 activator: swap.example.com: wake failed: start swap.example.com: swap: the backend ran a different generation from the hold's choice: generation 286 of v9 from "/tmp/TestSwapHoldWakeEventsCarryNoSwapTexta_mismatched_spawns_text_1224902386/004/versions/v2/app"; the hold chose v2 from "/tmp/TestSwapHoldWakeEventsCarryNoSwapTexta_mismatched_spawns_text_1224902386/004/versions/v2/app"
2026/11/26 10:30:39 activator: h.example.com: start of carlos-instance-gen@h.example.com:287.service failed, it may have begun: carlos-instance-gen@h.example.com:287.service exited before it was observed; killing it
2026/11/26 10:30:39 activator: h.example.com: started carlos-instance-gen@h.example.com:288.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 1ms, gate 0s, root start 0s)
2026/11/26 10:30:39 activator: one.example.com: generation 288 of v1: record 0s, start 2ms, healthy 0s later
2026/11/26 10:30:39 activator: one.example.com: woke in 4ms: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 4ms, replicate 0s
2026/11/26 10:30:39 activator: exited-nested.example.com: wake failed: start exited-nested.example.com: health: no answer within 30s
2026/11/26 10:30:39 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:39 activator: swap.example.com hibernated
2026/11/26 10:30:39 activator: swap.example.com: hold's pinned wake refused or abandoned: start swap.example.com: swap: a stop-evidence operation holds the host
2026/11/26 10:30:39 activator: one.example.com hibernated
2026/11/26 10:30:39 activator: unproven.example.com: generation 292's child is not proven empty: the generation's child still holds a process
2026/11/26 10:30:39 activator: unproven.example.com: failed wake's generation 292 is not proven stopped; keeping the lease until it is
2026/11/26 10:30:39 activator: unproven.example.com: wake failed and its generation is not proven stopped: start unproven.example.com: h: start unit: instance control: generation termination unproven: the unit exited before it was observed
2026/11/26 10:30:39 activator: unproven.example.com: generation 292's child is not proven empty: the generation's child still holds a process
2026/11/26 10:30:39 activator: unproven.example.com: failed wake's generation 292 is proven stopped; lease given back
2026/11/26 10:30:39 activator: unproven.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:39 activator: unproven.example.com hibernated
2026/11/26 10:30:41 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:41 activator: swap.example.com hibernated
2026/11/26 10:30:41 activator: swap.example.com: hold's pinned wake refused or abandoned: start swap.example.com: h.example.com: cgroup: the host's parent cgroup holds a process directly: holds 1 process(es)
2026/11/26 10:30:41 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:41 activator: swap.example.com hibernated
2026/11/26 10:30:41 activator: swap.example.com: wake failed: start swap.example.com: unhealthy: HTTP 500
2026/11/26 10:30:41 activator: exited-unit-backed.example.com: wake failed: start exited-unit-backed.example.com: health: no answer within 30s
2026/11/26 10:30:41 activator: h.example.com: start of carlos-instance-gen@h.example.com:299.service failed, it may have begun: carlos-instance-gen@h.example.com:299.service exited before it was observed; killing it
2026/11/26 10:30:41 activator: h.example.com: kill carlos-instance-gen@h.example.com:299.service after a failed start: stop timed out
2026/11/26 10:30:41 activator: one.example.com: wake failed and its generation is not proven stopped: start one.example.com: h.example.com: start unit: carlos-instance-gen@h.example.com:299.service exited before it was observed; activator: generation start failed and its termination is unproven: stop timed out
2026/11/26 10:30:41 activator: unproven.example.com: failed wake's generation 300 is not proven stopped; keeping the lease until it is
2026/11/26 10:30:41 activator: unproven.example.com: wake failed: start unproven.example.com: health: no answer within 30s
2026/11/26 10:30:41 activator: unproven.example.com: retry stop of failed wake's generation 300: cgroup.kill: the child is not empty
2026/11/26 10:30:41 activator: unproven.example.com: generation 300's child is not proven empty: the generation's child still holds a process
2026/11/26 10:30:41 activator: unproven.example.com: failed wake's generation 300 is proven stopped; lease given back
2026/11/26 10:30:41 activator: unproven.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:41 activator: unproven.example.com hibernated
2026/11/26 10:30:43 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:43 activator: h.example.com: start of carlos-instance-gen@h.example.com:304.service failed, it may have begun: the unit failed to start; killing it
2026/11/26 10:30:43 activator: one.example.com: wake failed: start one.example.com: h.example.com: start unit: the unit failed to start
2026/11/26 10:30:43 activator: unproven.example.com: generation 305's child is not proven empty: the generation's child still holds a process
2026/11/26 10:30:43 activator: unproven.example.com: failed wake's generation 305 is not proven stopped; keeping the lease until it is
2026/11/26 10:30:43 activator: unproven.example.com: wake failed and its generation is not proven stopped: start unproven.example.com: start unit: the unit exited before it was observed; activator: generation start failed and its termination is unproven: kill timed out
2026/11/26 10:30:43 activator: unproven.example.com: generation 305's child is not proven empty: the generation's child still holds a process
2026/11/26 10:30:43 activator: unproven.example.com: failed wake's generation 305 is proven stopped; lease given back
2026/11/26 10:30:43 activator: unproven.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:43 activator: unproven.example.com hibernated
2026/11/26 10:30:44 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:44 activator: swap.example.com hibernated
2026/11/26 10:30:44 activator: swap.example.com: hold's pinned wake refused or abandoned: start swap.example.com: cgroup: a cgroup that took cgroup.kill could not be made fresh before a spawn: carlos-exec@h.example.com: device or resource busy
2026/11/26 10:30:45 activator: f6.example.com: failed wake's generation 4 ran with no delegated cgroup; its leader's exit is the only proof there is
2026/11/26 10:30:45 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:46 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:46 activator: swap.example.com hibernated
2026/11/26 10:30:46 activator: swap.example.com: hold's pinned wake refused or abandoned: start swap.example.com: cgroup: a generation's limits could not be applied: h.example.com: the placement shim is not available
2026/11/26 10:30:47 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:47 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:48 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:48 activator: swap.example.com hibernated
2026/11/26 10:30:48 activator: swap.example.com: hold's pinned wake refused or abandoned: start swap.example.com: swap: superseded by a newer attempt
2026/11/26 10:30:49 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:49 activator: swap.example.com hibernated
2026/11/26 10:30:49 activator: swap.example.com: generation 319 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:30:49 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:50 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:50 activator: swap.example.com hibernated
2026/11/26 10:30:50 activator: swap.example.com: wake failed: start swap.example.com: unhealthy: HTTP 500
2026/11/26 10:30:51 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
2026/11/26 10:30:51 activator: swap.example.com hibernated
2026/11/26 10:30:51 activator: swap.example.com: generation 323 of v2: record 0s, start 0s, healthy 0s later
2026/11/26 10:30:51 activator: swap.example.com: woke in 0s: checks 0s, lease 0s, restore 0s, identity 0s, protect 0s, spawn 0s, replicate 0s
FAIL
FAIL	github.com/carlosframework/platform/internal/activator	419.074s
FAIL
=== internal_activator@4 (278 s, from +116 s)
ok  	github.com/carlosframework/platform/internal/activator	276.498s
=== internal_activator@5 (315 s, from +116 s)
ok  	github.com/carlosframework/platform/internal/activator	313.441s
=== internal_activator@6 (323 s, from +116 s)
ok  	github.com/carlosframework/platform/internal/activator	321.067s
=== internal_activator@7 (416 s, from +116 s)
ok  	github.com/carlosframework/platform/internal/activator	413.698s
=== internal_edge@0 (85 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	81.909s
=== internal_edge@1 (140 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	135.934s
=== internal_edge@2 (222 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	218.107s
=== internal_edge@3 (129 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	125.541s
=== internal_edge@4 (144 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	140.416s
=== internal_edge@5 (231 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	227.098s
=== internal_edge@6 (208 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	204.155s
=== internal_edge@7 (279 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	275.676s
=== internal_edge@8 (233 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	229.544s
=== internal_edge@9 (269 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	265.752s
=== internal_edge@10 (224 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	220.116s
=== internal_edge@11 (220 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	216.039s
=== internal_edge@12 (263 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	259.854s
=== internal_edge@13 (251 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	247.690s
=== internal_edge@14 (197 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	193.789s
=== internal_edge@15 (241 s, from +139 s)
ok  	github.com/carlosframework/platform/internal/edge	237.362s
=== internal_host@0 (8 s, from +202 s)
ok  	github.com/carlosframework/platform/internal/host	4.633s
=== internal_host@1 (17 s, from +202 s)
ok  	github.com/carlosframework/platform/internal/host	13.274s
=== lists: internal_edge 138 s, internal_activator 116 s, internal_host 201 s, internal_rootaws 35 s, internal_systemd 14 s
=== cpu: the gate used 7769 cpu-seconds in 537 s, about 14.5 of 32 cores; the machine as a whole was 45% busy

Failure summary:
--- internal_activator@3
--- FAIL: TestARetiredRunsFailedStopIsSettledBySweeps (21.98s)
    --- FAIL: TestARetiredRunsFailedStopIsSettledBySweeps/attached (14.35s)
FAIL	github.com/carlosframework/platform/internal/activator	419.074s

FAILED: internal_activator@3
make: *** [Makefile:154: race] Error 1

amadan: step race failed: exit status 2

amadan: job failed at step race — its output is above, not at the tail of this log
diff --git a/docs/superpowers/plans/2026-11-25-dpa-acceptance-copy.md b/docs/superpowers/plans/2026-11-25-dpa-acceptance-copy.md
index 0c8eaf3bd..be0549ced 100644
--- a/docs/superpowers/plans/2026-11-25-dpa-acceptance-copy.md
+++ b/docs/superpowers/plans/2026-11-25-dpa-acceptance-copy.md
@@ -5,7 +5,7 @@ Every new user-facing string of the DPA acceptance plan
`internal/console/approved_dpa_copy_test.go`
(`TestDPACopyDeckIsApprovedAndApplied`).
-Approved 2026-11-25 by Paul in copy review (copy-review skill), all 94 rows unchanged from the draft. Rows DPA-C95 to DPA-C97 (the docs page heading and its menu entry) were approved unedited in a second review the same day. The text below is the approved text, verbatim. The screens were reviewed as a mockup built from the console mockup kit in the same review.
+Approved 2026-11-25 by Paul in copy review (copy-review skill), all 94 rows unchanged from the draft. Rows DPA-C95 to DPA-C97 (the docs page heading and its menu entry) were approved unedited in a second review the same day. Row DPA-C98 (the rate-limit sentence) was approved unedited on 2026-11-25, and row DPA-C99 (the letterhead form's remove-logo checkbox) on 2026-11-26, each in its own review. The text below is the approved text, verbatim. The screens were reviewed as a mockup built from the console mockup kit in the same review.
The rules are the burst deck's (`2026-10-31-probe-burst-limit-copy.md`):
one table, `| id | where | old | new | checked by | status |`; `where` is a
@@ -114,3 +114,4 @@ found literally by the gate once their id is in `dpaCopyBuilt`.
| DPA-C96 | docs/site/nav.json (menu label) [docs.dpa.nav_label] | (new) | Data processing agreement | gate | approved |
| DPA-C97 | docs/site/nav.json (menu description) [docs.dpa.nav_blurb] | (new) | Accept the agreement that covers personal data in your apps, and keep a record of it. | gate | approved |
| DPA-C98 | internal/console/dpapane.go (rate limit) [dpa.ratelimit] | (new) | Too many requests. Wait a minute and try again. | gate | approved |
+| DPA-C99 | internal/console/templates/ops_legal.html (letterhead form) [opl.letterhead.remove_logo] | (new) | Remove the logo | gate | approved |
diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-dpa-followups-R2.md b/docs/superpowers/reviews/CODEX-FINDINGS-dpa-followups-R2.md
new file mode 100644
index 000000000..dfef8155f
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-FINDINGS-dpa-followups-R2.md
@@ -0,0 +1,20 @@
+**P2-1: partly resolved.** Reviewed `b905638b..1a54f5d1`. The shared encoding matches the stash, and account deletion now checks size before retirement mutations.
+
+**P2 — The early check still follows caller-side mutations.** The check at [stepup.go:302](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/dpa-followups/internal/console/stepup.go:302) remains too late for these callers:
+
+- **Fast-track updates:** `updatesFormGate` consumes a write-limit token at [browserupdates.go:260](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/dpa-followups/internal/console/browserupdates.go:260), before `requireFreshAuth`. An owner without fresh proof can submit valid fields plus padding exceeding 1 MiB, receive the oversized-form refusal, and still lose write capacity. Repeated refusals exhaust the shared budget.
+- **Pipeline settings:** `handlePipelineSettingsSave` calls `appPage` before reaching the gate. That calls `ensureAccountManifest`, which can write a missing account manifest at [server.go:5223](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/dpa-followups/internal/console/server.go:5223). An oversized settings submission can therefore change storage before refusal.
+
+**Required correction:** Ensure the encoded-size refusal precedes these mutations while preserving authorization and CSRF ordering. Cover unchanged write-budget capacity and absent-manifest storage with targeted regression tests.
+
+**Fault family:** Oversize refusal must precede side effects—the same invariant as round 1.
+
+`git diff --check` passed. Targeted tests could not start because the sandbox refused Go’s build-directory creation. No files changed; no full suites run.
+
+**NOT READY**
+---
+
+**Paul's ruling, 2026-11-26 (stopping rule 2: same fault family twice):** accept as is. The
+invariant is "an oversized form is never stashed and no action is applied". The rate-limit
+token spent by fast-track updates and the idempotent account-manifest write in pipeline
+settings are not actions. The billing checkout case (round 1) is fixed.
diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-dpa-followups.md b/docs/superpowers/reviews/CODEX-FINDINGS-dpa-followups.md
new file mode 100644
index 000000000..fa073f9be
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-FINDINGS-dpa-followups.md
@@ -0,0 +1,15 @@
+Reviewed `95539056..35d50b5f3aad81cd627480f1405e09003675d93a`. Two P2 findings; no P1 found.
+
+1. **P2 — Oversize refusal can follow billing mutations.** [stepup.go:203](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/dpa-followups/internal/console/stepup.go:203)
+ With billing enabled, an owner without fresh authentication submits account deletion with valid confirmation and padding over 1 MiB. `retireForDeletion` runs `retireGateLocked` before reaching this check; that gate can expire an open checkout. Stashing then fails with 500. Cleanup clears the retirement flag but cannot undo checkout expiry, violating the brief’s “nothing applied” requirement.
+ **Fix:** Check the encoded form size before retirement’s mutations, retaining the storage-level guard. Add a targeted test asserting that an oversized deletion leaves the checkout unchanged, with no pending action or retirement mark.
+ **Fault family:** Oversize refusal must precede side effects.
+
+2. **P2 — Unreviewed copy is recorded as approved.** [2026-11-25-dpa-acceptance-copy.md:117](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/dpa-followups/docs/superpowers/plans/2026-11-25-dpa-acceptance-copy.md:117)
+ DPA-C99 has status `approved`, although the deck introduction and implementer’s report explicitly say Paul has not reviewed it. Consequently, the approval gate passes unreviewed UI copy, contrary to the acceptance plan.
+ **Fix:** Complete Paul’s copy review, apply his text verbatim, and record actual approval. Until then, keep the row pending and the gate failing.
+ **Fault family:** Approval records must reflect completed review.
+
+Targeted tests could not start because Go attempted to update `go.mod` in this read-only session. `git diff --check` passed. No files were changed.
+
+**READY AFTER FIXES**
\ No newline at end of file
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-dpa-followups-R2.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-dpa-followups-R2.md
new file mode 100644
index 000000000..69fc0f280
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-dpa-followups-R2.md
@@ -0,0 +1,15 @@
+# Review brief: DPA follow-ups, round 2 (scoped to one P2 fix)
+
+Repo carlos/platform, branch `dpa-followups`. Under review: commit 1a54f5d1 only
+(`b905638b..1a54f5d1`). Round 1: `docs/superpowers/reviews/CODEX-FINDINGS-dpa-followups.md`
+(READY AFTER FIXES: P2-1 oversize refusal after billing mutations; P2-2 copy approval,
+handled outside the code).
+
+Verdict P2-1: resolved, partly or not. The fixer moved the encoded-size check to the start
+of the step-up gate and, for account deletion with billing on, before the retirement mark;
+the stash keeps its own check as a backstop. Its report lists every step-up caller it
+checked (`.superpowers/followups-report.md`). Check: the size is measured on the same
+encoding the stash uses, so nothing passes the early check and fails the backstop; no
+caller mutates before the early check; the early refusal writes nothing (no pending action,
+no audit row claiming an action, no rate-limit or lock left held). Report only problems in
+this commit. End with READY or NOT READY. Do not edit files or run full suites.
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-dpa-followups.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-dpa-followups.md
new file mode 100644
index 000000000..546082c2b
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-dpa-followups.md
@@ -0,0 +1,30 @@
+# Review brief: DPA follow-ups branch, round 1 of 3
+
+Repo carlos/platform, branch `dpa-followups`, commit 35d50b5f3aad81cd627480f1405e09003675d93a.
+Under review: the diff `95539056..35d50b5f3aad81cd627480f1405e09003675d93a` (six commits). The implementer's report:
+`.superpowers/followups-report.md` in the worktree.
+Authorities: spec `docs/superpowers/specs/2026-11-25-dpa-and-retention-design.md` §3 and
+the DPA acceptance plan, both on main; AGENTS.md.
+
+The six follow-ups from the slice 1 reviews:
+1. fetch errors: context.Canceled gets "cancelled"; the unreachable "invalid url" branch removed (the request is now built from the parsed URL).
+2. letterhead logo can be removed (checkbox, deck row DPA-C99, pending Paul's copy approval); upload plus tick refused; replay keeps the tick.
+3. a 1 MiB cap on the step-up stash (shared security code in stepup.go).
+4. svgFuncsOK drops at most one opening quote before requiring '#'.
+5. U+2028/U+2029 dropped in single-line fields.
+6. a test for dpaShortDigest's short-input guard.
+
+Check especially: (3) every existing caller of the stash still fits under the cap, and an
+oversize form is refused with nothing applied and nothing half-written; (1) building the
+request by hand keeps every guarantee the guarded client gave (https only, dial-time refusal,
+no redirects, limits, no URL in errors); (2) the remove path through step-up replay, and that
+earlier acceptances keep their letterhead; (4) no previously refused bypass is reopened.
+
+## Severity
+- **P1**: unsafe, would not compile, a test fails, or it would not work. Blocks merge.
+- **P2**: wrong or missing. Fixed without reopening this review.
+- **P3**: clarity or polish. Follow-up list only.
+
+Findings ranked, each with file:line, failure scenario, fix and fault family. End with
+READY, READY AFTER FIXES or NOT READY. Do not edit files, spawn reviewers or run full
+suites (targeted `go test ./internal/console -run '<name>' -count=1` is fine).
diff --git a/internal/console/approved_dpa_copy_test.go b/internal/console/approved_dpa_copy_test.go
index 5cfdda0a4..d344df91d 100644
--- a/internal/console/approved_dpa_copy_test.go
+++ b/internal/console/approved_dpa_copy_test.go
@@ -37,6 +37,8 @@ var dpaCopyBuilt = map[string]bool{
// The shared rate-limit refusal (dpa.ratelimit): the accept POST and
// both /fleet/legal POSTs.
"DPA-C98": true,
+ // DPA follow-ups: the letterhead form's remove-logo box.
+ "DPA-C99": true,
// Task 5: the account settings pane and its email (dpa.pane.*, dpa.form.*,
// dpa.flash.*, dpa.email.*).
"DPA-C01": true, "DPA-C02": true, "DPA-C03": true, "DPA-C04": true, "DPA-C05": true,
diff --git a/internal/console/billingretire.go b/internal/console/billingretire.go
index ce5d86159..d5fd4b0dd 100644
--- a/internal/console/billingretire.go
+++ b/internal/console/billingretire.go
@@ -224,6 +224,12 @@ func (s *Server) retireForDeletion(w http.ResponseWriter, r *http.Request, addr,
}
ctx := s.billingClock(r.Context())
fresh := s.store.FreshStepUp(raw, addr, time.Now(), StepUpWindow)
+ // Without a fresh proof this request is parked for a step-up after the
+ // retirement gate below, which can expire an open checkout. A form too
+ // large to park is refused first, so that refusal changes nothing.
+ if !fresh && !s.pendingFormFits(w, r) {
+ return nil, false
+ }
now := time.Now()
h, release, err := s.holdBilling(acct)
if err != nil {
diff --git a/internal/console/billingretire_test.go b/internal/console/billingretire_test.go
index 78f1da290..c52b3bc05 100644
--- a/internal/console/billingretire_test.go
+++ b/internal/console/billingretire_test.go
@@ -562,3 +562,34 @@ func TestReplayWithExpiredProofNeedsRetirement(t *testing.T) {
t.Fatalf("%d pending actions parked by a refused replay", stashed)
}
}
+
+// An account deletion whose form is too large to park for the step-up is
+// refused before the retirement gate runs: the open checkout is not expired,
+// nothing is parked and the account is not marked retiring.
+func TestDeleteOversizeFormRefusedBeforeRetirement(t *testing.T) {
+ o := newCheckoutFixture(t, true)
+ o.deletable(t)
+ wantSession(t, o.checkout(t, "plan", "personal", "currency", "usd"))
+ old := o.intent(t)
+ before := o.session(old.Session).State
+ o.reset()
+ status, loc, body := postForm(t, o.owner, o.ts.URL+"/a/"+o.acct.Sqid+"/delete", url.Values{"csrf": {o.csrf},
+ "confirm": {o.acct.Name}, "pad": {strings.Repeat("a", pendingFormMax)}})
+ if status != http.StatusInternalServerError || strings.HasPrefix(loc, o.fk.srv.URL) ||
+ !strings.Contains(html.UnescapeString(body), stepUpHoldFailed) {
+ t.Fatalf("oversize delete = %d %q, want the stash-failed refusal\n%s", status, loc, body)
+ }
+ if ci := o.intent(t); ci.ID != old.ID || ci.State != intentOpen || ci.ExpirePrepared != nil {
+ t.Fatalf("intent = %+v, want the open checkout untouched", ci)
+ }
+ if got := o.session(old.Session).State; got != before {
+ t.Fatalf("checkout session %v, was %v", got, before)
+ }
+ wantCounts(t, o.counts(), map[string]int{})
+ var stashed int
+ o.st.db.QueryRow(`SELECT COUNT(*) FROM pending_actions`).Scan(&stashed)
+ if stashed != 0 {
+ t.Fatalf("%d pending actions parked", stashed)
+ }
+ o.wantKept(t)
+}
diff --git a/internal/console/dpapane.go b/internal/console/dpapane.go
index 09cd74c6e..c9ed5dde6 100644
--- a/internal/console/dpapane.go
+++ b/internal/console/dpapane.go
@@ -232,14 +232,16 @@ func (s *Server) dpaPaneFor(ctx context.Context, p *page, acct *Account, role st
}
// dpaField is a form value trimmed and with control characters dropped (a
-// line break kept only when lines is set), and its error message, if any.
+// line break kept only when lines is set), and its error message, if any. A
+// single-line field also drops U+2028 and U+2029, where a renderer may break
+// the line.
func dpaField(v string, max int, lines bool) (string, string) {
v = strings.ToValidUTF8(strings.ReplaceAll(v, "\r\n", "\n"), "")
v = strings.Map(func(r rune) rune {
switch {
case r == '\n' && lines:
return r
- case unicode.IsControl(r), dpaBidiControl(r):
+ case unicode.IsControl(r), dpaBidiControl(r), !lines && (r == '\u2028' || r == '\u2029'):
return -1
}
return r
diff --git a/internal/console/dpapane_test.go b/internal/console/dpapane_test.go
index f13358590..b0f351565 100644
--- a/internal/console/dpapane_test.go
+++ b/internal/console/dpapane_test.go
@@ -705,3 +705,25 @@ func dpaCurrentLetterhead(t *testing.T, fx *consoleFixture) *Letterhead {
}
return lh
}
+
+// TestDPAFieldLineSeparators: a single-line field drops U+2028 and U+2029
+// (a renderer may break the line there) with the other control and format
+// characters; the address keeps its real line breaks.
+func TestDPAFieldLineSeparators(t *testing.T) {
+ for _, tc := range []struct {
+ in string
+ lines bool
+ want string
+ }{
+ {"Shop
Limited", false, "ShopLimited"},
+ {"Shop
Limited", false, "ShopLimited"},
+ {"Shop‮Limited\u0007", false, "ShopLimited"},
+ {"Shop\nLimited", false, "ShopLimited"},
+ {"1 Main Street\r\nDublin", true, "1 Main Street\nDublin"},
+ {"1 Main Street\n\n Dublin ", true, "1 Main Street\nDublin"},
+ } {
+ if got, msg := dpaField(tc.in, 200, tc.lines); got != tc.want || msg != "" {
+ t.Errorf("dpaField(%q, lines=%v) = %q %q, want %q", tc.in, tc.lines, got, msg, tc.want)
+ }
+ }
+}
diff --git a/internal/console/dparecord_test.go b/internal/console/dparecord_test.go
index a84f6e854..c9b50342a 100644
--- a/internal/console/dparecord_test.go
+++ b/internal/console/dparecord_test.go
@@ -130,3 +130,20 @@ func TestDPARecordNoneYet(t *testing.T) {
t.Fatalf("member without a record = %d, want the plain 404", ms)
}
}
+
+// TestDPAShortDigest: a digest longer than nine characters shows as its first
+// four, an ellipsis and its last four; a shorter one, which that would not
+// shorten, shows whole.
+func TestDPAShortDigest(t *testing.T) {
+ for in, want := range map[string]string{
+ "": "",
+ "abc": "abc",
+ "abcdefghi": "abcdefghi",
+ "abcdefghij": "abcd…ghij",
+ "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef": "0123…cdef",
+ } {
+ if got := dpaShortDigest(in); got != want {
+ t.Errorf("dpaShortDigest(%q) = %q, want %q", in, got, want)
+ }
+ }
+}
diff --git a/internal/console/legalfetch.go b/internal/console/legalfetch.go
index c4c43825d..93676870a 100644
--- a/internal/console/legalfetch.go
+++ b/internal/console/legalfetch.go
@@ -47,11 +47,9 @@ func fetchLegalText(ctx context.Context, c *http.Client, rawURL string) ([]byte,
if err != nil || u.Scheme != "https" || u.Opaque != "" || u.Host == "" {
return nil, errors.New("not https")
}
- req, err := http.NewRequestWithContext(ctx, http.MethodGet, "", nil)
- if err != nil {
- return nil, errors.New("invalid url")
- }
- req.URL = u
+ // Built from the parsed URL, so nothing is parsed twice and nothing past
+ // the check above can fail. A nil ctx panics in WithContext: a caller's bug.
+ req := (&http.Request{Method: http.MethodGet, URL: u, Header: http.Header{}}).WithContext(ctx)
resp, err := c.Do(req)
if err != nil {
return nil, legalFetchErr(err)
@@ -76,6 +74,9 @@ func legalFetchErr(err error) error {
switch {
case errors.Is(err, errRefusedAddr):
return errors.New("refused address")
+ case errors.Is(err, context.Canceled):
+ // The operator's request went away; nothing was wrong with the site.
+ return errors.New("cancelled")
case errors.Is(err, context.DeadlineExceeded), errors.As(err, &netErr) && netErr.Timeout():
return errors.New("timeout")
}
diff --git a/internal/console/legalfetch_test.go b/internal/console/legalfetch_test.go
index f4a092b4d..a3e435e97 100644
--- a/internal/console/legalfetch_test.go
+++ b/internal/console/legalfetch_test.go
@@ -4,8 +4,10 @@ import (
"context"
"crypto/tls"
"crypto/x509"
+ "errors"
"net/http"
"net/http/httptest"
+ "net/url"
"strings"
"testing"
"time"
@@ -157,3 +159,46 @@ func TestCanonicalAgreementRefuses(t *testing.T) {
}
}
}
+
+// A fetch cancelled by its caller (the operator's request went away) is its
+// own category, not a connection failure.
+func TestFetchLegalTextCancelled(t *testing.T) {
+ srv, _ := countingServer(t, func(w http.ResponseWriter, r *http.Request) { <-r.Context().Done() })
+ ctx, cancel := context.WithCancel(context.Background())
+ cancel()
+ _, err := fetchLegalText(ctx, legalTestClient(srv), srv.URL)
+ if err == nil || err.Error() != "cancelled" {
+ t.Fatalf("err = %v, want cancelled", err)
+ }
+
+ // Cancelled mid-request, once the server has the request.
+ arrived := make(chan struct{})
+ srv2, _ := countingServer(t, func(w http.ResponseWriter, r *http.Request) {
+ close(arrived)
+ <-r.Context().Done()
+ })
+ ctx2, cancel2 := context.WithCancel(context.Background())
+ defer cancel2()
+ go func() { <-arrived; cancel2() }()
+ _, err = fetchLegalText(ctx2, legalTestClient(srv2), srv2.URL)
+ if err == nil || err.Error() != "cancelled" {
+ t.Fatalf("mid-request err = %v, want cancelled", err)
+ }
+}
+
+// legalFetchErr's categories, for the errors a client returns.
+func TestFetchLegalErrCategories(t *testing.T) {
+ for _, tc := range []struct {
+ err error
+ want string
+ }{
+ {&url.Error{Op: "Get", URL: "https://x", Err: context.Canceled}, "cancelled"},
+ {&url.Error{Op: "Get", URL: "https://x", Err: context.DeadlineExceeded}, "timeout"},
+ {&url.Error{Op: "Get", URL: "https://x", Err: errRefusedAddr}, "refused address"},
+ {&url.Error{Op: "Get", URL: "https://x", Err: errors.New("connection reset")}, "connect failed"},
+ } {
+ if got := legalFetchErr(tc.err).Error(); got != tc.want {
+ t.Errorf("%v: %q, want %q", tc.err, got, tc.want)
+ }
+ }
+}
diff --git a/internal/console/oplegal.go b/internal/console/oplegal.go
index 0a23c6b2a..8374b26a4 100644
--- a/internal/console/oplegal.go
+++ b/internal/console/oplegal.go
@@ -89,6 +89,8 @@ const (
// legalLogoField carries an uploaded logo as base64 in the form, so a
// step-up's stash, which keeps only form values, replays it.
legalLogoField = "logo_data"
+ // legalRemoveLogoField is the letterhead form's remove-logo box.
+ legalRemoveLogoField = "remove_logo"
)
// Field limits, in characters.
@@ -130,9 +132,12 @@ type legalAcceptRow struct {
}
// legalLetterheadForm is the letterhead form's values: the current
-// letterhead, or what was typed when a save is refused.
+// letterhead, or what was typed when a save is refused. HasLogo is whether
+// the current letterhead has a logo, which is when the remove-logo box
+// shows; RemoveLogo is that box as posted.
type legalLetterheadForm struct {
Entity, Office, Number, VAT, Signatory, Privacy, Footer string
+ HasLogo, RemoveLogo bool
}
// legalView is the page's data (page.Legal).
@@ -243,6 +248,7 @@ func (s *Server) legalView(ctx context.Context, kind string, draft *legalDraft,
v.Letterhead = legalLetterheadForm{Entity: cur.Entity, Office: cur.RegisteredOffice, Number: cur.CompanyNumber,
VAT: cur.VATNumber, Signatory: cur.Signatory, Privacy: cur.PrivacyAddress, Footer: cur.Footer}
}
+ v.Letterhead.HasLogo = cur != nil && len(cur.Logo) > 0
return v, nil
}
@@ -535,13 +541,15 @@ func legalLetterheadDraft(r *http.Request) legalLetterheadForm {
return legalLetterheadForm{
Entity: r.PostFormValue("entity"), Office: r.PostFormValue("office"), Number: r.PostFormValue("number"),
VAT: r.PostFormValue("vat"), Signatory: r.PostFormValue("signatory"), Privacy: r.PostFormValue("privacy"),
- Footer: r.PostFormValue("footer"),
+ Footer: r.PostFormValue("footer"), RemoveLogo: r.PostFormValue(legalRemoveLogoField) != "",
}
}
// handleOpLegalLetterhead saves a new letterhead (spec §3.6), which becomes
// the current one; acceptances keep the one they were made under. With no
-// logo uploaded, the current letterhead's logo is kept.
+// logo uploaded, the current letterhead's logo is kept, unless the
+// remove-logo box is ticked: then the new row has none. A logo and the tick
+// together are refused.
func (s *Server) handleOpLegalLetterhead(w http.ResponseWriter, r *http.Request) {
addr, raw, ok := s.legalFormGate(w, r)
if !ok {
@@ -553,6 +561,13 @@ func (s *Server) handleOpLegalLetterhead(w http.ResponseWriter, r *http.Request)
if !s.legalFoldLogo(w, r, addr, raw) {
return
}
+ // Refused before the step-up, so a form that cannot save never asks for
+ // a passkey. A replay meets this check again: it carries both fields.
+ if r.PostFormValue(legalRemoveLogoField) != "" && r.PostFormValue(legalLogoField) != "" {
+ lh := legalLetterheadDraft(r)
+ s.renderLegal(w, r, addr, raw, http.StatusBadRequest, "", legalErrForm, nil, &lh)
+ return
+ }
if !s.requireFreshAuth(w, r, addr, raw) {
return
}
@@ -590,7 +605,7 @@ func (s *Server) handleOpLegalLetterhead(w http.ResponseWriter, r *http.Request)
return
}
l.Logo = b
- } else {
+ } else if !d.RemoveLogo {
cur, err := s.store.CurrentLetterhead(r.Context())
if err != nil {
log.Printf("console: letterhead: current: %v", err)
@@ -726,7 +741,7 @@ var svgFuncs = map[string]bool{
// svgFuncsOK is true when v holds no CSS comment and every function call in
// it (an identifier straight before "(", ignoring case) is in svgFuncs, with
-// each url( target, past whitespace and quotes, a fragment reference.
+// each url( target a fragment reference (svgURLTargetOK).
func svgFuncsOK(v string) bool {
v = strings.ToLower(v)
if strings.Contains(v, "/*") {
@@ -747,13 +762,24 @@ func svgFuncsOK(v string) bool {
if !svgFuncs[name] {
return false
}
- if name == "url" && !strings.HasPrefix(strings.TrimLeft(v[i+1:], " \t\r\n\f'\""), "#") {
+ if name == "url" && !svgURLTargetOK(v[i+1:]) {
return false
}
}
return true
}
+// svgURLTargetOK is true when rest, what follows "url(", is a fragment
+// reference: past whitespace and at most one opening quote, a "#". A second
+// quote is the target's first character, so "url(\"'#a\")" is not one.
+func svgURLTargetOK(rest string) bool {
+ rest = strings.TrimLeft(rest, " \t\r\n\f")
+ if rest != "" && (rest[0] == '\'' || rest[0] == '"') {
+ rest = rest[1:]
+ }
+ return strings.HasPrefix(rest, "#")
+}
+
// svgIdentByte is a byte a CSS function name may hold. Anything not ASCII
// counts too, so a name cannot hide behind a non-ASCII letter.
func svgIdentByte(c byte) bool {
diff --git a/internal/console/oplegal_test.go b/internal/console/oplegal_test.go
index 6e6843719..a87999edb 100644
--- a/internal/console/oplegal_test.go
+++ b/internal/console/oplegal_test.go
@@ -518,6 +518,11 @@ func TestOpLegalLogoCheck(t *testing.T) {
`<svg ` + ns + ` xmlns:xlink="http://www.w3.org/1999/xlink"><use xlink:href="#p"/><rect fill="url( '#g' )"/></svg>`,
`<svg ` + ns + `><g transform="translate(10 20) rotate(45)"><rect fill="rgb(1,2,3)" stroke="url(#grad)" aria-label="Shop (Ltd)"/></g></svg>`,
`<svg ` + ns + `><rect transform="matrix(1 0 0 1 0 0) scale(2) skewX(3) skewY(4)" fill="hsla(1,2%,3%,0.5)" stroke="RGBA(0,0,0,1)"/></svg>`,
+ // A url target: past whitespace, at most one opening quote, then "#".
+ `<svg ` + ns + `><rect mask="url(#a)"/></svg>`,
+ `<svg ` + ns + `><rect mask="url('#a')"/></svg>`,
+ `<svg ` + ns + `><rect mask='url("#a")'/></svg>`,
+ `<svg ` + ns + `><rect mask="url( #a)"/></svg>`,
}
for _, s := range good {
if got := letterheadLogoType([]byte(s)); got != "image/svg+xml" {
@@ -568,12 +573,25 @@ func TestOpLegalLogoCheck(t *testing.T) {
`<svg ` + ns + `><rect fill="u/**/rl(x)"/></svg>`,
`<svg ` + ns + `><rect fill="image('https://e.com/x.png')"/></svg>`,
`<svg ` + ns + `><rect fill="URL(https://e.com/x)"/></svg>`,
+ // Two quotes of different kinds before the "#": the second is the
+ // target's first character, not a fragment.
+ `<svg ` + ns + `><rect mask="url(&quot;'#a&quot;)"/></svg>`,
+ `<svg ` + ns + `><rect mask="url('&quot;#a')"/></svg>`,
}
for _, s := range bad {
if got := letterheadLogoType([]byte(s)); got != "" {
t.Errorf("accepted %q as %s", s, got)
}
}
+ // The url target rule on attribute values as the decoder hands them over.
+ for v, want := range map[string]bool{
+ `url(#a)`: true, `url('#a')`: true, `url("#a")`: true, `url( #a)`: true, `url( "#a" )`: true,
+ `url("'#a")`: false, `url('"#a')`: false, `url(''#a')`: false, `url(' #a')`: false, `url(a#b)`: false,
+ } {
+ if got := svgFuncsOK(v); got != want {
+ t.Errorf("svgFuncsOK(%q) = %v, want %v", v, got, want)
+ }
+ }
png := oplPNG(t)
if got := letterheadLogoType(png); got != "image/png" {
t.Errorf("png = %q", got)
@@ -957,3 +975,110 @@ func TestOpLegalOutOfOrderPublicationsAgree(t *testing.T) {
t.Errorf("pending = %+v, want v2, the newest", p)
}
}
+
+// TestOpLegalLetterheadRemoveLogo: the remove-logo box shows only while the
+// current letterhead has a logo; ticking it saves a new row with none, while
+// an acceptance made under the old row keeps that row's logo; an upload
+// with the tick is refused; and a step-up's replay keeps the tick.
+func TestOpLegalLetterheadRemoveLogo(t *testing.T) {
+ fx := newConsoleFixture(t)
+ c := signInOperator(t, fx)
+ oplFresh(t, fx, c)
+ box := `name="remove_logo"`
+
+ fields := oplLetterheadFields()
+ if status, _, body := oplPostLetterhead(t, fx, c, fields, nil); status != http.StatusSeeOther {
+ t.Fatalf("save = %d %s", status, body)
+ }
+ _, _, page := get(t, c, fx.ts.URL+"/fleet/legal")
+ if strings.Contains(page, box) || strings.Contains(oplText(page), oplDeck(t, "DPA-C99")) {
+ t.Fatal("the remove-logo box shows for a letterhead with no logo")
+ }
+
+ logo := oplPNG(t)
+ if status, _, body := oplPostLetterhead(t, fx, c, fields, logo); status != http.StatusSeeOther {
+ t.Fatalf("save with logo = %d %s", status, body)
+ }
+ old, _ := fx.st.CurrentLetterhead(t.Context())
+ if old == nil || !bytes.Equal(old.Logo, logo) {
+ t.Fatalf("logo not saved: %+v", old)
+ }
+ _, _, page = get(t, c, fx.ts.URL+"/fleet/legal")
+ if !strings.Contains(page, box) || !strings.Contains(oplText(page), oplDeck(t, "DPA-C99")) {
+ t.Fatalf("no remove-logo box beside a logo:\n%s", page)
+ }
+
+ // An acceptance made under the letterhead with the logo.
+ now := time.Now().UTC().Truncate(time.Second)
+ doc, err := fx.st.PublishLegalDocument(t.Context(), LegalDocument{Kind: "dpa", Version: "1", URL: "https://example.com/dpa/1/",
+ SHA256: "aa", Summary: "One", PublishedAt: now, EffectiveAt: &now, PublishedBy: "paul@keymail.dev"})
+ if err != nil {
+ t.Fatal(err)
+ }
+ acct, err := fx.st.AccountBySqid(fx.sqid)
+ if err != nil || acct == nil {
+ t.Fatalf("account %v %v", acct, err)
+ }
+ if _, err := fx.st.AcceptDPA(t.Context(), DPAAcceptance{AccountID: acct.ID, DocumentID: doc, LetterheadID: old.ID,
+ LegalName: "Customer Limited", Address: "1 Road", Country: "IE", SignerName: "Kim", SignerRole: "Director",
+ AcceptedBy: "paul@keymail.dev", AcceptedIP: "192.0.2.1", AcceptedAt: now}); err != nil {
+ t.Fatal(err)
+ }
+
+ // An upload with the tick is refused, and nothing is saved.
+ ticked := oplLetterheadFields()
+ ticked["remove_logo"] = "on"
+ status, _, body := oplPostLetterhead(t, fx, c, ticked, oplPNG(t))
+ if status != http.StatusBadRequest || !strings.Contains(oplText(body), legalErrForm) {
+ t.Fatalf("upload with the tick = %d %s", status, body)
+ }
+ if !strings.Contains(body, `name="remove_logo" value="on" checked`) {
+ t.Error("the refused form lost the tick")
+ }
+ if lh, _ := fx.st.CurrentLetterhead(t.Context()); lh.ID != old.ID {
+ t.Fatal("an upload with the tick saved a letterhead")
+ }
+
+ // The tick alone removes it.
+ if status, _, body := oplPostLetterhead(t, fx, c, ticked, nil); status != http.StatusSeeOther {
+ t.Fatalf("remove = %d %s", status, body)
+ }
+ lh, _ := fx.st.CurrentLetterhead(t.Context())
+ if lh.ID == old.ID || lh.Logo != nil || lh.LogoType != "" || lh.Entity != fields["entity"] {
+ t.Fatalf("after remove: %+v", lh)
+ }
+ live, err := fx.st.LiveDPA(t.Context(), acct.ID)
+ if err != nil || live == nil || live.LetterheadID != old.ID {
+ t.Fatalf("live acceptance %+v %v", live, err)
+ }
+ if was, _ := fx.st.LetterheadByID(t.Context(), live.LetterheadID); was == nil || !bytes.Equal(was.Logo, logo) || was.LogoType != "image/png" {
+ t.Fatalf("the earlier acceptance's letterhead lost its logo: %+v", was)
+ }
+ _, _, page = get(t, c, fx.ts.URL+"/fleet/legal")
+ if strings.Contains(page, box) {
+ t.Fatal("the remove-logo box outlived the logo")
+ }
+
+ // Through a step-up: the replay keeps the tick.
+ if status, _, body := oplPostLetterhead(t, fx, c, fields, logo); status != http.StatusSeeOther {
+ t.Fatalf("save with logo = %d %s", status, body)
+ }
+ withLogo, _ := fx.st.CurrentLetterhead(t.Context())
+ if err := fx.st.ClearStepUp(sessionToken(t, fx, c)); err != nil {
+ t.Fatal(err)
+ }
+ status, loc, _ := oplPostLetterhead(t, fx, c, ticked, nil)
+ if status != http.StatusSeeOther || !strings.HasPrefix(loc, fx.fk.srv.URL) {
+ t.Fatalf("remove without a step-up = %d %q, want 303 to Keymail", status, loc)
+ }
+ if lh, _ := fx.st.CurrentLetterhead(t.Context()); lh.ID != withLogo.ID {
+ t.Fatal("a parked remove was stored")
+ }
+ status, loc, body = completeStepUp(t, fx, c, loc)
+ if status != http.StatusSeeOther || !strings.HasPrefix(loc, "/fleet/legal") {
+ t.Fatalf("resumed remove = %d %q %s", status, loc, body)
+ }
+ if lh, _ := fx.st.CurrentLetterhead(t.Context()); lh.ID == withLogo.ID || lh.Logo != nil || lh.LogoType != "" {
+ t.Fatalf("resumed remove kept the logo: %+v", lh)
+ }
+}
diff --git a/internal/console/stepup.go b/internal/console/stepup.go
index a80f1b016..336dcb25d 100644
--- a/internal/console/stepup.go
+++ b/internal/console/stepup.go
@@ -43,6 +43,7 @@ import (
"context"
"crypto/subtle"
"database/sql"
+ "errors"
"log"
"net/http"
"net/url"
@@ -84,6 +85,13 @@ const (
// never a query parameter: a URL ends up in history, referrers and logs,
// and the pending-action token must not.
stepUpCookie = "carlos_console_stepup"
+
+ // pendingFormMax is the most a parked form may be, in bytes of its URL
+ // encoding (the form column). Most gated forms read their body with
+ // net/http's 10 MB default, so without a cap one POST could park
+ // megabytes per session in the database. The largest legitimate form,
+ // the letterhead with a logo at its limit, is about 273 KB.
+ pendingFormMax = 1 << 20
)
// stepUpUnavailable is what a human sees when the identity provider cannot
@@ -184,10 +192,17 @@ type pendingAction struct {
Form string
}
+// errPendingTooLarge is a form over pendingFormMax, which is not stashed.
+var errPendingTooLarge = errors.New("pending action form too large")
+
// StashPendingAction parks the request the gate interrupted and returns the
-// opaque token that redeems it. Housekeeping on the write path: expired stashes
-// have nothing left to resume.
+// opaque token that redeems it. A form over pendingFormMax is refused, so the
+// caller fails closed as for any stash that failed. Housekeeping on the write
+// path: expired stashes have nothing left to resume.
func (s *Store) StashPendingAction(rawSession, address, method, path, form string, now time.Time) (string, error) {
+ if len(form) > pendingFormMax {
+ return "", errPendingTooLarge
+ }
s.db.Exec(`DELETE FROM pending_actions WHERE expires_at < ?`, now.Unix())
raw, err := NewVerifier()
if err != nil {
@@ -282,6 +297,11 @@ func (s *Server) stepUpGate(w http.ResponseWriter, r *http.Request, addr, raw st
if s.store.FreshStepUp(raw, addr, now, StepUpWindow) {
return true, false
}
+ // A form too large to park is refused before anything else on the way to
+ // a stash: no Keymail call, no email, nothing parked.
+ if !s.pendingFormFits(w, r) {
+ return false, false
+ }
// A session that signed in by email re-confirms by email (spec 6). Only
// that method does: a Keymail session, or one whose method cannot be
// read, takes the passkey path below and never an email instead.
@@ -326,11 +346,46 @@ func (s *Server) stepUpGate(w http.ResponseWriter, r *http.Request, addr, raw st
// and returns the token that redeems it. On false it has already written the
// response.
func (s *Server) stashRequest(w http.ResponseWriter, r *http.Request, addr, raw string, now time.Time) (string, bool) {
+ form, err := pendingForm(r)
+ if err != nil {
+ s.renderMessage(w, r, http.StatusBadRequest, "Refused", "That request could not be read.")
+ return "", false
+ }
+ pending, err := s.store.StashPendingAction(raw, addr, r.Method, r.URL.Path, form, now)
+ if err != nil {
+ log.Printf("console: stash pending action: %v", err)
+ s.renderMessage(w, r, http.StatusInternalServerError, "Error", stepUpHoldFailed)
+ return "", false
+ }
+ return pending, true
+}
+
+// pendingFormFits is false, with the stash-failed answer written, when r's
+// form is too large to park (pendingFormMax, measured as pendingForm encodes
+// it). The step-up gate asks it before starting a step-up, and a caller with
+// side effects of its own before the gate (retireForDeletion) asks it before
+// those, so an oversize form is refused with nothing applied.
+// StashPendingAction's own check stays as the backstop.
+func (s *Server) pendingFormFits(w http.ResponseWriter, r *http.Request) bool {
+ form, err := pendingForm(r)
+ if err != nil {
+ // stashRequest answers an unreadable form.
+ return true
+ }
+ if len(form) > pendingFormMax {
+ log.Printf("console: pending action form for %s is %d bytes, over %d; not parked", r.URL.Path, len(form), pendingFormMax)
+ s.renderMessage(w, r, http.StatusInternalServerError, "Error", stepUpHoldFailed)
+ return false
+ }
+ return true
+}
+
+// pendingForm is r's form as a stash stores it: URL-encoded, without csrf.
+func pendingForm(r *http.Request) (string, error) {
// The handler has already read fields off this request, so PostForm is
// parsed and cached; Encode gives back exactly what it will be re-fed.
if err := r.ParseForm(); err != nil {
- s.renderMessage(w, r, http.StatusBadRequest, "Refused", "That request could not be read.")
- return "", false
+ return "", err
}
// The csrf field is deliberately NOT stored. It is derived from the session
// (csrf.go) and, from a page rendered before csrf-v1, may be the raw session
@@ -345,13 +400,7 @@ func (s *Server) stashRequest(w http.ResponseWriter, r *http.Request, addr, raw
form[k] = v
}
}
- pending, err := s.store.StashPendingAction(raw, addr, r.Method, r.URL.Path, form.Encode(), now)
- if err != nil {
- log.Printf("console: stash pending action: %v", err)
- s.renderMessage(w, r, http.StatusInternalServerError, "Error", stepUpHoldFailed)
- return "", false
- }
- return pending, true
+ return form.Encode(), nil
}
// handleStepUpCallback is where a re-authentication lands. It trusts nothing
diff --git a/internal/console/stepup_test.go b/internal/console/stepup_test.go
index aa7ace9c9..bdf79bc63 100644
--- a/internal/console/stepup_test.go
+++ b/internal/console/stepup_test.go
@@ -7,6 +7,7 @@ package console
// becomes an oracle telling a stranger which accounts exist.
import (
+ "html"
"net/http"
"net/url"
"strconv"
@@ -399,3 +400,61 @@ func TestSignOutClearsPresence(t *testing.T) {
t.Fatal("presence outlived the session it was proved for")
}
}
+
+// TestPendingActionStashCap: a parked form is at most pendingFormMax bytes
+// as stored (its URL encoding). A larger one is not stashed, the gate
+// answers as for any stash that failed, and nothing is applied; the largest
+// legitimate form, the letterhead with a logo at its limit, still parks.
+func TestPendingActionStashCap(t *testing.T) {
+ fx, c, csrf := memberFixture(t)
+ now := time.Now()
+
+ if _, err := fx.st.StashPendingAction(csrf, "paul@keymail.dev", "POST", fx.path("/members/remove"),
+ strings.Repeat("a", pendingFormMax), now); err != nil {
+ t.Fatalf("a form at the cap was refused: %v", err)
+ }
+ if _, err := fx.st.StashPendingAction(csrf, "paul@keymail.dev", "POST", fx.path("/members/remove"),
+ strings.Repeat("a", pendingFormMax+1), now); err == nil {
+ t.Fatal("a form over the cap was stashed")
+ }
+ if _, err := fx.st.db.Exec(`DELETE FROM pending_actions`); err != nil {
+ t.Fatal(err)
+ }
+
+ // Through the gate: a removal padded past the cap.
+ status, loc, body := postForm(t, c, fx.u("/members/remove"), url.Values{"csrf": {csrf},
+ "address": {"kim@keymail.dev"}, "pad": {strings.Repeat("a", pendingFormMax)}})
+ if status != http.StatusInternalServerError || strings.HasPrefix(loc, fx.fk.srv.URL) ||
+ !strings.Contains(html.UnescapeString(body), stepUpHoldFailed) {
+ t.Fatalf("oversize removal = %d %q, want the stash-failed refusal:\n%s", status, loc, body)
+ }
+ var stashed int
+ fx.st.db.QueryRow(`SELECT COUNT(*) FROM pending_actions`).Scan(&stashed)
+ if stashed != 0 {
+ t.Fatalf("%d pending actions parked for an oversize form", stashed)
+ }
+ if role, _ := fx.st.Role(OpsAccountID, "kim@keymail.dev"); role != RoleMember {
+ t.Fatalf("an oversize form was applied (role %q)", role)
+ }
+}
+
+// TestPendingActionStashCapFitsLetterhead: the letterhead form with a logo
+// at letterheadLogoMax (about 273 KB as base64) parks under the cap.
+func TestPendingActionStashCapFitsLetterhead(t *testing.T) {
+ fx := newConsoleFixture(t)
+ c := signInOperator(t, fx)
+ logo := append(oplPNG(t), make([]byte, letterheadLogoMax)...)[:letterheadLogoMax]
+ fields := oplLetterheadFields()
+ for _, k := range []string{"office", "footer"} {
+ fields[k] = strings.Repeat("é", letterheadLong)
+ }
+ status, loc, body := oplPostLetterhead(t, fx, c, fields, logo)
+ if status != http.StatusSeeOther || !strings.HasPrefix(loc, fx.fk.srv.URL) {
+ t.Fatalf("letterhead at its limits = %d %q, want 303 to Keymail:\n%s", status, loc, body)
+ }
+ var size int
+ fx.st.db.QueryRow(`SELECT LENGTH(form) FROM pending_actions`).Scan(&size)
+ if size == 0 || size > pendingFormMax/2 {
+ t.Fatalf("parked letterhead is %d bytes, want well under %d", size, pendingFormMax)
+ }
+}
diff --git a/internal/console/templates/ops_legal.html b/internal/console/templates/ops_legal.html
index a66f9668e..34bcd7e44 100644
--- a/internal/console/templates/ops_legal.html
+++ b/internal/console/templates/ops_legal.html
@@ -93,6 +93,11 @@
<label rst-field-label for="opl-logo">Logo (optional)</label>
<input type="file" id="opl-logo" name="logo" accept="image/png,image/svg+xml">
</div>
+ {{- if .HasLogo}}
+ <div rst-field>
+ <label><span><input type="checkbox" name="remove_logo" value="on"{{if .RemoveLogo}} checked{{end}}> Remove the logo</span></label>
+ </div>
+ {{- end}}
<div rst-field>
<label rst-field-label for="opl-entity">Company name</label>
<input rst-input type="text" id="opl-entity" name="entity" value="{{.Entity}}" maxlength="200" required>