census: demo disk slice 1 overlay and card, final fixes
Re-proposed after the backlog invariant: printDemoDisk, readDemoBuilds, admitRoute, pinSet, saveStatus and selection change; no new read.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 files changed,
+24
−24
docs/superpowers/notes/census-claims-demo-disk-slice1-retention.tsv+6 −6docs/superpowers/notes/census-proposal-demo-disk-slice1-retention.md+2 −2internal/provision/testdata/plan14-root-reads-chain.tsv+1 −1internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv+15 −15
CI passed — 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-fbto5e
.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/cloudwatch v1.68.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 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 github.com/aws/aws-sdk-go-v2/service/acm v1.45.0
go: downloading github.com/aws/aws-sdk-go-v2/service/ec2 v1.324.0
go: downloading github.com/aws/aws-sdk-go-v2/service/iam v1.58.2
go: downloading github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.37.0
go: downloading github.com/aws/aws-sdk-go-v2/service/route53 v1.64.1
go: downloading golang.org/x/sys v0.49.0
go: downloading golang.org/x/mod v0.41.0
go: downloading golang.org/x/crypto v0.58.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/lmittmann/tint v1.1.3
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/client_model v0.5.0
go: downloading github.com/prometheus/common v0.45.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading google.golang.org/protobuf v1.36.10
go: downloading github.com/pion/dtls/v3 v3.1.4
go: downloading github.com/pion/transport/v4 v4.0.2
go: downloading github.com/pion/randutil v0.1.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/wlynxg/anet v0.0.5
go: downloading golang.org/x/text v0.43.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading modernc.org/sqlite v1.55.0
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 github.com/google/uuid v1.6.0
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/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
=== launchctx (4 s, from +0 s)
ok amadan.net/carlos/platform.git/launchctx 0.015s
? amadan.net/carlos/platform.git/launchctx/controlname [no test files]
? amadan.net/carlos/platform.git/launchctx/wireid [no test files]
=== vet (174 s, from +0 s)
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/mathutil v1.7.1
=== vet-tags (194 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/mathutil v1.7.1
go: downloading github.com/dustin/go-humanize v1.0.1
=== gofmt (1 s, from +0 s)
gofmt -l .: clean
=== rest (378 s, from +15 s)
ok github.com/carlosframework/platform/cmd/carlos-media 127.421s
? github.com/carlosframework/platform/cmd/changelog [no test files]
ok github.com/carlosframework/platform/cmd/console 211.704s
ok github.com/carlosframework/platform/cmd/mediaimage 44.734s
ok github.com/carlosframework/platform/cmd/moveprobe 16.229s
ok github.com/carlosframework/platform/cmd/pricebook-export 0.033s
ok github.com/carlosframework/platform/cmd/rootfswitness 0.165s
ok github.com/carlosframework/platform/cmd/runsc-assets 0.102s
ok github.com/carlosframework/platform/cmd/zddprobe 0.959s
ok github.com/carlosframework/platform/internal/agentsock 0.054s
ok github.com/carlosframework/platform/internal/alerting 0.013s
ok github.com/carlosframework/platform/internal/analytics 0.371s
ok github.com/carlosframework/platform/internal/appconfig 44.413s
ok github.com/carlosframework/platform/internal/apperr 0.512s
ok github.com/carlosframework/platform/internal/applog 5.594s
ok github.com/carlosframework/platform/internal/apppolicy 2.855s
ok github.com/carlosframework/platform/internal/assetcache 0.650s
ok github.com/carlosframework/platform/internal/awsinv 0.020s
ok github.com/carlosframework/platform/internal/awsmanaged 12.188s
ok github.com/carlosframework/platform/internal/awsregiongroup 0.318s
ok github.com/carlosframework/platform/internal/awsterminations 0.014s
ok github.com/carlosframework/platform/internal/backupswords 0.005s
ok github.com/carlosframework/platform/internal/billing 0.110s
ok github.com/carlosframework/platform/internal/billing/billingtest 0.065s
ok github.com/carlosframework/platform/internal/billingstripe 2.322s
ok github.com/carlosframework/platform/internal/boxchoice 0.017s
ok github.com/carlosframework/platform/internal/boxid 2.518s
? 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.012s
ok github.com/carlosframework/platform/internal/boxself 0.273s
ok github.com/carlosframework/platform/internal/boxvolumes 0.020s
ok github.com/carlosframework/platform/internal/caps 4.552s
ok github.com/carlosframework/platform/internal/certwarm 0.024s
ok github.com/carlosframework/platform/internal/cgroup 1.516s
ok github.com/carlosframework/platform/internal/changelog 5.407s
ok github.com/carlosframework/platform/internal/clamd 0.068s
? github.com/carlosframework/platform/internal/cliflag [no test files]
ok github.com/carlosframework/platform/internal/clireg 0.017s
ok github.com/carlosframework/platform/internal/codehealth 17.391s
ok github.com/carlosframework/platform/internal/compute 0.028s
ok github.com/carlosframework/platform/internal/consolefleet 0.016s
? 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 11.639s
ok github.com/carlosframework/platform/internal/dbdoor/dbdoortest 0.027s
ok github.com/carlosframework/platform/internal/dbquery 0.018s
ok github.com/carlosframework/platform/internal/dbreads 3.376s
? github.com/carlosframework/platform/internal/dbreads/dbreadstest [no test files]
ok github.com/carlosframework/platform/internal/dbverify 0.024s
ok github.com/carlosframework/platform/internal/demo 0.013s
ok github.com/carlosframework/platform/internal/demobuild 4.830s
ok github.com/carlosframework/platform/internal/democlaim 0.337s
ok github.com/carlosframework/platform/internal/devbox 17.967s
ok github.com/carlosframework/platform/internal/dnsrec 0.011s
ok github.com/carlosframework/platform/internal/docsite 0.080s
ok github.com/carlosframework/platform/internal/domainreg 0.014s
ok github.com/carlosframework/platform/internal/domains 75.256s
ok github.com/carlosframework/platform/internal/doorkey 0.022s
ok github.com/carlosframework/platform/internal/economics 0.020s
ok github.com/carlosframework/platform/internal/edgefence 0.078s
ok github.com/carlosframework/platform/internal/edgeguard 0.157s
? github.com/carlosframework/platform/internal/edgeproof [no test files]
ok github.com/carlosframework/platform/internal/edgesfile 0.082s
ok github.com/carlosframework/platform/internal/egressaddr 0.004s
ok github.com/carlosframework/platform/internal/execsandbox 102.146s
ok github.com/carlosframework/platform/internal/fileacl 0.016s
ok github.com/carlosframework/platform/internal/fleetapi 2.670s
ok github.com/carlosframework/platform/internal/fleetstore 0.013s
ok github.com/carlosframework/platform/internal/fxrate 0.016s
ok github.com/carlosframework/platform/internal/gate 5.848s
ok github.com/carlosframework/platform/internal/genselect 0.123s
ok github.com/carlosframework/platform/internal/geo 0.057s
ok github.com/carlosframework/platform/internal/geoip 0.110s
ok github.com/carlosframework/platform/internal/groupadmission 0.012s
ok github.com/carlosframework/platform/internal/grouprollaws 16.705s
ok github.com/carlosframework/platform/internal/hadeparture 0.022s
ok github.com/carlosframework/platform/internal/hafresh 0.018s
ok github.com/carlosframework/platform/internal/hairpin 0.242s
ok github.com/carlosframework/platform/internal/historyreadback 0.939s
ok github.com/carlosframework/platform/internal/hostactors 28.071s
ok github.com/carlosframework/platform/internal/hostbox 23.627s
ok github.com/carlosframework/platform/internal/hostclaim 3.038s
ok github.com/carlosframework/platform/internal/hostenv 0.017s
ok github.com/carlosframework/platform/internal/hostevidence 0.009s
ok github.com/carlosframework/platform/internal/hostexec 25.509s
ok github.com/carlosframework/platform/internal/hostfence 0.221s
ok github.com/carlosframework/platform/internal/hostfiles 29.127s
ok github.com/carlosframework/platform/internal/hostfloor 1.051s
ok github.com/carlosframework/platform/internal/hostguard 1.473s
ok github.com/carlosframework/platform/internal/hostops 9.519s
? github.com/carlosframework/platform/internal/hostops/fencerelease [no test files]
ok github.com/carlosframework/platform/internal/hostops/internal/fencerelease 0.010s
ok github.com/carlosframework/platform/internal/hostquarantine 0.013s
ok github.com/carlosframework/platform/internal/hostrelocate 2.404s
ok github.com/carlosframework/platform/internal/hostresolve 0.769s
ok github.com/carlosframework/platform/internal/hostwrite 0.016s
ok github.com/carlosframework/platform/internal/infraview 0.028s
ok github.com/carlosframework/platform/internal/ingresshealth 0.011s
ok github.com/carlosframework/platform/internal/ingresshealth/awstg 0.015s
ok github.com/carlosframework/platform/internal/instancectl 66.873s
ok github.com/carlosframework/platform/internal/instanceexec 9.372s
ok github.com/carlosframework/platform/internal/instancefs 16.573s
ok github.com/carlosframework/platform/internal/instancekey 0.013s
ok github.com/carlosframework/platform/internal/instanceupdates 0.018s
ok github.com/carlosframework/platform/internal/interactive 0.703s
ok github.com/carlosframework/platform/internal/launchd 0.018s
ok github.com/carlosframework/platform/internal/layout 24.299s
ok github.com/carlosframework/platform/internal/layout/pubclass 103.687s
ok github.com/carlosframework/platform/internal/lbhealth 0.014s
ok github.com/carlosframework/platform/internal/lease 149.610s
ok github.com/carlosframework/platform/internal/lease/leasetest 1.235s
ok github.com/carlosframework/platform/internal/lease/locktest 0.024s
ok github.com/carlosframework/platform/internal/ledger 0.080s
ok github.com/carlosframework/platform/internal/mail 0.962s
ok github.com/carlosframework/platform/internal/mailer 1.065s
ok github.com/carlosframework/platform/internal/mailsubmit 1.781s
ok github.com/carlosframework/platform/internal/mailwire 0.013s
ok github.com/carlosframework/platform/internal/maintenance 0.221s
ok github.com/carlosframework/platform/internal/maintenanceexec 8.119s
ok github.com/carlosframework/platform/internal/maintenanceguard 0.359s
ok github.com/carlosframework/platform/internal/managedboot 3.815s
? 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.661s
ok github.com/carlosframework/platform/internal/media/mediatest 0.003s
ok github.com/carlosframework/platform/internal/mediaaws 64.836s
ok github.com/carlosframework/platform/internal/mediahandler 46.311s
ok github.com/carlosframework/platform/internal/mediajobs 0.986s
ok github.com/carlosframework/platform/internal/medialocal 9.993s
ok github.com/carlosframework/platform/internal/metrics 0.091s
ok github.com/carlosframework/platform/internal/minorunits 0.004s
ok github.com/carlosframework/platform/internal/moves 55.169s
ok github.com/carlosframework/platform/internal/moves/archive 2.721s
ok github.com/carlosframework/platform/internal/moves/offlinerun 0.085s
ok github.com/carlosframework/platform/internal/namedunits 0.066s
ok github.com/carlosframework/platform/internal/objstore 2.656s
ok github.com/carlosframework/platform/internal/ops 17.234s
ok github.com/carlosframework/platform/internal/pageindex 3.951s
ok github.com/carlosframework/platform/internal/parity 0.081s
? github.com/carlosframework/platform/internal/parity/cmd/parity-doc [no test files]
ok github.com/carlosframework/platform/internal/park 0.992s
ok github.com/carlosframework/platform/internal/perf 0.192s
ok github.com/carlosframework/platform/internal/plans 0.096s
ok github.com/carlosframework/platform/internal/privatefile 0.019s
ok github.com/carlosframework/platform/internal/provision 234.593s
ok github.com/carlosframework/platform/internal/proxyproto 0.938s
ok github.com/carlosframework/platform/internal/publicrelease 0.040s
ok github.com/carlosframework/platform/internal/ratelimit 0.291s
ok github.com/carlosframework/platform/internal/regionlabel 0.086s
ok github.com/carlosframework/platform/internal/regionname 0.049s
ok github.com/carlosframework/platform/internal/registrar 0.017s
ok github.com/carlosframework/platform/internal/registrar/openprovider 0.601s
? github.com/carlosframework/platform/internal/registrar/registrartest [no test files]
ok github.com/carlosframework/platform/internal/registry 87.637s
ok github.com/carlosframework/platform/internal/relay 7.567s
ok github.com/carlosframework/platform/internal/release 132.481s
? github.com/carlosframework/platform/internal/release/requestwitness [no test files]
ok github.com/carlosframework/platform/internal/replicagen 0.016s
ok github.com/carlosframework/platform/internal/replicas 0.047s
ok github.com/carlosframework/platform/internal/reqrec 5.870s
ok github.com/carlosframework/platform/internal/rollout 11.038s
ok github.com/carlosframework/platform/internal/rolloutwords 0.038s
ok github.com/carlosframework/platform/internal/rootaws 103.910s
ok github.com/carlosframework/platform/internal/rootfsimage 1.066s
ok github.com/carlosframework/platform/internal/rootparticipation 0.121s
ok github.com/carlosframework/platform/internal/rootstate 0.046s
ok github.com/carlosframework/platform/internal/runs 1.102s
ok github.com/carlosframework/platform/internal/s3compat 0.050s
ok github.com/carlosframework/platform/internal/s3fake 1.295s
ok github.com/carlosframework/platform/internal/s3meter 0.589s
ok github.com/carlosframework/platform/internal/safefile 0.027s
ok github.com/carlosframework/platform/internal/schedule 26.913s
ok github.com/carlosframework/platform/internal/seeds 0.080s
ok github.com/carlosframework/platform/internal/share 0.040s
ok github.com/carlosframework/platform/internal/sim/litestreamfacts 4.739s
ok github.com/carlosframework/platform/internal/sim/mediajobs 53.195s
ok github.com/carlosframework/platform/internal/sim/regionha 25.946s
ok github.com/carlosframework/platform/internal/status 0.372s
ok github.com/carlosframework/platform/internal/steering 0.236s
ok github.com/carlosframework/platform/internal/stopevidence 0.585s
ok github.com/carlosframework/platform/internal/storecfg 0.450s
ok github.com/carlosframework/platform/internal/svcrole 0.023s
ok github.com/carlosframework/platform/internal/systemd 6.446s
? github.com/carlosframework/platform/internal/systemdshow [no test files]
ok github.com/carlosframework/platform/internal/team 3.615s
ok github.com/carlosframework/platform/internal/teamcontract 0.123s
ok github.com/carlosframework/platform/internal/telemetry 0.032s
ok github.com/carlosframework/platform/internal/termfence 2.996s
ok github.com/carlosframework/platform/internal/timerspec 0.036s
ok github.com/carlosframework/platform/internal/tsidentity 4.154s
ok github.com/carlosframework/platform/internal/tunnelclient 0.410s
ok github.com/carlosframework/platform/internal/unixdial 0.018s
ok github.com/carlosframework/platform/internal/updatewords 0.038s
ok github.com/carlosframework/platform/internal/upstreamguard 0.028s
? github.com/carlosframework/platform/internal/upstreamguard/guardtest [no test files]
ok github.com/carlosframework/platform/internal/usage 0.022s
ok github.com/carlosframework/platform/internal/version 0.020s
ok github.com/carlosframework/platform/internal/vet 3.078s
ok github.com/carlosframework/platform/internal/zonehost 0.024s
ok github.com/carlosframework/platform/internal/zonehost/route53zones 0.052s
? 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.025s
ok github.com/carlosframework/platform/scripts/pathmapcheck 0.119s
ok github.com/carlosframework/platform/scripts/region-ha-g2/fixture 5.228s
ok github.com/carlosframework/platform/scripts/stateless-replicas-drill 1.224s
ok github.com/carlosframework/platform/scripts/witness-pointer 0.022s
=== cutover-witness (164 s, from +15 s)
ok github.com/carlosframework/platform 3.602s
=== internal_grouproll@0 (272 s, from +74 s)
ok github.com/carlosframework/platform/internal/grouproll 270.993s
=== internal_grouproll@1 (276 s, from +74 s)
ok github.com/carlosframework/platform/internal/grouproll 275.076s
=== internal_activator@0 (149 s, from +141 s)
ok github.com/carlosframework/platform/internal/activator 145.007s
=== internal_activator@1 (133 s, from +141 s)
ok github.com/carlosframework/platform/internal/activator 128.665s
=== internal_activator@2 (139 s, from +141 s)
ok github.com/carlosframework/platform/internal/activator 134.821s
=== internal_activator@3 (170 s, from +141 s)
ok github.com/carlosframework/platform/internal/activator 165.395s
=== root@0 (115 s, from +175 s)
ok github.com/carlosframework/platform 104.341s
=== root@1 (112 s, from +175 s)
ok github.com/carlosframework/platform 101.376s
=== root@2 (120 s, from +175 s)
ok github.com/carlosframework/platform 109.692s
=== root@3 (108 s, from +175 s)
ok github.com/carlosframework/platform 97.929s
=== root@4 (102 s, from +175 s)
ok github.com/carlosframework/platform 91.628s
=== internal_edge@0 (247 s, from +177 s)
ok github.com/carlosframework/platform/internal/edge 235.900s
=== internal_edge@1 (127 s, from +177 s)
ok github.com/carlosframework/platform/internal/edge 117.489s
=== internal_edge@2 (166 s, from +177 s)
ok github.com/carlosframework/platform/internal/edge 154.924s
=== internal_edge@3 (147 s, from +177 s)
ok github.com/carlosframework/platform/internal/edge 135.933s
=== internal_host@0 (150 s, from +220 s)
ok github.com/carlosframework/platform/internal/host 146.236s
=== internal_host@1 (286 s, from +220 s)
ok github.com/carlosframework/platform/internal/host 281.773s
=== internal_host@2 (167 s, from +220 s)
ok github.com/carlosframework/platform/internal/host 163.168s
=== internal_host@3 (183 s, from +220 s)
ok github.com/carlosframework/platform/internal/host 178.892s
=== internal_host@4 (158 s, from +220 s)
ok github.com/carlosframework/platform/internal/host 153.643s
=== internal_host@5 (215 s, from +220 s)
ok github.com/carlosframework/platform/internal/host 211.208s
=== internal_console@0 (171 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 164.717s
=== internal_console@1 (176 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 169.319s
=== internal_console@2 (239 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 232.167s
=== internal_console@3 (253 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 246.741s
=== internal_console@4 (221 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 214.752s
=== internal_console@5 (235 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 227.808s
=== internal_console@6 (217 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 210.849s
=== internal_console@7 (233 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 226.692s
=== internal_console@8 (238 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 231.484s
=== internal_console@9 (235 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 228.466s
=== internal_console@10 (241 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 234.912s
=== internal_console@11 (242 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 235.444s
=== internal_console@12 (364 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 356.047s
=== internal_console@13 (211 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 204.481s
=== internal_console@14 (205 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 197.572s
=== internal_console@15 (220 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 213.633s
=== internal_console@16 (229 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 221.924s
=== internal_console@17 (253 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 246.288s
=== internal_console@18 (281 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 273.996s
=== internal_console@19 (240 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 231.589s
=== internal_console@20 (210 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 203.197s
=== internal_console@21 (238 s, from +226 s)
ok github.com/carlosframework/platform/internal/console 230.501s
=== internal_console@22 (238 s, from +227 s)
ok github.com/carlosframework/platform/internal/console 232.284s
=== internal_console@23 (233 s, from +227 s)
ok github.com/carlosframework/platform/internal/console 226.767s
=== lists: internal_console 225 s, internal_edge 175 s, internal_activator 141 s, internal_host 219 s, root 174 s, internal_grouproll 73 s
=== cpu: the gate used 12987 cpu-seconds in 590 s, about 22.0 of 32 cores; the machine as a whole was 73% busy
=== opentofu ===
opentofu: 39 test files in 11 suites, OpenTofu v1.13.9
initialised in 14 s
ok 22 s infra/modules/box-fence-writer/tests/writer.tftest.hcl Success! 1 passed, 0 failed.
ok 18 s infra/modules/deployment-buckets/tests/console_floors.tftest.hcl Success! 1 passed, 0 failed.
ok 31 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 22 s infra/modules/deployment-buckets/tests/evidence.tftest.hcl Success! 1 passed, 0 failed.
ok 31 s infra/modules/deployment-buckets/tests/fence_writers.tftest.hcl Success! 3 passed, 0 failed.
ok 23 s infra/modules/deployment-buckets/tests/media_results.tftest.hcl Success! 2 passed, 0 failed.
ok 88 s infra/modules/media-engine/tests/media_engine.tftest.hcl Success! 24 passed, 0 failed.
ok 25 s infra/modules/pdf-host/tests/computed.tftest.hcl Success! 2 passed, 0 failed.
ok 56 s infra/modules/pdf-host/tests/pdf_host.tftest.hcl Success! 24 passed, 0 failed.
ok 39 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 68 s infra/modules/region-host/ingress/tests/group_ingress.tftest.hcl Success! 30 passed, 0 failed.
ok 44 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 12 s infra/modules/region-host/tests/analytics_prune.tftest.hcl Success! 2 passed, 0 failed.
ok 16 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 69 s infra/modules/region-host/tests/group.tftest.hcl Success! 32 passed, 0 failed.
ok 11 s infra/modules/region-host/tests/group_alarms.tftest.hcl Success! 4 passed, 0 failed.
ok 11 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 35 s infra/modules/region-host/tests/group_operator.tftest.hcl Success! 13 passed, 0 failed.
ok 11 s infra/modules/region-host/tests/group_user_data.tftest.hcl Success! 3 passed, 0 failed.
ok 29 s infra/modules/region-host/tests/health_alarms.tftest.hcl Success! 10 passed, 0 failed.
ok 15 s infra/modules/region-host/tests/ingress_drain_read.tftest.hcl Success! 4 passed, 0 failed.
ok 8 s infra/modules/region-host/tests/instance_metadata.tftest.hcl Success! 1 passed, 0 failed.
ok 21 s infra/modules/region-host/tests/mailer.tftest.hcl Success! 6 passed, 0 failed.
ok 11 s infra/modules/region-host/tests/mailer_group.tftest.hcl Success! 2 passed, 0 failed.
ok 11 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 74 s infra/modules/region-host/tests/store_conversion.tftest.hcl Success! 27 passed, 0 failed.
ok 18 s infra/modules/region-host/tests/store_scanning.tftest.hcl Success! 4 passed, 0 failed.
ok 29 s infra/modules/region-host/tests/store_versioning.tftest.hcl Success! 11 passed, 0 failed.
ok 16 s infra/modules/region-host/tests/store_write_credentials.tftest.hcl Success! 4 passed, 0 failed.
ok 18 s infra/modules/region-host/tests/user_data_ignored.tftest.hcl Success! 3 passed, 0 failed.
ok 14 s infra/modules/region-remote-host/tests/data_lifecycle.tftest.hcl Success! 3 passed, 0 failed.
ok 12 s infra/modules/region-remote-host/tests/no_deployment_bucket.tftest.hcl Success! 5 passed, 0 failed.
ok 32 s infra/modules/scanner-host/tests/scanner_host.tftest.hcl Success! 14 passed, 0 failed.
opentofu: 39 files in 213 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: 66781346 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:35409
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.02s)
--- 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.036s
=== RUN TestT4StorageProbeMinio
2026/11/30 16:51:59 moves: T4: STORE: list: operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: 18ECE0CC42105D1A, HostID: 46bd702f373b1ddfc9f706277dfdc4b366a1df78da9c82cffb098be7085b0db5, 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.049s
=== RUN TestS3StoreMinioContract
=== RUN TestS3StoreMinioContract/conditional_get_and_etag_listing
=== RUN TestS3StoreMinioContract/bump_through_every_mutation_path
--- PASS: TestS3StoreMinioContract (0.04s)
--- 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.043s
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.040s
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_outside_the_prefix
=== RUN TestWriteCredentialContractMinio/refused:_put_beside_the_prefix
=== RUN TestWriteCredentialContractMinio/refused:_read_elsewhere
=== RUN TestWriteCredentialContractMinio/refused:_head
=== RUN TestWriteCredentialContractMinio/refused:_list_uploads
=== RUN TestWriteCredentialContractMinio/refused:_put_to_another_bucket
=== RUN TestWriteCredentialContractMinio/refused:_copy_from_the_store
=== RUN TestWriteCredentialContractMinio/refused:_bucket_settings
=== RUN TestWriteCredentialContractMinio/refused:_read_under_the_prefix
=== RUN TestWriteCredentialContractMinio/refused:_list
=== RUN TestWriteCredentialContractMinio/refused:_delete
=== RUN TestWriteCredentialContractMinio/refused:_tag
=== RUN TestWriteCredentialContractMinio/refused:_put_tagged
=== RUN TestWriteCredentialContractMinio/refused:_put_with_a_platform_tag
--- PASS: TestWriteCredentialContractMinio (0.04s)
--- PASS: TestWriteCredentialContractMinio/put_under_the_prefix (0.00s)
--- PASS: TestWriteCredentialContractMinio/multipart_under_the_prefix (0.01s)
--- PASS: TestWriteCredentialContractMinio/refused:_put_outside_the_prefix (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_put_beside_the_prefix (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_read_elsewhere (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_head (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_list_uploads (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:_read_under_the_prefix (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: TestWriteCredentialContractMinio/refused:_put_with_a_platform_tag (0.00s)
PASS
ok github.com/carlosframework/platform/internal/objstore 0.050s
=== 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.13s)
--- PASS: TestEndToEndMinio/replace (0.15s)
--- PASS: TestEndToEndMinio/remove (0.16s)
PASS
ok github.com/carlosframework/platform/internal/grouproll 0.487s
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/30 16:52:07 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/30 16:52:07 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/30 16:52:07 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/30 16:52:08 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/30 16:52:08 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/30 16:52:08 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/30 16:52:08 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/30 16:52:08 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=370
2026/11/30 16:52:08 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/30 16:52:08 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000003
2026/11/30 16:52:08 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000003 maxTXID=0000000000000003 size=454
2026/11/30 16:52:08 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000003 txid.db=0000000000000003
2026/11/30 16:52:08 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 16:52:08 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%3A37221: could not determine target mailbox
agent.go:136: dbreads: dbr_foqmthlka3ciwn7jiteeficiwu: planned 3 files (1544 bytes) and restored to 3 in 13ms
agent.go:136: dbreads: dbr_foqmthlka3ciwn7jiteeficiwu: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/30 16:52:09 console: db read dbr_foqmthlka3ciwn7jiteeficiwu: relayed 1 chunks (102 bytes) in 1.005s, ended done
agent.go:136: dbreads: dbr_z4rr544hcsr3f6esxsnjl7lehu: planned 1 files (720 bytes) and restored to 1 in 11ms
agent.go:136: dbreads: dbr_z4rr544hcsr3f6esxsnjl7lehu: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/30 16:52:10 console: db read dbr_z4rr544hcsr3f6esxsnjl7lehu: relayed 1 chunks (102 bytes) in 1.005s, ended done
agent.go:136: dbreads: dbr_4cg6f3gpwcstsqahctw53hflie: planned 3 files (1544 bytes) and held through 3 in 12ms
agent.go:136: dbreads: dbr_4cg6f3gpwcstsqahctw53hflie: output 1544 bytes in 1 confirmed chunks in 1ms
2026/11/30 16:52:11 console: db read dbr_4cg6f3gpwcstsqahctw53hflie: relayed 1 chunks (1641 bytes) in 1.006s, ended done
=== RUN TestDBForwardMinio/by_disconnect
=== NAME TestDBForwardMinio
agent.go:136: dbreads: dbr_onap2tl4bj5wraz3qxplu6soay: planned 3 files (1544 bytes) and restored to 3 in 13ms
2026/11/30 16:52:11 console: db read dbr_onap2tl4bj5wraz3qxplu6soay: relayed 0 chunks (0 bytes) in 19ms, ended client gone
agent.go:136: dbreads: dbr_onap2tl4bj5wraz3qxplu6soay: output 5 bytes in 1 confirmed chunks in 105ms
=== RUN TestDBForwardMinio/by_timeout
=== NAME TestDBForwardMinio
agent.go:136: dbreads: dbr_e4ljcsbhtmhrc7iprn7qaewdri: planned 3 files (1544 bytes) and restored to 3 in 13ms
2026/11/30 16:52:31 console: db read dbr_e4ljcsbhtmhrc7iprn7qaewdri: relayed 0 chunks (0 bytes) in 19.44s, ended no-result
agent.go:136: dbreads: dbr_e4ljcsbhtmhrc7iprn7qaewdri: output 5 bytes in 1 confirmed chunks in 19.412s
--- PASS: TestDBForwardMinio (23.13s)
--- PASS: TestDBForwardMinio/by_disconnect (0.23s)
--- PASS: TestDBForwardMinio/by_timeout (19.55s)
PASS
ok github.com/carlosframework/platform/internal/console 23.174s
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.076s
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.57s)
PASS
ok github.com/carlosframework/platform/internal/medialocal 0.576s
=== RUN TestHeldHandoverTwoBoxMinio
2026/11/30 16:52:36 edge: mesh key: minted
2026/11/30 16:52:36 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/30 16:52:36 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/30 16:52:36 tenant admission is open. accepting tenant work
2026/11/30 16:52:36 activator: HA placement host=shop-ad625875.example.test kind=Place ref=annie reason=roomiest generation=2026-11-30T16:52:36Z lock_generation=0
2026/11/30 16:52:36 lease: t8-ad625875/shop-ad625875.example.test: HA lease acquired in 4ms (first wake)
2026/11/30 16:52:36 activator: shop-ad625875.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/30 16:52:36 activator: shop-ad625875.example.test: started carlos-instance@shop\x2dad625875.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/30 16:52:36 activator: shop-ad625875.example.test: carlos-instance@shop\x2dad625875.example.test.service launched in 7ms, healthy 0s later
2026/11/30 16:52:36 activator: shop-ad625875.example.test: woke in 20ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 8ms, replicate 7ms
2026/11/30 16:52:36 lease: t8-ad625875/plain-ad625875.example.test: acquired in 1ms (client 0s, lock read and write 1ms)
2026/11/30 16:52:36 activator: no replica for plain-ad625875.example.test in s3://contract-bucket/t8-ad625875/plain-ad625875.example.test — booting fresh
2026/11/30 16:52:36 activator: plain-ad625875.example.test: started carlos-instance@plain\x2dad625875.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) 6ms, launch file 0s, gate 0s, root start 1ms)
2026/11/30 16:52:36 activator: plain-ad625875.example.test: carlos-instance@plain\x2dad625875.example.test.service launched in 7ms, healthy 0s later
2026/11/30 16:52:36 activator: plain-ad625875.example.test: woke in 40ms: checks 0s, lease 1ms, restore 18ms, identity 0s, protect 0s, spawn 7ms, replicate 14ms
2026/11/30 16:52:36 lease: t8-ad625875/bot0.shop.bac.sidecar.internal: HA lease acquired in 6ms (first wake)
2026/11/30 16:52:36 activator: bot0.shop.bac.sidecar.internal: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/30 16:52:36 activator: bot0.shop.bac.sidecar.internal: woke in 23ms: checks 0s, lease 7ms, restore 0s, identity 0s, protect 0s, spawn 8ms, settle 0s, replicate 8ms
2026/11/30 16:52:36 activator: next-due probe plain-ad625875.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/30 16:52:36 activator: bot0.shop.bac.sidecar.internal: released with a marker (clean true, txid 1, files 3:84f64e38290228d9c709b354fb2a8c2b167ef22ae68fe1abf0edfa394debb73f) in 6ms: files 1ms, sync 2ms, record 1ms, marker 2ms
2026/11/30 16:52:36 activator: bot0.shop.bac.sidecar.internal hibernated
2026/11/30 16:52:36 activator: plain-ad625875.example.test hibernated
2026/11/30 16:52:36 activator: next-due probe shop-ad625875.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/30 16:52:36 activator: shop-ad625875.example.test: released with a marker (clean true, txid 1, files 3:7a37320c3c6452b438f92b1c345ac0f2e658f7fec79eca54110a9babc3ff04f2) in 8ms: files 1ms, sync 4ms, record 1ms, marker 2ms
2026/11/30 16:52:36 activator: shop-ad625875.example.test hibernated
2026/11/30 16:52:36 lease: t8-ad625875/shop-ad625875.example.test: HA lease acquired in 3ms (clean marker)
2026/11/30 16:52:36 activator: shop-ad625875.example.test: restored (other-box)
2026/11/30 16:52:36 activator: shop-ad625875.example.test: started carlos-instance@shop\x2dad625875.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 1ms, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 1ms)
2026/11/30 16:52:36 activator: shop-ad625875.example.test: carlos-instance@shop\x2dad625875.example.test.service launched in 2ms, healthy 0s later
2026/11/30 16:52:36 activator: shop-ad625875.example.test: woke in 86ms: checks 0s, lease 4ms, restore 24ms, identity 0s, protect 0s, spawn 2ms, replicate 55ms
2026/11/30 16:52:36 edge: ha-take shop-ad625875.example.test from annie (txn t8-witness, marker generation 1): holder betty, generation 2
2026/11/30 16:52:36 edge: forward shop-ad625875.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:4ed954d5b2274c417779c0d2a5947b3b Step:move Result:ok Reasons:[] Fence:t8-witness StartedAt:2026-11-30 16:52:36.530744599 +0000 UTC FinishedAt:2026-11-30 16:52:36.678543931 +0000 UTC Acked:[betty carol] Departed:[] Moved:[{Host:shop-ad625875.example.test Holder:betty Gen:2 Confirmed:take}] Released:[{Host:bot0.shop.bac.sidecar.internal Kind:worker Marker:true Clean:true Reason:} {Host:plain-ad625875.example.test Kind:other Marker:true Clean:true Reason:}] Unclean:[] Left:[] Holds:{LongestMS:130 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-ad625875.example.test <nil> stop bot0.shop.bac.sidecar.internal marker=true clean=true <nil> stop plain-ad625875.example.test marker=true clean=true <nil> releasing shop-ad625875.example.test <nil> stop shop-ad625875.example.test marker=true clean=true <nil> taken shop-ad625875.example.test betty <nil> end-moves]
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/bot0.shop.bac.sidecar.internal/0001/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/bot0.shop.bac.sidecar.internal/0001/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/bot0.shop.bac.sidecar.internal/0002/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/bot0.shop.bac.sidecar.internal/0000/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/bot0.shop.bac.sidecar.internal/0003/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ad625875/shop-ad625875.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ad625875/bot0.shop.bac.sidecar.internal/0009/0000000000000001-0000000000000001.ltx
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ad625875/bot0.shop.bac.sidecar.internal/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: DELETE /contract-bucket/t8-ad625875/plain-ad625875.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ad625875/shop-ad625875.example.test/0009/0000000000000001-0000000000000001.ltx
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ad625875/shop-ad625875.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ad625875/shop-ad625875.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ad625875/shop-ad625875.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ad625875/shop-ad625875.example.test/head.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/generations/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0009/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0008/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0007/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0006/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0005/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0004/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0003/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0002/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0001/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0000/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0009/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0008/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0007/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0006/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0005/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0004/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0003/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0002/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0001/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0000/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ad625875/shop-ad625875.example.test/0009/0000000000000001-0000000000000001.ltx
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ad625875/shop-ad625875.example.test/files/0/manifest.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ad625875/shop-ad625875.example.test/files/0/objects/0000000000000001-6f632c93433a70c2cecf00488a2f373bf47fb3bbb0456335d3c3ad701499da30
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ad625875/shop-ad625875.example.test/files/0/objects/0000000000000003-59cefbe4781165989752111bcc8dc7bc718a7c0b8c06550f7a283caf0bddc0cd
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0009/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0000/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0001/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0002/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ad625875/shop-ad625875.example.test/0000/0000000000000001-0000000000000001.ltx
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0003/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0003/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0000/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ad625875/shop-ad625875.example.test/0002/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ad625875/shop-ad625875.example.test/0000/0000000000000002-0000000000000002.ltx
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ad625875/shop-ad625875.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1243: drain took 195ms; S3 calls 50 (DELETE lock=1 GET files=3 GET head=1 GET lock=3 GET replica=2 LIST replica=34 PUT lock=3 PUT replica=3); 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/30 16:52:36 lease: t8-ad625875/plain-ad625875.example.test: acquired in 2ms (client 0s, lock read and write 1ms)
2026/11/30 16:52:36 activator: plain-ad625875.example.test: started carlos-instance@plain\x2dad625875.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/30 16:52:36 activator: plain-ad625875.example.test: carlos-instance@plain\x2dad625875.example.test.service launched in 1ms, healthy 0s later
2026/11/30 16:52:36 lease: /tmp/carlos-minio-contract-f7AMvm/g/dw3986472317/data/instances/plain-ad625875.example.test/plain-ad625875.example.test.db: continuity with the last clean close not proven; snapshot 1-0000000000000001 written before serving
2026/11/30 16:52:36 activator: plain-ad625875.example.test: woke in 9ms: checks 0s, lease 2ms, restore 0s, identity 0s, protect 1ms, spawn 2ms, replicate 5ms
2026/11/30 16:52:36 activator: next-due probe shop-ad625875.example.test: decode /api/next-due: invalid character 'b' looking for beginning of value — recording none (it sleeps until a request)
2026/11/30 16:52:36 activator: shop-ad625875.example.test: released with a marker (clean true, txid 2, files 3:7a37320c3c6452b438f92b1c345ac0f2e658f7fec79eca54110a9babc3ff04f2) in 4ms: files 1ms, sync 0s, record 1ms, marker 2ms
2026/11/30 16:52:36 activator: shop-ad625875.example.test hibernated
2026/11/30 16:52:36 tenant admission is closed for shutdown
2026/11/30 16:52:36 activator: next-due probe plain-ad625875.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/30 16:52:36 activator: plain-ad625875.example.test hibernated
--- PASS: TestHeldHandoverTwoBoxMinio (0.52s)
=== RUN TestHeldHandoverLostLeaseMinio
2026/11/30 16:52:36 edge: mesh key: minted
2026/11/30 16:52:36 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/30 16:52:36 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/30 16:52:36 tenant admission is open. accepting tenant work
2026/11/30 16:52:36 activator: HA placement host=shop-bff2f6d0.example.test kind=Place ref=annie reason=roomiest generation=2026-11-30T16:52:36Z lock_generation=0
2026/11/30 16:52:36 lease: t8-bff2f6d0/shop-bff2f6d0.example.test: HA lease acquired in 3ms (first wake)
2026/11/30 16:52:36 activator: shop-bff2f6d0.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/30 16:52:36 activator: shop-bff2f6d0.example.test: started carlos-instance@shop\x2dbff2f6d0.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/30 16:52:36 activator: shop-bff2f6d0.example.test: carlos-instance@shop\x2dbff2f6d0.example.test.service launched in 7ms, healthy 0s later
2026/11/30 16:52:36 activator: shop-bff2f6d0.example.test: woke in 69ms: checks 0s, lease 4ms, restore 0s, identity 0s, protect 0s, spawn 7ms, replicate 57ms
2026/11/30 16:52:37 activator: next-due probe shop-bff2f6d0.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/30 16:52:37 activator: final checkpoint shop-bff2f6d0.example.test: lease: release marker owed for s3://contract-bucket/t8-bff2f6d0/shop-bff2f6d0.example.test/lock.json (If-Match "8a225f040453364c24ea90f05448b9e2"): lease: write release marker: operation error S3: PutObject, https response error StatusCode: 503, RequestID: , HostID: , api error ServiceUnavailable: witness: refused
2026/11/30 16:52:37 activator: shop-bff2f6d0.example.test hibernated
2026/11/30 16:52:37 activator: handover of shop-bff2f6d0.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-bff2f6d0.example.test client 4 "
hadrain_twobox_minio_linux_test.go:1486: driver calls: [begin shop-bff2f6d0.example.test <nil> releasing shop-bff2f6d0.example.test <nil> stop shop-bff2f6d0.example.test marker=false clean=false <nil> left shop-bff2f6d0.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/30 16:52:37 tenant admission is closed for shutdown
2026/11/30 16:52:37 http: proxy error: context canceled
--- PASS: TestHeldHandoverLostLeaseMinio (0.32s)
PASS
ok github.com/carlosframework/platform/internal/host 0.887s
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/30 16:52:38 lease: instances/gen-1796057558300841934.shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/30 16:52:38 lease: instances/gen-1796057558300841934.shop.example.com: HA lease acquired in 2ms (holder terminated)
gentake_minio_test.go:308: a second create-only copy onto instances/gen-1796057558300841934.shop.example.com/g-00000000000000000002/0000/0000000000000001-0000000000000001.ltx: <nil> (destination condition honoured: false)
2026/11/30 16:52:38 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/30 16:52:38 ERROR retention enforcement failed system=store db=w.example.com.db error="enforce snapshot retention: fetch ltx files: lease: a write has waited too long to reach storage (write fence)"
=== RUN TestGenerationTakeMinio/switch-412
2026/11/30 16:52:38 lease: instances/gen-1796057558427282073.shop.example.com: HA lease acquired in 3ms (first wake)
2026/11/30 16:52:38 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/30 16:52:38 lease: instances/gen-1796057558427282073.shop.example.com: HA lease acquired in 3ms (clean marker)
=== RUN TestGenerationTakeMinio/copy-version
=== RUN TestGenerationTakeMinio/store-time
2026/11/30 16:52:38 lease: instances/gen-1796057558477619321.shop.example.com: HA lease acquired in 3ms (first wake)
2026/11/30 16:52:38 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/30 16:52:38 lease: instances/gen-1796057558477619321.shop.example.com: HA lease acquired in 3ms (clean marker)
2026/11/30 16:52:38 lease: instances/gen-1796057558477619321.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/30 16:52:38 lease: instances/gen-1796057558477619321.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/30 16:52:38 lease: instances/gen-1796057558477619321.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/30 16:52:38 lease: instances/gen-1796057558477619321.shop.example.com: HA lease acquired in 3ms (unclean marker)
=== RUN TestGenerationTakeMinio/skew
--- PASS: TestGenerationTakeMinio (0.29s)
--- PASS: TestGenerationTakeMinio/take (0.13s)
--- 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.300s
minio contract: PASS
=== staticcheck ===
go version go1.26.10 linux/arm64
go: downloading honnef.co/go/tools v0.8.2
go: downloading github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c
go: downloading golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678
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, carlos-vulnscan
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 1m53.577s
codehealth_test.go:107: line metrics (code lines, then physical):
file-lines 5471 7324 internal/activator activator_test.go
file-lines 4191 7043 internal/console server.go
file-lines 4147 6311 . 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 3204 6404 internal/host agent.go
file-lines 3094 3992 internal/provision reconcile_test.go
func-lines 870 891 internal/host plan14InstalledClaimLaunch
func-lines 810 1277 internal/provision Reconcile
func-lines 769 1242 internal/console (*Server).handleAPIInstanceCreate
func-lines 683 1238 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 817 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 733 internal/release PassFilter
func-lines 390 398 internal/host runFilesSeedPreparationWithLive
func-lines 383 406 internal/console TestDemoSourceToLiveAndUpdate
func-lines 374 377 internal/host plan14RequiredArtifactsRootRunner
func-lines 371 417 internal/host TestRootEgressKernelProof
func-lines 369 883 internal/edge (*Edge).ServeHTTP
func-lines 367 584 internal/console (*Server).handleAPIShip
func-lines 364 371 internal/host testRootMigrationBootstrap
func-lines 362 631 cmd/console serve
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 1093 at 474 sites log.Fatal*, (*log.Logger).Fatal* and os.Exit in the root package's production files
codehealth_test.go:115: sleep 1006 at 812 sites time.Sleep in test files
codehealth_test.go:115: db-no-context 873 at 696 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 18586 at 45 sites functions over 300 code lines (blank and comment-only lines not counted)
codehealth_test.go:115: file-lines 30683 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
--- PASS: TestCodeHealth (113.58s)
PASS
ok github.com/carlosframework/platform/internal/codehealth 115.095s
=== code-health-record ===
go version go1.26.10 linux/arm64
code-health record: comparing with the merge base d668a77cdde81e31c09b9ccc1043c9b493d62563 (main is f50cb04c35a1dc7441119df194949d0ad36a144f)
=== RUN TestRecordAgainstBase
--- PASS: TestRecordAgainstBase (0.01s)
PASS
ok github.com/carlosframework/platform/internal/codehealth 0.008s
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.063s
=== internal_rootaws@0 (26 s, from +35 s)
ok github.com/carlosframework/platform/internal/rootaws 25.515s
=== internal_activator@0 (278 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 276.120s
=== internal_activator@1 (245 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 242.948s
=== internal_activator@2 (273 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 271.706s
=== internal_activator@3 (403 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 401.264s
=== internal_activator@4 (287 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 285.414s
=== internal_activator@5 (298 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 296.454s
=== internal_activator@6 (322 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 320.306s
=== internal_activator@7 (438 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 436.716s
=== internal_edge@0 (85 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 81.758s
=== internal_edge@1 (75 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 72.303s
=== internal_edge@2 (205 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 201.553s
=== internal_edge@3 (153 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 149.702s
=== internal_edge@4 (147 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 143.350s
=== internal_edge@5 (286 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 283.028s
=== internal_edge@6 (224 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 220.416s
=== internal_edge@7 (246 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 242.330s
=== internal_edge@8 (224 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 220.631s
=== internal_edge@9 (289 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 285.916s
=== internal_edge@10 (243 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 239.614s
=== internal_edge@11 (239 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 235.821s
=== internal_edge@12 (242 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 238.968s
=== internal_edge@13 (270 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 266.552s
=== internal_edge@14 (171 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 167.910s
=== internal_edge@15 (259 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 255.172s
=== internal_host@0 (15 s, from +198 s)
ok github.com/carlosframework/platform/internal/host 11.676s
=== internal_host@1 (9 s, from +198 s)
ok github.com/carlosframework/platform/internal/host 5.584s
=== lists: internal_edge 135 s, internal_activator 113 s, internal_host 197 s, internal_rootaws 34 s, internal_systemd 14 s
=== cpu: the gate used 7726 cpu-seconds in 553 s, about 14.0 of 32 cores; the machine as a whole was 43% busy
=== gitleaks ===
go version go1.26.10 linux/arm64
go: downloading github.com/zricethezav/gitleaks/v8 v8.30.1
go: downloading github.com/BobuSumisu/aho-corasick v1.0.3
go: downloading github.com/rs/zerolog v1.33.0
go: downloading github.com/hashicorp/go-version v1.7.0
go: downloading golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa
go: downloading github.com/fatih/semgroup v1.2.0
go: downloading github.com/spf13/cobra v1.9.1
go: downloading github.com/Masterminds/sprig/v3 v3.3.0
go: downloading github.com/charmbracelet/lipgloss v0.5.0
go: downloading github.com/spf13/viper v1.19.0
go: downloading github.com/gitleaks/go-gitdiff v0.9.1
go: downloading github.com/h2non/filetype v1.1.3
go: downloading github.com/mholt/archives v0.1.2
go: downloading github.com/lucasb-eyer/go-colorful v1.2.0
go: downloading github.com/muesli/reflow v0.2.1-0.20210115123740-9e1d0d53df68
go: downloading github.com/mattn/go-runewidth v0.0.14
go: downloading golang.org/x/sync v0.11.0
go: downloading github.com/muesli/termenv v0.15.1
go: downloading github.com/mattn/go-colorable v0.1.14
go: downloading dario.cat/mergo v1.0.1
go: downloading github.com/Masterminds/semver/v3 v3.3.0
go: downloading github.com/Masterminds/goutils v1.1.1
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading golang.org/x/crypto v0.35.0
go: downloading github.com/spf13/cast v1.7.1
go: downloading github.com/shopspring/decimal v1.4.0
go: downloading github.com/huandu/xstrings v1.5.0
go: downloading github.com/spf13/pflag v1.0.6
go: downloading github.com/fsnotify/fsnotify v1.8.0
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/sagikazarmark/slog-shim v0.1.0
go: downloading github.com/pelletier/go-toml/v2 v2.2.3
go: downloading github.com/magiconair/properties v1.8.9
go: downloading github.com/subosito/gotenv v1.6.0
go: downloading github.com/spf13/afero v1.12.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading golang.org/x/sys v0.30.0
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: downloading golang.org/x/text v0.22.0
go: downloading github.com/andybalholm/brotli v1.1.2-0.20250424173009-453214e765f3
go: downloading github.com/klauspost/compress v1.17.11
go: downloading github.com/klauspost/pgzip v1.2.6
go: downloading github.com/bodgit/sevenzip v1.6.0
go: downloading github.com/pierrec/lz4/v4 v4.1.21
go: downloading github.com/therootcompany/xz v1.0.1
go: downloading github.com/STARRY-S/zip v0.2.1
go: downloading github.com/minio/minlz v1.0.0
go: downloading github.com/ulikunitz/xz v0.5.12
go: downloading github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707
go: downloading github.com/nwaples/rardecode/v2 v2.1.0
go: downloading github.com/sorairolake/lzip-go v0.3.5
go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1
go: downloading github.com/bodgit/windows v1.0.1
go: downloading go4.org v0.0.0-20230225012048-214862532bf5
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/bodgit/plumbing v1.3.0
go: downloading github.com/hashicorp/golang-lru/v2 v2.0.7
go: downloading github.com/hashicorp/errwrap v1.1.0
self-test: reported source file: a key
self-test: reported source file: a 64-hex key
self-test: reported source file: a census-shaped entry
self-test: reported source file: a key marked gitleaks:allow
self-test: reported source file: a test's fake value outside tests
self-test: reported allowed file: another key beside its allowed value
self-test: reported a tracked file named gitleaks-gate-sentinel.env
self-test: reported 100 near misses of the names notscanned.go lists
self-test: skipped the 33 files notscanned.go lists
self-test: refused a notscanned.go entry git does not track
self-test: refused a config that does not parse
self-test: refused a config that does not exist
self-test: refused a missing gitleaks binary
self-test: 6 planted keys reported, 134 tracked files judged, 3 broken setups refused
gitleaks: scanned 12030 tracked files; 33 not scanned, by exact path (scripts/gitleaks-gate/notscanned.go)
gitleaks: clean
diff --git a/docs/superpowers/notes/census-claims-demo-disk-slice1-retention.tsv b/docs/superpowers/notes/census-claims-demo-disk-slice1-retention.tsv| index cd2a41872..21e4226c2 100644 |
| --- a/docs/superpowers/notes/census-claims-demo-disk-slice1-retention.tsv |
| +++ b/docs/superpowers/notes/census-claims-demo-disk-slice1-retention.tsv |
| @@ -1,12 +1,8 @@ |
| internal/host/agent.go:statusLoop the agent (carlos-edge.service, user carlos): the status tick also fills Probes.DemoDisk from readDemoDisk(), nil unless CARLOS_DEMO_BOX is set; statfs of /data and /run, and root's public retention record (readDemoBuilds); report only; no store request added; read sites unchanged |
| internal/status/snapshot.go:CollectBox copies Probes.DemoDisk into BoxMetrics.DemoDisk (json demo_disk, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added |
| -cli.go:printDemoDisk operator CLI (carlos status --live), not root: prints a published box snapshot's demo_disk numbers; reads only the decoded snapshot in hand |
| internal/host/demodisk_status.go:productionDemoDiskProbe the agent (user carlos), not root: opens root's public record directory /var/lib/carlos-release/demo-retention read-only through rootstate.Open(dir, false, true) (every ancestor root-owned, not group or world writable); report only |
| -internal/host/demodisk_status.go:readDemoBuilds the agent (user carlos): reads the record 'status' from that rootstate store (descriptor read, trusted owner, 1 MiB cap) and decodes it; schema 1 or an error; report only, nothing reads it as authority |
| -internal/host/demoretention.go:demoRetention.saveStatus root adopt pass: reads its own previous record from the public root store /var/lib/carlos-release/demo-retention (rootstate, created root-owned 0755, file 0644) to carry the backlog's start, and writes the new record there; status only, never read back as a pin or a decision |
| internal/host/statfs_unix.go:filesystemRoom the agent (user carlos): statfs of /data and /run for status and the disk alert; numbers only |
| internal/release/adopt.go:passConfig.stageWriteCheck root adopt pass and agent passes: generationWriteCheck unchanged first; then, only when WithBeforeStage is set (root's adopt pass only), Lstat of the VersionPath about to be written and the callback when nothing is there; an error fails the stage (nothing written, route unchanged) |
| -internal/host/demoretention.go:demoRetention.pinSet root adopt pass: the pin set from every source: release.BoxPins over every registry row (live link chains; Version, PrevVersion, GoodVersion, settings references), previous links (linkTargets), release.GenerationPins over the generations file, and root's generation ledger (productionRootGenerationPins). Strict: any source that does not read in full is an error and nothing is deleted, except BoxPins' IncompleteRefsError, whose pins it keeps and returns so the caller holds only the apps the error covers (as adopt.go's restage does with inc.Covers). Pins only ever keep builds; what may be deleted is chosen by selection from root's own listing, never from a pin. Agent-writable inputs (the registry, the generations file under /data) therefore only ADD protection; the estimate mode (no deletion) only counts. No read added |
| internal/host/demoretention.go:demoRetention.listOutputs root adopt pass: ReadDir of <opt>/versions (root-owned) and of <opt>/versions/<ver>/<demo account> for each ValidVersion directory; each entry name, less .manifest.json, must pass validDemoName (tmp-demo- + demo.ValidPublicName: one path component, no "." or "..") before it is used; DirEntry.Info for sizes. ENOENT/ENOTDIR skip. Reads no registry input |
| internal/host/demoretention.go:linkTargets root adopt pass: ReadDir, Readlink and EvalSymlinks of the root-owned <opt>/previous and <opt>/live links, as release.LivePins reads them for the sweep (replaces previousLinkPins, same reads); an unreadable link is an error and nothing is deleted |
| internal/host/demoretention.go:demoOutput.spellings root adopt pass: EvalSymlinks of an output's directory <opt>/versions/<ver>/<demo account>, every component validated (ValidVersion, BoxConfig account, validDemoName), so an output is compared under the store's spelling and its real path; reads no registry input |
| @@ -17,7 +13,11 @@ internal/release/adopt.go:PassFilter the stage check's beforeWrite is cfg.stageW |
| internal/release/adopt.go:type passConfig adds the beforeStage callback field (WithBeforeStage) and the admitRoute field (WithRouteAdmission), both set only by root's adopt pass; reads nothing |
| internal/release/adopt.go:WithRouteAdmission new PassOption: wraps fn so a refusal is printed once per host (rt.Host) and returns whether the route is admitted; reads only the Route handed to it, no file, store or registry read |
| internal/release/adopt.go:passConfig.routeAdmitted new: true without an admission option, otherwise the admission's answer for the Route in hand; reads nothing else |
| -internal/host/demoretention.go:demoRetention.admitRoute root adopt pass, new: the demo admission asked of every route before the release pass does anything with it. Refuses a tmp-demo- route (rt.App, RouteAccount) on a box whose host.env demo settings do not validate (boxErr); and, on a demo box, a route of the demo account when the demo account is the ops account, the app is not a valid demo name, or the pass does not hold the adopt pass lock. Only refuses: a registry row can never be admitted by it that would not be otherwise; reads only the Route in hand and root's own config |
| -internal/host/demoretention.go:demoRetention.selection root adopt pass: eligibility only from root's facts: demoAccount (host.env, never the ops account) and listOutputs' listing of its own store. Registry rows (List; App, Version, the route for RouteAccount and validDemoRow) only ADD protection: their pins, and a hold: a row of the demo account that is not a valid demo binding, or an app BoxPins' IncompleteRefsError covers, holds the app (nothing removed, backlog counted, named with its reason in the record, its next stage refused). Adoption for "in flight" comes from root's live links; rows' Version only in the deleting-nothing estimate. No registry string reaches a filesystem path |
| internal/host/demoretention.go:productionDemoRetention root adopt pass: demo.BoxConfig from host.env (root-owned), now also keeping its error (boxErr) so a box that says it is a demo box with invalid settings refuses demo adoption; the version store and generations file paths, root's generation ledger, and the record store opener rootstate.Open(/var/lib/carlos-release/demo-retention, true, true) |
| internal/host/demodisk_status.go:const#1 the agent (user carlos): diskWhereData, diskWhereDataInodes, diskWhereRun, diskWhereRunInodes, the names the disk alert gives what it measured; literals only |
| +cli.go:printDemoDisk operator CLI (carlos status --live), not root: prints a published box snapshot's demo_disk numbers; final round: also prints each held app (DemoBuilds.Held) even at zero backlog, and drops "the next adopt pass tries again" when an app is held; reads only the decoded snapshot in hand |
| +internal/host/demodisk_status.go:readDemoBuilds the agent (user carlos): reads the record 'status' from root's public rootstate store (descriptor read, trusted owner, 1 MiB cap) and decodes it; schema 1 or an error; final round: also carries the record's Held list into status.DemoBuilds; report only, nothing reads it as authority |
| +internal/host/demoretention.go:demoRetention.admitRoute root adopt pass: the demo admission asked of every route before the release pass does anything with it; refuses a tmp-demo- route on a box whose host.env demo settings do not validate (boxErr; the message now names CARLOS_DEMO_BOX and the tuple), and on a demo box a route of the demo account when the demo account is the ops account, the name is not a demo name, or the pass does not hold the adopt pass lock. Only refuses; reads only the Route in hand and root's own config |
| +internal/host/demoretention.go:demoRetention.pinSet root adopt pass: the pin set from every source: release.BoxPins over every registry row (live link chains; Version, PrevVersion, GoodVersion, settings references), previous links (linkTargets), release.GenerationPins over the generations file, and root's generation ledger. Final round: the two generation sources' pins are also returned apart (reserved), so the backlog can count an app's reserved outputs toward its G + R; the same reads. Strict: any source that does not read in full is an error, except BoxPins' IncompleteRefsError, returned for the caller to hold the apps it covers. Pins only ever keep builds; agent-writable inputs only ADD protection |
| +internal/host/demoretention.go:demoRetention.saveStatus root adopt pass: reads its own previous record from the public root store /var/lib/carlos-release/demo-retention to carry the backlog's start, and writes the new record there; final round: the record also carries Held (each held app and why), kept from the previous record when nothing read; status only, never read back as a pin or a decision |
| +internal/host/demoretention.go:demoRetention.selection root adopt pass: eligibility only from root's facts (demoAccount, listOutputs' listing of its own store). Registry rows (List; App, Version, the route for RouteAccount and validDemoRow) only ADD protection: pins, and holds. Final round: the added sites list the held apps of the demo account for the record (a row's App, validated by validDemoName, and its account), whether or not they have outputs, and mark outputs covered by the generation sources as reserved for the backlog. No registry string reaches a filesystem path; nothing here makes an output eligible |
diff --git a/docs/superpowers/notes/census-proposal-demo-disk-slice1-retention.md b/docs/superpowers/notes/census-proposal-demo-disk-slice1-retention.md| index 657f911f4..d83b7e4c5 100644 |
| --- a/docs/superpowers/notes/census-proposal-demo-disk-slice1-retention.md |
| +++ b/docs/superpowers/notes/census-proposal-demo-disk-slice1-retention.md |
| @@ -34,7 +34,7 @@ New dispositions, which census-propose wrote and the reviewer checks against the |
| - new `internal/host/demoretention.go:demoRetention.listOutputs`: reads +file:ReadDir ×2; written legacy, accepted-legacy, frozen |
| - new `internal/host/demoretention.go:demoRetention.pinSet`: reads +registry:App ×2, +registry:GoodVersion, +registry:PrevVersion, +registry:Version, +whole:Route ×5; written legacy, accepted-legacy, frozen |
| - new `internal/host/demoretention.go:demoRetention.saveStatus`: reads +file:Read; written legacy, accepted-legacy, frozen |
| -- new `internal/host/demoretention.go:demoRetention.selection`: reads +registry:App ×3, +registry:Version ×2, +whole:Route ×6; written legacy, accepted-legacy, frozen |
| +- new `internal/host/demoretention.go:demoRetention.selection`: reads +registry:App ×6, +registry:Version ×2, +whole:Route ×8; written legacy, accepted-legacy, frozen |
| - new `internal/host/demoretention.go:demoRetention.validDemoRow`: reads +registry:App, +registry:DemoExpiresAt, +registry:DemoHost, +registry:DemoID, +registry:DemoLifetime ×2, +registry:Host, +whole:Route; written legacy, accepted-legacy, frozen |
| - new `internal/host/demoretention.go:linkTargets`: reads +file:EvalSymlinks, +file:ReadDir, +file:Readlink; written legacy, accepted-legacy, frozen |
| - new `internal/host/demoretention.go:productionDemoRetention`: reads +file:Open; written legacy, accepted-legacy, frozen |
| @@ -43,6 +43,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the |
| - new `internal/release/adopt.go:passConfig.routeAdmitted`: reads +whole:Route; written legacy, accepted-legacy, frozen |
| - new `internal/release/adopt.go:passConfig.stageWriteCheck`: reads +file:Lstat; written legacy, accepted-legacy, frozen |
| -Seal: `c9940b1b6fb0146a30a2fb2b557f898ac6d28ba80df7dfe642cc623b581f347b` → `9cc1167bb5e344fa048d6b743784f0755408015a9fe397e3d540e194aac1a8b6`. |
| +Seal: `c9940b1b6fb0146a30a2fb2b557f898ac6d28ba80df7dfe642cc623b581f347b` → `582453bbd487007038a5ac89ffe3ff286e3537098ae507d5280d91542bc770ac`. |
| Overlay: `internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`. |
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv| index 79d4444a3..747781b0f 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-chain.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-chain.tsv |
| @@ -313,4 +313,4 @@ plan14-root-reads-gvisor-slice2-explicit-mode.tsv ed1957bc7d18714e39984e757b73b8 |
| plan14-root-reads-public-share.tsv ed1957bc7d18714e39984e757b73b8c590f1a2a924ca35e20e9041fc09f2ca78 |
| plan14-root-reads-gvisor-slice3-containment.tsv 0fdff597ef83fb9966e07c70b4283001eb97f7dfa71a83a19bde92382192eb6b |
| plan14-root-reads-catchall-stamp-now.tsv c9940b1b6fb0146a30a2fb2b557f898ac6d28ba80df7dfe642cc623b581f347b |
| -plan14-root-reads-demo-disk-slice1-retention.tsv 9cc1167bb5e344fa048d6b743784f0755408015a9fe397e3d540e194aac1a8b6 |
| +plan14-root-reads-demo-disk-slice1-retention.tsv 582453bbd487007038a5ac89ffe3ff286e3537098ae507d5280d91542bc770ac |
diff --git a/internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv b/internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv| index c4bbd198b..b37a6c30c 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv |
| @@ -3,17 +3,17 @@ |
| # 18 new dispositions: 0 reads re-frozen at their disposition with the claim, 18 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other. |
| @legacy c7b088568fd27e4c9c9f090b19d9362dca7b0e447695d329364cecf71b1e7971 internal/host/agent.go statusLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's context carries the box's lifetime judge; read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 953b9fda (its later changes, regional box names and self-serve moves plan 1 among them, under main's own census rulings), where the tick fills rootfs_ready and rootfs_blocked from armedRootfs.Load().probe, which each tick runs NestedOK's checks and asks the control socket's GET /ready/rootfs (never the store); the same four direct sites;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: takes root's GET /egress reader and fills p.Egress = egressStatusProbe(egressStatus, routes, provision.PolicyReadStates()) and p.SizeCommittedMiB = sizeCommittedMiB(armedSizeSource.Load(), routes); the two added whole:Route sites are the tick's own registry list handed to those two units (decision rows), which read root's control socket and the activator's memory; no store request added; the four existing sites unchanged, offsets moved.;rev3=census-ruling-fleet-alerts-1;basis=the agent (carlos-edge.service, user carlos): the status tick passes os.Geteuid() to alertDeliveryProbe, which fills AlertDelivery.EngineBeat/EngineBeatWhy from engineBeatArmed (the env value and the euid only, no file access, root refused before the path is looked at), and fills Probes.DiskFullETAHours from diskETAProbe(&processDiskTrend, now), a Theil-Sen fit over the metrics loop's in-memory ring of disk readings; the same six sites, no read added, no store request added;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's Probes gain HeldStreams: heldStreamsState(), which calls the edge's in-memory counters function (nil until the edge is ready). No file, bucket or registry access added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: read the detached in-memory replica snapshot source into Probes.ReplicaCopies on the existing five-minute tick. Existing six direct read sites unchanged. No additional bucket request, changed cadence or app lifecycle action.;rev3=census-ruling-agent-start-demo-3;basis=Report moved capability only when the serving edge reports readiness; report claim-seed support only with CARLOS_DEMO_CLAIM=1. Reads the explicit capability flag from the process environment; no new filesystem or registry read.;rev3=census-ruling-stateless-replicas-4-task5;basis=Task 5 fix round 1 (#511 R16 amendment): the status tick also fills Probes.ApplyFinished from systemApplyFinished(release.OptDir()), an Lstat of root's apply journal <opt>/system/router/journal.json in the root-owned, world-readable state directory: finished only when the journal is absent, any other answer unknown and so unfinished. Round 0: Probes.PrevRelease from prevReleaseOf (carlos.prev and carlos.prev.version, the files withMovesFields already reads). Reported in the private BoxMetrics block; no bucket request or cadence change.;rev3=census-ruling-offline-move-stage-refusals-339;basis=#339: the agent (carlos-edge.service, user carlos): the status tick fills p.OfflineMove = offlineMoveFactsProbe(routes); the added whole:Route site is the tick's own registry list handed to that unit, which under a non-root euid lists the names of root's <opt>/live and nothing else; no store request added.;rev3=census-ruling-platform-mail-submission;basis=Task 3 (plan gap G6 (b)): the status tick also fills Probes.MailerArmed from mailerArmed(mailwire.MailerSocket, 2s): a stat of /run/carlos-mailer/mailer.sock and, only when it is a socket, GET /v1/health on it. The agent (carlos-edge.service, user carlos), not root; reported in the private BoxMetrics block only. The same seven sites; no store request, no read of /etc/carlos-mailer (which uid carlos cannot traverse).;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 6: the agent (carlos-edge.service, user carlos) fills Probes.NamedUnits from readNamedUnitsStatus: rootstate.Open(/var/lib/carlos-named-units, false, true) status.json, 64 KiB cap, any error nil; report only, nothing reads it as authority; no store request added; the same sites;rev3=census-ruling-console-addr-from-install;basis=sets Probes.ConsoleFleet from consoleFleetProbe (root public store read, edge in-memory state); no read added in this unit;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (carlos-edge.service, user carlos): the status tick also fills Probes.DemoDisk from readDemoDisk(), nil unless CARLOS_DEMO_BOX is set; statfs of /data and /run, and root's public retention record (readDemoBuilds); report only; no store request added; read sites unchanged whole:Route@10707,whole:Route@12781,whole:Route@13062,whole:Route@13420,whole:Route@6583,whole:Route@6610,whole:Route@7918 1b271f453a4718ca5fb64f513ec22acdd2550bc8cb4cfb021ea9c8ec7300df64 |
| @legacy 0fd651fe1d76c34ae70bec021d3f5e3d6e7ebadac8f1a96350f9e11eb77d8b64 internal/status/snapshot.go CollectBox legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-2;basis=copies Probes.RootfsReady and RootfsBlocked into BoxMetrics (private, like Layout); the same 28 sites, no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: copies Probes.Egress and Probes.SizeCommittedMiB into BoxMetrics (private, like Layout) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate count is left as is (display);rev3=census-ruling-regional-domains-447;basis=#447 Task 7: copies Probes.AliasesRead into BoxMetrics.AliasesRead (json aliases_read, omitempty) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-fleet-alerts-1;basis=copies Probes.DiskFullETAHours into BoxMetrics.DiskFullETAHours (json disk_full_eta_hours, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-edge-held-streams;basis=copies Probes.HeldStreams into BoxMetrics.HeldStreams (json held_streams, omitempty, additive) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: carry already-supplied ReplicaCopies into a separate optional private BoxMetrics replica_copies field; allow copy evidence alone to create the metrics block. Upstreams retains address probes only. Existing 28 Route read sites unchanged; no filesystem, bucket, console or CLI read.;rev3=census-ruling-agent-start-demo-3;basis=Report claim-seed protocol capability only when explicitly configured and runtime moved readiness only when armed; dormant status keeps its original JSON shape. Census read-site delta: unchanged (28).;rev3=census-ruling-stateless-replicas-4-task5;basis=Task 5 (#511 R16 and its amendment): copies Probes.PrevRelease and Probes.ApplyFinished into BoxMetrics (json prev_release and apply_finished, omitempty; private, like Release) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-offline-move-stage-refusals-339;basis=#339: copies Probes.OfflineMove into BoxMetrics.OfflineMove (json offline_move, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-platform-mail-submission;basis=Task 3: copies Probes.MailerArmed into BoxMetrics.MailerArmed (json mailer_armed, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 6: copies Probes.NamedUnits into BoxMetrics.NamedUnits (json named_units, omitempty; private) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-fleet-seeded-create-2;basis=Copies Probes.SeedsFloor into BoxMetrics.SeedsFloor and counts it in the metrics gate; a pure copy of a value the agent filled, the same 28 read sites, no read added.;rev3=census-ruling-console-addr-from-install;basis=copies Probes.ConsoleFleet into BoxMetrics (private); no read added;rev3=census-ruling-demo-disk-slice1-retention;basis=copies Probes.DemoDisk into BoxMetrics.DemoDisk (json demo_disk, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added registry:Alias@4543,registry:CertExpiresAt@3160,registry:CertExpiresAt@3396,registry:CertExpiresAt@4658,registry:DBPath@2495,registry:DBPath@2553,registry:DNSCheckedAt@3365,registry:DNSCheckedAt@4627,registry:DNSStatus@3139,registry:DNSStatus@3334,registry:DNSStatus@4597,registry:Hibernate@3853,registry:Host@2295,registry:Host@2437,registry:Host@2666,registry:Host@3280,registry:Host@3315,registry:Host@4578,registry:Kind@2473,registry:Kind@3807,registry:Platform@2152,registry:ServingVersion@2324,registry:ServingVersion@2447,registry:Socket@4066,registry:Version@2186,registry:Version@2305,whole:Route@1581,whole:RouteAlias@4440 f001b427c01c4ee280a8d848eaaf60de952ecdfb3f2c6108f7c105f89a51efbf |
| -@legacy bb12acb7b402f19403f40d0b9ec14cd97989bb5d93e9a07d111eb6bc3648c582 cli.go printDemoDisk legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=operator CLI (carlos status --live), not root: prints a published box snapshot's demo_disk numbers; reads only the decoded snapshot in hand data-literal@195 ed2577c68d95ca5a6ebba28e905a65115ff335bc36aecca1e2c415ed98fb6fff |
| +@legacy 33e9339fd9c68f8111a3752a6c4f4a231701da32dc326e871f3bf6db056c705c cli.go printDemoDisk legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=operator CLI (carlos status --live), not root: prints a published box snapshot's demo_disk numbers; final round: also prints each held app (DemoBuilds.Held) even at zero backlog, and drops "the next adopt pass tries again" when an app is held; reads only the decoded snapshot in hand data-literal@195 cb3b0e70cb743b0008caa2192534c3e5b10c3d18f77d76b7be3270a5c008db25 |
| @legacy ab78a1ae4f96b53be710038f91ee604c98f454164713853d5197c6c5e63113fe internal/host/demodisk_status.go const#1 legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): diskWhereData, diskWhereDataInodes, diskWhereRun, diskWhereRunInodes, the names the disk alert gives what it measured; literals only data-literal@31,data-literal@62 8f6c997ccd711c80af2e16ffd9f9f1a5e70ae76a3f9936473baba389f9f0e92a |
| @legacy 247e50229523fd4ee12c49fd765420996ceb6a5bc27924b5f0e0c496faf16b5b internal/host/demodisk_status.go productionDemoDiskProbe legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos), not root: opens root's public record directory /var/lib/carlos-release/demo-retention read-only through rootstate.Open(dir, false, true) (every ancestor root-owned, not group or world writable); report only file:Open@208 f8df171d9a2ff2d96b73c63f4618d035230acc4b8f244dd7f377184686e4933f |
| -@legacy f6953a7fa7a4f22ae5896f799b9a9bebcbcbecef7b0a39752a60dc8bfff5dd1a internal/host/demodisk_status.go readDemoBuilds legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): reads the record 'status' from that rootstate store (descriptor read, trusted owner, 1 MiB cap) and decodes it; schema 1 or an error; report only, nothing reads it as authority file:Read@174 213c08b6d79b17ca25b94b815815bd0c7dfbeaa8664aafbfc8419fab2b2679ca |
| +@legacy e3040c2b2f48acc545d68138008bee438e17fb174c6c4f64ae35a01bc2995225 internal/host/demodisk_status.go readDemoBuilds legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): reads the record 'status' from root's public rootstate store (descriptor read, trusted owner, 1 MiB cap) and decodes it; schema 1 or an error; final round: also carries the record's Held list into status.DemoBuilds; report only, nothing reads it as authority file:Read@174 15a3c227b3a4736eb19d12d14b8318e49c092516d5584e04b216ea09a4da110c |
| @legacy 0ac932962fab419bed6119c5551a9e092609eb41a00e2af64a6c480887b72b5c internal/host/demoretention.go demoOutput.spellings legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: EvalSymlinks of an output's directory <opt>/versions/<ver>/<demo account>, every component validated (ValidVersion, BoxConfig account, validDemoName), so an output is compared under the store's spelling and its real path; reads no registry input file:EvalSymlinks@118 abd6ff6fe0d0ffdd5989669aee8fcfc27713785a0a1bb6eb168bffa6a9975619 |
| -@legacy 10303deef46173bb1d05926aa7c3e1a26e6df925d71c01e801d5222c75359dc9 internal/host/demoretention.go demoRetention.admitRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass, new: the demo admission asked of every route before the release pass does anything with it. Refuses a tmp-demo- route (rt.App, RouteAccount) on a box whose host.env demo settings do not validate (boxErr); and, on a demo box, a route of the demo account when the demo account is the ops account, the app is not a valid demo name, or the pass does not hold the adopt pass lock. Only refuses: a registry row can never be admitted by it that would not be otherwise; reads only the Route in hand and root's own config registry:App@443,registry:App@533,registry:App@97,whole:Route@325 9ad40d8642d06156be0eb97d7a3a27c2b1cf05e6935b0e3614f987ee38058f7a |
| +@legacy 55a515e9c574540696aeeae0772d4765551383ab309c8657c87b843b8d35311a internal/host/demoretention.go demoRetention.admitRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: the demo admission asked of every route before the release pass does anything with it; refuses a tmp-demo- route on a box whose host.env demo settings do not validate (boxErr; the message now names CARLOS_DEMO_BOX and the tuple), and on a demo box a route of the demo account when the demo account is the ops account, the name is not a demo name, or the pass does not hold the adopt pass lock. Only refuses; reads only the Route in hand and root's own config registry:App@537,registry:App@627,registry:App@97,whole:Route@419 1ac86a2725440d387be4e9e543c5c678c975100fd6635ec70d2c190269d84e34 |
| @legacy df495c4d0cc6f5494f9a12341c1bdfce091f16df8b457eb18e3831a7ab81b4a0 internal/host/demoretention.go demoRetention.demoAdoptions legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: lists the registry and keeps the Host and Version of each row of the demo account whose App has the tmp-demo- prefix, to tell after the pass whether it adopted a demo version; decides only whether retention runs, never what it removes registry:App@314,registry:Host@347,registry:Version@358,whole:Route@237,whole:Route@272 1473fe874967ccf4538aed1887b15a9104427e1d0a6e1a537346146e7f7a5ea3 |
| @legacy bba2b7a4d6bcc185d81068b0d2a0b1c8fa54b5109ab775561471222c3e018607 internal/host/demoretention.go demoRetention.listOutputs legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: ReadDir of <opt>/versions (root-owned) and of <opt>/versions/<ver>/<demo account> for each ValidVersion directory; each entry name, less .manifest.json, must pass validDemoName (tmp-demo- + demo.ValidPublicName: one path component, no "." or "..") before it is used; DirEntry.Info for sizes. ENOENT/ENOTDIR skip. Reads no registry input file:ReadDir@142,file:ReadDir@394 4febf4eebc952074eee6b0e52a97270a3e8c850e009a1db35f406c856a90a4f8 |
| -@legacy 3307966ef728ffb0fbcccc25c92e042eb4def1c10a50b9ef7c1166cc1c5a8b92 internal/host/demoretention.go demoRetention.pinSet legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: the pin set from every source: release.BoxPins over every registry row (live link chains; Version, PrevVersion, GoodVersion, settings references), previous links (linkTargets), release.GenerationPins over the generations file, and root's generation ledger (productionRootGenerationPins). Strict: any source that does not read in full is an error and nothing is deleted, except BoxPins' IncompleteRefsError, whose pins it keeps and returns so the caller holds only the apps the error covers (as adopt.go's restage does with inc.Covers). Pins only ever keep builds; what may be deleted is chosen by selection from root's own listing, never from a pin. Agent-writable inputs (the registry, the generations file under /data) therefore only ADD protection; the estimate mode (no deletion) only counts. No read added registry:App@1094,registry:App@970,registry:GoodVersion@935,registry:PrevVersion@919,registry:Version@907,whole:Route@1086,whole:Route@1357,whole:Route@453,whole:Route@822,whole:Route@866 7df9b9a3378406fe44cc7365f8c47b71683948f1548e5e1a520d68b9a3cc8006 |
| -@legacy 5b539f056a2aee18af105158c54ab5559b1709831ced2a1598c0352ed9366bca internal/host/demoretention.go demoRetention.saveStatus legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: reads its own previous record from the public root store /var/lib/carlos-release/demo-retention (rootstate, created root-owned 0755, file 0644) to carry the backlog's start, and writes the new record there; status only, never read back as a pin or a decision file:Read@289 5bb8a4f44a6b268632d4351409ea113646844e7224b08d3862b656172a8e28d3 |
| -@legacy c09c372194650f83e8903d1a6cdd9f4ba5c2cff7da0a5fa0af09e1425e1bc490 internal/host/demoretention.go demoRetention.selection legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: eligibility only from root's facts: demoAccount (host.env, never the ops account) and listOutputs' listing of its own store. Registry rows (List; App, Version, the route for RouteAccount and validDemoRow) only ADD protection: their pins, and a hold: a row of the demo account that is not a valid demo binding, or an app BoxPins' IncompleteRefsError covers, holds the app (nothing removed, backlog counted, named with its reason in the record, its next stage refused). Adoption for "in flight" comes from root's live links; rows' Version only in the deleting-nothing estimate. No registry string reaches a filesystem path registry:App@1553,registry:App@1578,registry:App@843,registry:Version@1527,registry:Version@1587,whole:Route@1455,whole:Route@1491,whole:Route@457,whole:Route@760,whole:Route@795,whole:Route@826 03f4f9676efdfa8971bb77e60f13dfeebf7f7ef84cf49125c1f79f7e25486f1b |
| +@legacy f60b04c33eff198ca9dfc5bf8731b6dbb4654f934ab5d57309205ea1caadef05 internal/host/demoretention.go demoRetention.pinSet legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: the pin set from every source: release.BoxPins over every registry row (live link chains; Version, PrevVersion, GoodVersion, settings references), previous links (linkTargets), release.GenerationPins over the generations file, and root's generation ledger. Final round: the two generation sources' pins are also returned apart (reserved), so the backlog can count an app's reserved outputs toward its G + R; the same reads. Strict: any source that does not read in full is an error, except BoxPins' IncompleteRefsError, returned for the caller to hold the apps it covers. Pins only ever keep builds; agent-writable inputs only ADD protection registry:App@1265,registry:App@1389,registry:GoodVersion@1230,registry:PrevVersion@1214,registry:Version@1202,whole:Route@1117,whole:Route@1161,whole:Route@1381,whole:Route@1657,whole:Route@743 83aaa6181597a48be05e8e2477c96284b2f3cabad5fc8450e76380a19f0aaea7 |
| +@legacy 1c435ce5cac8299a59e9da5224c119661436172b8841a31194ecc10c29386b5d internal/host/demoretention.go demoRetention.saveStatus legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: reads its own previous record from the public root store /var/lib/carlos-release/demo-retention to carry the backlog's start, and writes the new record there; final round: the record also carries Held (each held app and why), kept from the previous record when nothing read; status only, never read back as a pin or a decision file:Read@289 069982567658454b581e2a626d68e8c5f289a5f01c58815f58c9a9ae9dd4baa5 |
| +@legacy 1cf1606aa1d518f12ae5ca8ad3c288cbe9d11d8ce2677d73ebb1d9e52b970f9e internal/host/demoretention.go demoRetention.selection legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: eligibility only from root's facts (demoAccount, listOutputs' listing of its own store). Registry rows (List; App, Version, the route for RouteAccount and validDemoRow) only ADD protection: pins, and holds. Final round: the added sites list the held apps of the demo account for the record (a row's App, validated by validDemoName, and its account), whether or not they have outputs, and mark outputs covered by the generation sources as reserved for the backlog. No registry string reaches a filesystem path; nothing here makes an output eligible registry:App@1505,registry:App@1530,registry:App@2038,registry:App@2064,registry:App@2090,registry:App@798,registry:Version@1479,registry:Version@1539,whole:Route@1407,whole:Route@1443,whole:Route@1974,whole:Route@2009,whole:Route@422,whole:Route@715,whole:Route@750,whole:Route@781 d08029b4f57ebf1d789670f78ae19d06dfdec68d6c9501135fff28c5d7183af1 |
| @legacy 27ae0ae1be154c3291478034dd254fa832cfb41a0dd2f80ac91c3455d517c1a4 internal/host/demoretention.go demoRetention.validDemoRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: reads a registry row's demo descriptor (DemoID, DemoHost, DemoLifetime, DemoExpiresAt), Host, App and account and checks it with demo.Config.ValidateBinding against host.env's tuple. Its only effect is protection: a row of the demo account that fails keeps all of its app's builds; it never makes anything eligible registry:App@249,registry:DemoExpiresAt@157,registry:DemoHost@106,registry:DemoID@89,registry:DemoLifetime@129,registry:DemoLifetime@266,registry:Host@257,whole:Route@244 af1de52349984707d82e62de4f196c0be50ac9a29885e42f66beed160fa5f21a |
| @legacy 7d960279e9455032ecf072dde3ce95035cc673ac8cd34f094d20a8304961c847 internal/host/demoretention.go linkTargets legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: ReadDir, Readlink and EvalSymlinks of the root-owned <opt>/previous and <opt>/live links, as release.LivePins reads them for the sweep (replaces previousLinkPins, same reads); an unreadable link is an error and nothing is deleted file:EvalSymlinks@509,file:ReadDir@77,file:Readlink@323 0174dc32626a8c188a893e048dcc68638192656b854c45e206076bff0b290537 |
| @legacy 4cf360d827e1cc3aec8e519f527aafc500528e22a163a3cc0716cdd7bf978691 internal/host/demoretention.go productionDemoRetention legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: demo.BoxConfig from host.env (root-owned), now also keeping its error (boxErr) so a box that says it is a demo box with invalid settings refuses demo adoption; the version store and generations file paths, root's generation ledger, and the record store opener rootstate.Open(/var/lib/carlos-release/demo-retention, true, true) file:Open@528 100a780d488f0c1f9ace717410a5df3bdf8259014de08b456dc3ad4b43b2a02b |
| @@ -25,17 +25,17 @@ internal/host/agent.go runAdoptUnderRootRelease authority B3,E1,E2,E3 rev3=censu |
| internal/host/agent.go statusLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's context carries the box's lifetime judge; read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 953b9fda (its later changes, regional box names and self-serve moves plan 1 among them, under main's own census rulings), where the tick fills rootfs_ready and rootfs_blocked from armedRootfs.Load().probe, which each tick runs NestedOK's checks and asks the control socket's GET /ready/rootfs (never the store); the same four direct sites;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: takes root's GET /egress reader and fills p.Egress = egressStatusProbe(egressStatus, routes, provision.PolicyReadStates()) and p.SizeCommittedMiB = sizeCommittedMiB(armedSizeSource.Load(), routes); the two added whole:Route sites are the tick's own registry list handed to those two units (decision rows), which read root's control socket and the activator's memory; no store request added; the four existing sites unchanged, offsets moved.;rev3=census-ruling-fleet-alerts-1;basis=the agent (carlos-edge.service, user carlos): the status tick passes os.Geteuid() to alertDeliveryProbe, which fills AlertDelivery.EngineBeat/EngineBeatWhy from engineBeatArmed (the env value and the euid only, no file access, root refused before the path is looked at), and fills Probes.DiskFullETAHours from diskETAProbe(&processDiskTrend, now), a Theil-Sen fit over the metrics loop's in-memory ring of disk readings; the same six sites, no read added, no store request added;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's Probes gain HeldStreams: heldStreamsState(), which calls the edge's in-memory counters function (nil until the edge is ready). No file, bucket or registry access added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: read the detached in-memory replica snapshot source into Probes.ReplicaCopies on the existing five-minute tick. Existing six direct read sites unchanged. No additional bucket request, changed cadence or app lifecycle action.;rev3=census-ruling-agent-start-demo-3;basis=Report moved capability only when the serving edge reports readiness; report claim-seed support only with CARLOS_DEMO_CLAIM=1. Reads the explicit capability flag from the process environment; no new filesystem or registry read.;rev3=census-ruling-stateless-replicas-4-task5;basis=Task 5 fix round 1 (#511 R16 amendment): the status tick also fills Probes.ApplyFinished from systemApplyFinished(release.OptDir()), an Lstat of root's apply journal <opt>/system/router/journal.json in the root-owned, world-readable state directory: finished only when the journal is absent, any other answer unknown and so unfinished. Round 0: Probes.PrevRelease from prevReleaseOf (carlos.prev and carlos.prev.version, the files withMovesFields already reads). Reported in the private BoxMetrics block; no bucket request or cadence change.;rev3=census-ruling-offline-move-stage-refusals-339;basis=#339: the agent (carlos-edge.service, user carlos): the status tick fills p.OfflineMove = offlineMoveFactsProbe(routes); the added whole:Route site is the tick's own registry list handed to that unit, which under a non-root euid lists the names of root's <opt>/live and nothing else; no store request added.;rev3=census-ruling-platform-mail-submission;basis=Task 3 (plan gap G6 (b)): the status tick also fills Probes.MailerArmed from mailerArmed(mailwire.MailerSocket, 2s): a stat of /run/carlos-mailer/mailer.sock and, only when it is a socket, GET /v1/health on it. The agent (carlos-edge.service, user carlos), not root; reported in the private BoxMetrics block only. The same seven sites; no store request, no read of /etc/carlos-mailer (which uid carlos cannot traverse).;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 6: the agent (carlos-edge.service, user carlos) fills Probes.NamedUnits from readNamedUnitsStatus: rootstate.Open(/var/lib/carlos-named-units, false, true) status.json, 64 KiB cap, any error nil; report only, nothing reads it as authority; no store request added; the same sites;rev3=census-ruling-console-addr-from-install;basis=sets Probes.ConsoleFleet from consoleFleetProbe (root public store read, edge in-memory state); no read added in this unit;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (carlos-edge.service, user carlos): the status tick also fills Probes.DemoDisk from readDemoDisk(), nil unless CARLOS_DEMO_BOX is set; statfs of /data and /run, and root's public retention record (readDemoBuilds); report only; no store request added; read sites unchanged whole:Route@10707,whole:Route@12781,whole:Route@13062,whole:Route@13420,whole:Route@6583,whole:Route@6610,whole:Route@7918 1b271f453a4718ca5fb64f513ec22acdd2550bc8cb4cfb021ea9c8ec7300df64 |
| internal/release/adopt.go type passConfig authority E2,E3 E19: both destructive readers use the root reservation snapshot under existing release exclusion. Exact artifact and containing-tree identities are retained; missing completeness refuses destruction. Production installation/launch/kernel completeness and verified retirement remain unfinished. Fixtures: TestPlan14GenerationDeletionCannotUnpin, TestPlan14GenerationSnapshotCompleteness, TestPlan14GenerationSnapshotPermitsUnreservedRestage, TestPlan14GenerationSnapshotPinsContainingTree, TestPlan14GenerationSnapshotEmptyIsUnknown, TestPlan14GenerationConsumerMode, TestPlan14GenerationProductionModeGate, TestPlan14GenerationSnapshotPermitsFreshTree.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=stores the typed census-only root update provider and per-pass resolved input authority;rev3=census-ruling-315;identity=legacy agent pass uid carlos (RootRestartsUnits; never set on carlos adopt);basis=adds the unitsToRoot bool set by RootRestartsUnits; reads nothing;rev3=PROPOSED-s3-change-index;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=adds the pointerGate field, set only by WithPointerGate (the agent's fast sweep); reads nothing;rev3=census-ruling-demo-disk-slice1-retention;basis=adds the beforeStage callback field (WithBeforeStage) and the admitRoute field (WithRouteAdmission), both set only by root's adopt pass; reads nothing 00a3c9397817c34ca0712bf64ed40ae5c65909e63ece3be7cb530addaef6c8f5 |
| internal/status/snapshot.go CollectBox legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-2;basis=copies Probes.RootfsReady and RootfsBlocked into BoxMetrics (private, like Layout); the same 28 sites, no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: copies Probes.Egress and Probes.SizeCommittedMiB into BoxMetrics (private, like Layout) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate count is left as is (display);rev3=census-ruling-regional-domains-447;basis=#447 Task 7: copies Probes.AliasesRead into BoxMetrics.AliasesRead (json aliases_read, omitempty) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-fleet-alerts-1;basis=copies Probes.DiskFullETAHours into BoxMetrics.DiskFullETAHours (json disk_full_eta_hours, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-edge-held-streams;basis=copies Probes.HeldStreams into BoxMetrics.HeldStreams (json held_streams, omitempty, additive) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: carry already-supplied ReplicaCopies into a separate optional private BoxMetrics replica_copies field; allow copy evidence alone to create the metrics block. Upstreams retains address probes only. Existing 28 Route read sites unchanged; no filesystem, bucket, console or CLI read.;rev3=census-ruling-agent-start-demo-3;basis=Report claim-seed protocol capability only when explicitly configured and runtime moved readiness only when armed; dormant status keeps its original JSON shape. Census read-site delta: unchanged (28).;rev3=census-ruling-stateless-replicas-4-task5;basis=Task 5 (#511 R16 and its amendment): copies Probes.PrevRelease and Probes.ApplyFinished into BoxMetrics (json prev_release and apply_finished, omitempty; private, like Release) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-offline-move-stage-refusals-339;basis=#339: copies Probes.OfflineMove into BoxMetrics.OfflineMove (json offline_move, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-platform-mail-submission;basis=Task 3: copies Probes.MailerArmed into BoxMetrics.MailerArmed (json mailer_armed, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 6: copies Probes.NamedUnits into BoxMetrics.NamedUnits (json named_units, omitempty; private) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-fleet-seeded-create-2;basis=Copies Probes.SeedsFloor into BoxMetrics.SeedsFloor and counts it in the metrics gate; a pure copy of a value the agent filled, the same 28 read sites, no read added.;rev3=census-ruling-console-addr-from-install;basis=copies Probes.ConsoleFleet into BoxMetrics (private); no read added;rev3=census-ruling-demo-disk-slice1-retention;basis=copies Probes.DemoDisk into BoxMetrics.DemoDisk (json demo_disk, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added registry:Alias@4543,registry:CertExpiresAt@3160,registry:CertExpiresAt@3396,registry:CertExpiresAt@4658,registry:DBPath@2495,registry:DBPath@2553,registry:DNSCheckedAt@3365,registry:DNSCheckedAt@4627,registry:DNSStatus@3139,registry:DNSStatus@3334,registry:DNSStatus@4597,registry:Hibernate@3853,registry:Host@2295,registry:Host@2437,registry:Host@2666,registry:Host@3280,registry:Host@3315,registry:Host@4578,registry:Kind@2473,registry:Kind@3807,registry:Platform@2152,registry:ServingVersion@2324,registry:ServingVersion@2447,registry:Socket@4066,registry:Version@2186,registry:Version@2305,whole:Route@1581,whole:RouteAlias@4440 f001b427c01c4ee280a8d848eaaf60de952ecdfb3f2c6108f7c105f89a51efbf |
| -cli.go printDemoDisk legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=operator CLI (carlos status --live), not root: prints a published box snapshot's demo_disk numbers; reads only the decoded snapshot in hand data-literal@195 ed2577c68d95ca5a6ebba28e905a65115ff335bc36aecca1e2c415ed98fb6fff |
| +cli.go printDemoDisk legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=operator CLI (carlos status --live), not root: prints a published box snapshot's demo_disk numbers; final round: also prints each held app (DemoBuilds.Held) even at zero backlog, and drops "the next adopt pass tries again" when an app is held; reads only the decoded snapshot in hand data-literal@195 cb3b0e70cb743b0008caa2192534c3e5b10c3d18f77d76b7be3270a5c008db25 |
| internal/host/demodisk_status.go const#1 legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): diskWhereData, diskWhereDataInodes, diskWhereRun, diskWhereRunInodes, the names the disk alert gives what it measured; literals only data-literal@31,data-literal@62 8f6c997ccd711c80af2e16ffd9f9f1a5e70ae76a3f9936473baba389f9f0e92a |
| internal/host/demodisk_status.go productionDemoDiskProbe legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos), not root: opens root's public record directory /var/lib/carlos-release/demo-retention read-only through rootstate.Open(dir, false, true) (every ancestor root-owned, not group or world writable); report only file:Open@208 f8df171d9a2ff2d96b73c63f4618d035230acc4b8f244dd7f377184686e4933f |
| -internal/host/demodisk_status.go readDemoBuilds legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): reads the record 'status' from that rootstate store (descriptor read, trusted owner, 1 MiB cap) and decodes it; schema 1 or an error; report only, nothing reads it as authority file:Read@174 213c08b6d79b17ca25b94b815815bd0c7dfbeaa8664aafbfc8419fab2b2679ca |
| +internal/host/demodisk_status.go readDemoBuilds legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): reads the record 'status' from root's public rootstate store (descriptor read, trusted owner, 1 MiB cap) and decodes it; schema 1 or an error; final round: also carries the record's Held list into status.DemoBuilds; report only, nothing reads it as authority file:Read@174 15a3c227b3a4736eb19d12d14b8318e49c092516d5584e04b216ea09a4da110c |
| internal/host/demoretention.go demoOutput.spellings legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: EvalSymlinks of an output's directory <opt>/versions/<ver>/<demo account>, every component validated (ValidVersion, BoxConfig account, validDemoName), so an output is compared under the store's spelling and its real path; reads no registry input file:EvalSymlinks@118 abd6ff6fe0d0ffdd5989669aee8fcfc27713785a0a1bb6eb168bffa6a9975619 |
| -internal/host/demoretention.go demoRetention.admitRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass, new: the demo admission asked of every route before the release pass does anything with it. Refuses a tmp-demo- route (rt.App, RouteAccount) on a box whose host.env demo settings do not validate (boxErr); and, on a demo box, a route of the demo account when the demo account is the ops account, the app is not a valid demo name, or the pass does not hold the adopt pass lock. Only refuses: a registry row can never be admitted by it that would not be otherwise; reads only the Route in hand and root's own config registry:App@443,registry:App@533,registry:App@97,whole:Route@325 9ad40d8642d06156be0eb97d7a3a27c2b1cf05e6935b0e3614f987ee38058f7a |
| +internal/host/demoretention.go demoRetention.admitRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: the demo admission asked of every route before the release pass does anything with it; refuses a tmp-demo- route on a box whose host.env demo settings do not validate (boxErr; the message now names CARLOS_DEMO_BOX and the tuple), and on a demo box a route of the demo account when the demo account is the ops account, the name is not a demo name, or the pass does not hold the adopt pass lock. Only refuses; reads only the Route in hand and root's own config registry:App@537,registry:App@627,registry:App@97,whole:Route@419 1ac86a2725440d387be4e9e543c5c678c975100fd6635ec70d2c190269d84e34 |
| internal/host/demoretention.go demoRetention.demoAdoptions legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: lists the registry and keeps the Host and Version of each row of the demo account whose App has the tmp-demo- prefix, to tell after the pass whether it adopted a demo version; decides only whether retention runs, never what it removes registry:App@314,registry:Host@347,registry:Version@358,whole:Route@237,whole:Route@272 1473fe874967ccf4538aed1887b15a9104427e1d0a6e1a537346146e7f7a5ea3 |
| internal/host/demoretention.go demoRetention.listOutputs legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: ReadDir of <opt>/versions (root-owned) and of <opt>/versions/<ver>/<demo account> for each ValidVersion directory; each entry name, less .manifest.json, must pass validDemoName (tmp-demo- + demo.ValidPublicName: one path component, no "." or "..") before it is used; DirEntry.Info for sizes. ENOENT/ENOTDIR skip. Reads no registry input file:ReadDir@142,file:ReadDir@394 4febf4eebc952074eee6b0e52a97270a3e8c850e009a1db35f406c856a90a4f8 |
| -internal/host/demoretention.go demoRetention.pinSet legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: the pin set from every source: release.BoxPins over every registry row (live link chains; Version, PrevVersion, GoodVersion, settings references), previous links (linkTargets), release.GenerationPins over the generations file, and root's generation ledger (productionRootGenerationPins). Strict: any source that does not read in full is an error and nothing is deleted, except BoxPins' IncompleteRefsError, whose pins it keeps and returns so the caller holds only the apps the error covers (as adopt.go's restage does with inc.Covers). Pins only ever keep builds; what may be deleted is chosen by selection from root's own listing, never from a pin. Agent-writable inputs (the registry, the generations file under /data) therefore only ADD protection; the estimate mode (no deletion) only counts. No read added registry:App@1094,registry:App@970,registry:GoodVersion@935,registry:PrevVersion@919,registry:Version@907,whole:Route@1086,whole:Route@1357,whole:Route@453,whole:Route@822,whole:Route@866 7df9b9a3378406fe44cc7365f8c47b71683948f1548e5e1a520d68b9a3cc8006 |
| -internal/host/demoretention.go demoRetention.saveStatus legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: reads its own previous record from the public root store /var/lib/carlos-release/demo-retention (rootstate, created root-owned 0755, file 0644) to carry the backlog's start, and writes the new record there; status only, never read back as a pin or a decision file:Read@289 5bb8a4f44a6b268632d4351409ea113646844e7224b08d3862b656172a8e28d3 |
| -internal/host/demoretention.go demoRetention.selection legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: eligibility only from root's facts: demoAccount (host.env, never the ops account) and listOutputs' listing of its own store. Registry rows (List; App, Version, the route for RouteAccount and validDemoRow) only ADD protection: their pins, and a hold: a row of the demo account that is not a valid demo binding, or an app BoxPins' IncompleteRefsError covers, holds the app (nothing removed, backlog counted, named with its reason in the record, its next stage refused). Adoption for "in flight" comes from root's live links; rows' Version only in the deleting-nothing estimate. No registry string reaches a filesystem path registry:App@1553,registry:App@1578,registry:App@843,registry:Version@1527,registry:Version@1587,whole:Route@1455,whole:Route@1491,whole:Route@457,whole:Route@760,whole:Route@795,whole:Route@826 03f4f9676efdfa8971bb77e60f13dfeebf7f7ef84cf49125c1f79f7e25486f1b |
| +internal/host/demoretention.go demoRetention.pinSet legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: the pin set from every source: release.BoxPins over every registry row (live link chains; Version, PrevVersion, GoodVersion, settings references), previous links (linkTargets), release.GenerationPins over the generations file, and root's generation ledger. Final round: the two generation sources' pins are also returned apart (reserved), so the backlog can count an app's reserved outputs toward its G + R; the same reads. Strict: any source that does not read in full is an error, except BoxPins' IncompleteRefsError, returned for the caller to hold the apps it covers. Pins only ever keep builds; agent-writable inputs only ADD protection registry:App@1265,registry:App@1389,registry:GoodVersion@1230,registry:PrevVersion@1214,registry:Version@1202,whole:Route@1117,whole:Route@1161,whole:Route@1381,whole:Route@1657,whole:Route@743 83aaa6181597a48be05e8e2477c96284b2f3cabad5fc8450e76380a19f0aaea7 |
| +internal/host/demoretention.go demoRetention.saveStatus legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: reads its own previous record from the public root store /var/lib/carlos-release/demo-retention to carry the backlog's start, and writes the new record there; final round: the record also carries Held (each held app and why), kept from the previous record when nothing read; status only, never read back as a pin or a decision file:Read@289 069982567658454b581e2a626d68e8c5f289a5f01c58815f58c9a9ae9dd4baa5 |
| +internal/host/demoretention.go demoRetention.selection legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: eligibility only from root's facts (demoAccount, listOutputs' listing of its own store). Registry rows (List; App, Version, the route for RouteAccount and validDemoRow) only ADD protection: pins, and holds. Final round: the added sites list the held apps of the demo account for the record (a row's App, validated by validDemoName, and its account), whether or not they have outputs, and mark outputs covered by the generation sources as reserved for the backlog. No registry string reaches a filesystem path; nothing here makes an output eligible registry:App@1505,registry:App@1530,registry:App@2038,registry:App@2064,registry:App@2090,registry:App@798,registry:Version@1479,registry:Version@1539,whole:Route@1407,whole:Route@1443,whole:Route@1974,whole:Route@2009,whole:Route@422,whole:Route@715,whole:Route@750,whole:Route@781 d08029b4f57ebf1d789670f78ae19d06dfdec68d6c9501135fff28c5d7183af1 |
| internal/host/demoretention.go demoRetention.validDemoRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: reads a registry row's demo descriptor (DemoID, DemoHost, DemoLifetime, DemoExpiresAt), Host, App and account and checks it with demo.Config.ValidateBinding against host.env's tuple. Its only effect is protection: a row of the demo account that fails keeps all of its app's builds; it never makes anything eligible registry:App@249,registry:DemoExpiresAt@157,registry:DemoHost@106,registry:DemoID@89,registry:DemoLifetime@129,registry:DemoLifetime@266,registry:Host@257,whole:Route@244 af1de52349984707d82e62de4f196c0be50ac9a29885e42f66beed160fa5f21a |
| internal/host/demoretention.go linkTargets legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: ReadDir, Readlink and EvalSymlinks of the root-owned <opt>/previous and <opt>/live links, as release.LivePins reads them for the sweep (replaces previousLinkPins, same reads); an unreadable link is an error and nothing is deleted file:EvalSymlinks@509,file:ReadDir@77,file:Readlink@323 0174dc32626a8c188a893e048dcc68638192656b854c45e206076bff0b290537 |
| internal/host/demoretention.go productionDemoRetention legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: demo.BoxConfig from host.env (root-owned), now also keeping its error (boxErr) so a box that says it is a demo box with invalid settings refuses demo adoption; the version store and generations file paths, root's generation ledger, and the record store opener rootstate.Open(/var/lib/carlos-release/demo-retention, true, true) file:Open@528 100a780d488f0c1f9ace717410a5df3bdf8259014de08b456dc3ad4b43b2a02b |
| @@ -44,8 +44,8 @@ internal/release/adopt.go WithRouteAdmission legacy accepted-legacy accepted-leg |
| internal/release/adopt.go passConfig.routeAdmitted legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=new: true without an admission option, otherwise the admission's answer for the Route in hand; reads nothing else whole:Route@111 52cc8b59fb4addc2753c3fbf2c20df81b4021045820eec27af5bb07c188a9503 |
| internal/release/adopt.go passConfig.stageWriteCheck legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass and agent passes: generationWriteCheck unchanged first; then, only when WithBeforeStage is set (root's adopt pass only), Lstat of the VersionPath about to be written and the callback when nothing is there; an error fails the stage (nothing written, route unchanged) file:Lstat@233 92aa097f88dc4c665a3564a8cd981537d2394857967be73230a0ef39648c48fd |
| internal/release/adopt.go PassFilter authority B3,E3,J1,E1,E2 Signed named-unit recovery is independent of release and health history. Root rechecks canonical source, unit, process, signed target and trusted live pointer; captures attempt authority before publication; verifies readiness and resumes without repeated effects. Fixtures: TestPlan14SignedActiveFixIgnoresHistory, TestPlan14SignedActiveFixAuthority, TestPlan14SignedFixSupersedesOlderAttempt, TestPlan14ActiveRecoveryProcessCrash, TestPlan14SignedRestartWithoutHealthHistory, TestPlan14CapturedRollbackWithoutHealthHistory, TestPlan14SignedRestartRequiresTrustedLiveLink. E7 applies merge ruling 4: unbound no-census routes use the legacy pass and restart; ordinary candidates make no binding store call. Fixtures: TestR2UnguardedERecoveryUpdate, TestR2UnguardedERecoveryIncidentRecipe, TestPlan14ERecoveryBindingRefusalKeepsPromotedFix. E19: both destructive readers use the root reservation snapshot under existing release exclusion. Exact artifact and containing-tree identities are retained; missing completeness refuses destruction. Production installation/launch/kernel completeness and verified retirement remain unfinished. Fixtures: TestPlan14GenerationDeletionCannotUnpin, TestPlan14GenerationSnapshotCompleteness, TestPlan14GenerationSnapshotPermitsUnreservedRestage, TestPlan14GenerationSnapshotPinsContainingTree, TestPlan14GenerationSnapshotEmptyIsUnknown, TestPlan14GenerationConsumerMode.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=resolves protected route inputs before filters, recovery and dispatch on census boxes and bypasses service-owned failure opener only there;rev3=PROPOSED-s3-change-index;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=asks the optional pointer gate (gatePointers) once per channel group before selection and reports each group's pointer outcome to it; only the agent's fast sweep arms a gate (WithPointerGate), so under carlos adopt the gate is nil and the pass is unchanged; a gate can only leave a group out of the pass, never add one; one whole-Route site added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate check is left as is for a resident;rev3=census-ruling-hunt-release-chain-integrity;basis=a digestless head is bound to its signed promotion record through stagePointerHead, and a pointer without an account binding is refused on read (verifyPointer); the ratchet it consults (Admit) now also holds a per-channel promoted_at floor that admits only a strictly later stamp or the very pointer it recorded (PointerIdentity, fix round 1), which root reads only from its own root-owned <opt>/pointer-digests and never from the agent's data dir, through instancefs.ReadBeneathLimitOrAbsent (openat2 RESOLVE_BENEATH|NO_SYMLINKS|NO_MAGICLINKS, O_NONBLOCK, regular file only, 4 KiB cap); fix round 2: the floor's identity is the sha256 of the exact signed wrapper the pointer was verified from (set at the parse site), and a floor with no identity admits nothing at its own stamp, so the floor only refuses more; no read kind is added to the unit; CI fix: an app channel pointer is now stamped to the millisecond (pointerStampGrain) so a signer's wait past the head it replaces is at most a millisecond; the floor still admits only a strictly later stamp or the pointer it recorded, compared as time.Time, so the rule and the reads are unchanged;rev3=census-ruling-demo-disk-slice1-retention;basis=the stage check's beforeWrite is cfg.stageWriteCheck (unchanged from round 1); fix round 3: the recovery loop and the adopts predicate also require cfg.routeAdmitted(rt), so a route WithRouteAdmission refuses is kept out of recovery, selection, staging, restaging, reuse and the repoint for the whole pass, exactly as a non-adoptable route is. The two added sites pass the Route already in hand to the admission callback; no new read, and nil admission (every caller but root's adopt pass) admits every route as before registry:App@10044,registry:App@10185,registry:App@27224,registry:App@29681,registry:App@30368,registry:App@30605,registry:App@32012,registry:App@6786,registry:Hibernate@30251,registry:Host@1087,registry:Host@1452,registry:Host@30421,registry:Host@31337,registry:Host@32065,registry:Host@3464,registry:Host@3531,registry:Host@3627,registry:Host@3662,registry:UpdateSettings@9922,whole:Route@10032,whole:Route@1014,whole:Route@10180,whole:Route@1072,whole:Route@1190,whole:Route@1214,whole:Route@1487,whole:Route@1648,whole:Route@27219,whole:Route@2752,whole:Route@2794,whole:Route@2903,whole:Route@2927,whole:Route@2958,whole:Route@29676,whole:Route@2984,whole:Route@29934,whole:Route@29956,whole:Route@30003,whole:Route@30021,whole:Route@30031,whole:Route@30269,whole:Route@30290,whole:Route@30303,whole:Route@30363,whole:Route@30389,whole:Route@30463,whole:Route@30502,whole:Route@30518,whole:Route@30546,whole:Route@30600,whole:Route@30626,whole:Route@3125,whole:Route@31379,whole:Route@31433,whole:Route@31449,whole:Route@3190,whole:Route@31956,whole:Route@32007,whole:Route@32033,whole:Route@32107,whole:Route@32142,whole:Route@32158,whole:Route@3276,whole:Route@3298,whole:Route@3398,whole:Route@4476,whole:Route@5123,whole:Route@6708,whole:Route@6730,whole:Route@6781,whole:Route@6807,whole:Route@761,whole:Route@803,whole:Route@950,whole:Route@9873,whole:Route@988,whole:Route@9987 38533dde4de3f5af3e612792019549550536cbb1d130d6249bf2fa4d3ef1dbfb |
| -@coverage . a1a96539bb89f0a450ee4e9789aa3de12fe26862edf5669cd5448257e237efa7 |
| -@coverage internal/host 979092eea09b61ad7aa53063c750f3a55cae8056ead20bf9cf058b534c0509eb |
| +@coverage . 220b2301bebe748da49ae703d14d811e0269086c70cd337ef1ff195ddb55727a |
| +@coverage internal/host 336f5f2db30963f165f9169971a21d44a13cd396bca46d4245955043730fec1b |
| @coverage internal/metrics e217708d05d3b3abf99a5f5b3f7c1770208f269c6d2008a8844ec4455b67a77e |
| @coverage internal/release 4bcb33250918d87946a523b71cb64308580f5c969f1cca2208e6e87401157079 |
| -@coverage internal/status 36efea008597955202072ed20f65880ac10da54c55ac060a925539bbca0e414e |
| +@coverage internal/status 3d175567754b72fe27aa6506b716254737c423218c00a9af85fcb004c7e62660 |