census: re-propose sec-h5-edge-availability over main and the CI fix
Chained after main's cli-contact-prompts overlay. Claims carried unchanged; readBoundedBody's claim notes its constant-code refusals (same 413 and 408, no read added). Seal 1c26630f.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 files changed,
+5
−4
docs/superpowers/notes/census-proposal-sec-h5-edge-availability.md+1 −1internal/provision/testdata/plan14-root-reads-chain.tsv+1 −0internal/provision/testdata/plan14-root-reads-sec-h5-edge-availability.tsv+3 −3
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-qfIk6M
.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 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/route53 v1.64.1
go: downloading golang.org/x/sys v0.49.0
go: downloading github.com/aws/aws-sdk-go-v2/service/iam v1.58.2
go: downloading golang.org/x/crypto v0.58.0
go: downloading github.com/oschwald/maxminddb-golang v1.13.1
go: downloading github.com/pierrec/lz4/v4 v4.1.22
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/klauspost/compress v1.20.2
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/matttproud/golang_protobuf_extensions/v2 v2.0.0
go: downloading github.com/wlynxg/anet v0.0.5
go: downloading golang.org/x/text v0.43.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/libc v1.74.1
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/google/uuid v1.6.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading modernc.org/memory v1.11.0
go: downloading modernc.org/mathutil v1.7.1
=== 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 (179 s, from +0 s)
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/memory v1.11.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/google/uuid v1.6.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== vet-tags (170 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/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/memory v1.11.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== gofmt (1 s, from +0 s)
gofmt -l .: clean
=== rest (387 s, from +15 s)
ok github.com/carlosframework/platform/cmd/carlos-media 122.095s
? github.com/carlosframework/platform/cmd/changelog [no test files]
ok github.com/carlosframework/platform/cmd/console 210.337s
ok github.com/carlosframework/platform/cmd/mediaimage 40.698s
ok github.com/carlosframework/platform/cmd/moveprobe 16.224s
ok github.com/carlosframework/platform/cmd/pricebook-export 0.037s
ok github.com/carlosframework/platform/cmd/rootfswitness 0.145s
ok github.com/carlosframework/platform/cmd/runsc-assets 0.176s
ok github.com/carlosframework/platform/cmd/zddprobe 0.960s
ok github.com/carlosframework/platform/internal/agentsock 0.055s
ok github.com/carlosframework/platform/internal/alerting 0.027s
ok github.com/carlosframework/platform/internal/analytics 0.264s
ok github.com/carlosframework/platform/internal/appconfig 42.028s
ok github.com/carlosframework/platform/internal/apperr 0.425s
ok github.com/carlosframework/platform/internal/applog 0.622s
ok github.com/carlosframework/platform/internal/apppolicy 2.828s
ok github.com/carlosframework/platform/internal/assetcache 0.431s
ok github.com/carlosframework/platform/internal/awsinv 0.017s
ok github.com/carlosframework/platform/internal/awsmanaged 6.634s
ok github.com/carlosframework/platform/internal/awsregiongroup 0.124s
ok github.com/carlosframework/platform/internal/awsterminations 0.042s
ok github.com/carlosframework/platform/internal/backupswords 0.012s
ok github.com/carlosframework/platform/internal/billing 0.086s
ok github.com/carlosframework/platform/internal/billing/billingtest 0.063s
ok github.com/carlosframework/platform/internal/billingstripe 2.227s
ok github.com/carlosframework/platform/internal/boxchoice 0.033s
ok github.com/carlosframework/platform/internal/boxid 2.873s
? 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.022s
ok github.com/carlosframework/platform/internal/boxself 0.155s
ok github.com/carlosframework/platform/internal/boxvolumes 0.079s
ok github.com/carlosframework/platform/internal/caps 4.443s
ok github.com/carlosframework/platform/internal/certwarm 0.010s
ok github.com/carlosframework/platform/internal/cgroup 1.477s
ok github.com/carlosframework/platform/internal/changelog 3.854s
ok github.com/carlosframework/platform/internal/clamd 0.076s
? 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.515s
ok github.com/carlosframework/platform/internal/compute 0.010s
ok github.com/carlosframework/platform/internal/consolefleet 0.009s
? github.com/carlosframework/platform/internal/controlname [no test files]
? github.com/carlosframework/platform/internal/controlsock [no test files]
ok github.com/carlosframework/platform/internal/dbdoor 10.391s
ok github.com/carlosframework/platform/internal/dbdoor/dbdoortest 0.080s
ok github.com/carlosframework/platform/internal/dbquery 0.022s
ok github.com/carlosframework/platform/internal/dbreads 3.445s
? github.com/carlosframework/platform/internal/dbreads/dbreadstest [no test files]
ok github.com/carlosframework/platform/internal/dbverify 0.050s
ok github.com/carlosframework/platform/internal/demo 0.016s
ok github.com/carlosframework/platform/internal/demobuild 3.909s
ok github.com/carlosframework/platform/internal/democlaim 0.339s
ok github.com/carlosframework/platform/internal/devbox 16.687s
ok github.com/carlosframework/platform/internal/dnsrec 0.007s
ok github.com/carlosframework/platform/internal/docsite 0.085s
ok github.com/carlosframework/platform/internal/domainreg 0.024s
ok github.com/carlosframework/platform/internal/domains 69.065s
ok github.com/carlosframework/platform/internal/doorkey 0.031s
ok github.com/carlosframework/platform/internal/economics 0.009s
ok github.com/carlosframework/platform/internal/edgefence 0.113s
ok github.com/carlosframework/platform/internal/edgeguard 0.592s
? github.com/carlosframework/platform/internal/edgeproof [no test files]
ok github.com/carlosframework/platform/internal/edgesfile 0.153s
ok github.com/carlosframework/platform/internal/egressaddr 0.005s
ok github.com/carlosframework/platform/internal/execsandbox 92.119s
ok github.com/carlosframework/platform/internal/fileacl 0.016s
ok github.com/carlosframework/platform/internal/fleetapi 2.213s
ok github.com/carlosframework/platform/internal/fleetstore 0.013s
ok github.com/carlosframework/platform/internal/fxrate 0.015s
ok github.com/carlosframework/platform/internal/gate 5.270s
ok github.com/carlosframework/platform/internal/genselect 0.092s
ok github.com/carlosframework/platform/internal/geo 0.074s
ok github.com/carlosframework/platform/internal/geoip 0.289s
ok github.com/carlosframework/platform/internal/groupadmission 0.013s
ok github.com/carlosframework/platform/internal/grouprollaws 17.756s
ok github.com/carlosframework/platform/internal/hadeparture 0.017s
ok github.com/carlosframework/platform/internal/hafresh 0.015s
ok github.com/carlosframework/platform/internal/hairpin 0.264s
ok github.com/carlosframework/platform/internal/historyreadback 1.202s
ok github.com/carlosframework/platform/internal/hostactors 21.604s
ok github.com/carlosframework/platform/internal/hostbox 20.677s
ok github.com/carlosframework/platform/internal/hostclaim 2.782s
ok github.com/carlosframework/platform/internal/hostenv 0.046s
ok github.com/carlosframework/platform/internal/hostevidence 0.023s
ok github.com/carlosframework/platform/internal/hostexec 21.594s
ok github.com/carlosframework/platform/internal/hostfence 0.175s
ok github.com/carlosframework/platform/internal/hostfiles 25.389s
ok github.com/carlosframework/platform/internal/hostfloor 0.148s
ok github.com/carlosframework/platform/internal/hostguard 1.624s
ok github.com/carlosframework/platform/internal/hostops 7.163s
? github.com/carlosframework/platform/internal/hostops/fencerelease [no test files]
ok github.com/carlosframework/platform/internal/hostops/internal/fencerelease 0.009s
ok github.com/carlosframework/platform/internal/hostquarantine 0.008s
ok github.com/carlosframework/platform/internal/hostrelocate 2.219s
ok github.com/carlosframework/platform/internal/hostresolve 0.667s
ok github.com/carlosframework/platform/internal/hostwrite 0.017s
ok github.com/carlosframework/platform/internal/infraview 0.024s
ok github.com/carlosframework/platform/internal/ingresshealth 0.016s
ok github.com/carlosframework/platform/internal/ingresshealth/awstg 0.033s
ok github.com/carlosframework/platform/internal/instancectl 61.725s
ok github.com/carlosframework/platform/internal/instanceexec 9.585s
ok github.com/carlosframework/platform/internal/instancefs 0.025s
ok github.com/carlosframework/platform/internal/instancekey 0.024s
ok github.com/carlosframework/platform/internal/instanceupdates 0.041s
ok github.com/carlosframework/platform/internal/interactive 0.747s
ok github.com/carlosframework/platform/internal/launchd 0.010s
ok github.com/carlosframework/platform/internal/layout 20.037s
ok github.com/carlosframework/platform/internal/layout/pubclass 95.142s
ok github.com/carlosframework/platform/internal/lbhealth 0.008s
ok github.com/carlosframework/platform/internal/lease 146.197s
ok github.com/carlosframework/platform/internal/lease/leasetest 1.409s
ok github.com/carlosframework/platform/internal/lease/locktest 0.024s
ok github.com/carlosframework/platform/internal/ledger 0.087s
ok github.com/carlosframework/platform/internal/mail 0.960s
ok github.com/carlosframework/platform/internal/mailer 0.788s
ok github.com/carlosframework/platform/internal/mailsubmit 1.373s
ok github.com/carlosframework/platform/internal/mailwire 0.012s
ok github.com/carlosframework/platform/internal/maintenance 0.184s
ok github.com/carlosframework/platform/internal/maintenanceexec 8.319s
ok github.com/carlosframework/platform/internal/maintenanceguard 0.438s
ok github.com/carlosframework/platform/internal/managedboot 3.363s
? 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 1.996s
ok github.com/carlosframework/platform/internal/media/mediatest 0.007s
ok github.com/carlosframework/platform/internal/mediaaws 62.197s
ok github.com/carlosframework/platform/internal/mediahandler 40.904s
ok github.com/carlosframework/platform/internal/mediajobs 0.923s
ok github.com/carlosframework/platform/internal/medialocal 10.114s
ok github.com/carlosframework/platform/internal/metrics 0.091s
ok github.com/carlosframework/platform/internal/minorunits 0.009s
ok github.com/carlosframework/platform/internal/moves 53.598s
ok github.com/carlosframework/platform/internal/moves/archive 3.266s
ok github.com/carlosframework/platform/internal/moves/offlinerun 0.147s
ok github.com/carlosframework/platform/internal/namedunits 0.027s
ok github.com/carlosframework/platform/internal/objstore 2.585s
ok github.com/carlosframework/platform/internal/ops 16.731s
ok github.com/carlosframework/platform/internal/pageindex 3.747s
ok github.com/carlosframework/platform/internal/parity 0.165s
? github.com/carlosframework/platform/internal/parity/cmd/parity-doc [no test files]
ok github.com/carlosframework/platform/internal/park 0.816s
ok github.com/carlosframework/platform/internal/perf 0.223s
ok github.com/carlosframework/platform/internal/plans 0.109s
ok github.com/carlosframework/platform/internal/privatefile 0.015s
ok github.com/carlosframework/platform/internal/provision 238.628s
ok github.com/carlosframework/platform/internal/proxyproto 0.952s
ok github.com/carlosframework/platform/internal/publicrelease 0.075s
ok github.com/carlosframework/platform/internal/ratelimit 0.181s
ok github.com/carlosframework/platform/internal/regionlabel 0.058s
ok github.com/carlosframework/platform/internal/regionname 0.041s
ok github.com/carlosframework/platform/internal/registrar 0.010s
ok github.com/carlosframework/platform/internal/registrar/openprovider 0.738s
? github.com/carlosframework/platform/internal/registrar/registrartest [no test files]
ok github.com/carlosframework/platform/internal/registry 82.392s
ok github.com/carlosframework/platform/internal/relay 7.652s
ok github.com/carlosframework/platform/internal/release 95.434s
ok github.com/carlosframework/platform/internal/replicagen 0.045s
ok github.com/carlosframework/platform/internal/replicas 0.086s
ok github.com/carlosframework/platform/internal/reqrec 7.613s
ok github.com/carlosframework/platform/internal/rollout 11.776s
ok github.com/carlosframework/platform/internal/rolloutwords 0.019s
ok github.com/carlosframework/platform/internal/rootaws 96.769s
ok github.com/carlosframework/platform/internal/rootfsimage 0.864s
ok github.com/carlosframework/platform/internal/rootparticipation 0.092s
ok github.com/carlosframework/platform/internal/rootstate 0.053s
ok github.com/carlosframework/platform/internal/runs 0.718s
ok github.com/carlosframework/platform/internal/s3compat 0.023s
ok github.com/carlosframework/platform/internal/s3fake 1.135s
ok github.com/carlosframework/platform/internal/safefile 0.033s
ok github.com/carlosframework/platform/internal/schedule 22.831s
ok github.com/carlosframework/platform/internal/seeds 0.054s
ok github.com/carlosframework/platform/internal/sim/litestreamfacts 4.808s
ok github.com/carlosframework/platform/internal/sim/mediajobs 52.566s
ok github.com/carlosframework/platform/internal/sim/regionha 21.594s
ok github.com/carlosframework/platform/internal/status 0.558s
ok github.com/carlosframework/platform/internal/steering 0.389s
ok github.com/carlosframework/platform/internal/stopevidence 0.425s
ok github.com/carlosframework/platform/internal/storecfg 0.369s
ok github.com/carlosframework/platform/internal/svcrole 0.013s
ok github.com/carlosframework/platform/internal/systemd 5.861s
? github.com/carlosframework/platform/internal/systemdshow [no test files]
ok github.com/carlosframework/platform/internal/team 3.136s
ok github.com/carlosframework/platform/internal/teamcontract 0.142s
ok github.com/carlosframework/platform/internal/telemetry 0.016s
ok github.com/carlosframework/platform/internal/termfence 2.411s
ok github.com/carlosframework/platform/internal/timerspec 0.020s
ok github.com/carlosframework/platform/internal/tsidentity 4.181s
ok github.com/carlosframework/platform/internal/tunnelclient 0.463s
ok github.com/carlosframework/platform/internal/unixdial 0.013s
ok github.com/carlosframework/platform/internal/updatewords 0.059s
ok github.com/carlosframework/platform/internal/upstreamguard 0.007s
? github.com/carlosframework/platform/internal/upstreamguard/guardtest [no test files]
ok github.com/carlosframework/platform/internal/usage 0.021s
ok github.com/carlosframework/platform/internal/version 0.012s
ok github.com/carlosframework/platform/internal/vet 3.200s
ok github.com/carlosframework/platform/internal/zonehost 0.030s
ok github.com/carlosframework/platform/internal/zonehost/route53zones 0.057s
? 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.022s
ok github.com/carlosframework/platform/scripts/pathmapcheck 0.091s
ok github.com/carlosframework/platform/scripts/region-ha-g2/fixture 5.196s
ok github.com/carlosframework/platform/scripts/stateless-replicas-drill 1.178s
ok github.com/carlosframework/platform/scripts/witness-pointer 0.021s
=== cutover-witness (166 s, from +15 s)
ok github.com/carlosframework/platform 2.064s
=== internal_grouproll@0 (277 s, from +73 s)
ok github.com/carlosframework/platform/internal/grouproll 275.968s
=== internal_grouproll@1 (278 s, from +73 s)
ok github.com/carlosframework/platform/internal/grouproll 277.484s
=== internal_activator@0 (150 s, from +149 s)
ok github.com/carlosframework/platform/internal/activator 145.685s
=== internal_activator@1 (132 s, from +149 s)
ok github.com/carlosframework/platform/internal/activator 126.465s
=== internal_activator@2 (134 s, from +149 s)
ok github.com/carlosframework/platform/internal/activator 128.573s
=== internal_activator@3 (166 s, from +149 s)
ok github.com/carlosframework/platform/internal/activator 160.673s
=== internal_edge@0 (252 s, from +178 s)
ok github.com/carlosframework/platform/internal/edge 242.386s
=== internal_edge@1 (129 s, from +178 s)
ok github.com/carlosframework/platform/internal/edge 120.685s
=== internal_edge@2 (165 s, from +178 s)
ok github.com/carlosframework/platform/internal/edge 155.115s
=== internal_edge@3 (149 s, from +178 s)
ok github.com/carlosframework/platform/internal/edge 139.499s
=== root@0 (117 s, from +179 s)
ok github.com/carlosframework/platform 108.145s
=== root@1 (109 s, from +179 s)
ok github.com/carlosframework/platform 98.778s
=== root@2 (123 s, from +179 s)
ok github.com/carlosframework/platform 112.326s
=== root@3 (116 s, from +179 s)
ok github.com/carlosframework/platform 106.885s
=== root@4 (100 s, from +179 s)
ok github.com/carlosframework/platform 91.180s
=== internal_host@0 (177 s, from +221 s)
ok github.com/carlosframework/platform/internal/host 172.737s
=== internal_host@1 (139 s, from +221 s)
ok github.com/carlosframework/platform/internal/host 134.819s
=== internal_host@2 (212 s, from +221 s)
ok github.com/carlosframework/platform/internal/host 207.781s
=== internal_host@3 (228 s, from +221 s)
ok github.com/carlosframework/platform/internal/host 223.204s
=== internal_host@4 (258 s, from +221 s)
ok github.com/carlosframework/platform/internal/host 253.045s
=== internal_host@5 (154 s, from +221 s)
ok github.com/carlosframework/platform/internal/host 148.843s
=== internal_console@0 (162 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 156.299s
=== internal_console@1 (168 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 161.499s
=== internal_console@2 (201 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 195.169s
=== internal_console@3 (242 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 235.802s
=== internal_console@4 (194 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 187.396s
=== internal_console@5 (224 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 216.606s
=== internal_console@6 (200 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 194.912s
=== internal_console@7 (209 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 202.568s
=== internal_console@8 (224 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 217.939s
=== internal_console@9 (212 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 205.541s
=== internal_console@10 (214 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 208.174s
=== internal_console@11 (239 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 232.331s
=== internal_console@12 (279 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 272.857s
=== internal_console@13 (243 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 236.482s
=== internal_console@14 (233 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 226.442s
=== internal_console@15 (219 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 212.858s
=== internal_console@16 (252 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 244.838s
=== internal_console@17 (200 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 194.269s
=== internal_console@18 (203 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 196.299s
=== internal_console@19 (200 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 192.568s
=== internal_console@20 (215 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 207.596s
=== internal_console@21 (233 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 225.288s
=== internal_console@22 (213 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 206.148s
=== internal_console@23 (225 s, from +228 s)
ok github.com/carlosframework/platform/internal/console 217.373s
=== lists: internal_console 227 s, internal_edge 177 s, internal_activator 148 s, internal_host 220 s, root 177 s, internal_grouproll 73 s
=== cpu: the gate used 12906 cpu-seconds in 507 s, about 25.5 of 32 cores; the machine as a whole was 85% busy
=== opentofu ===
opentofu: 39 test files in 11 suites, OpenTofu v1.13.9
initialised in 14 s
ok 23 s infra/modules/box-fence-writer/tests/writer.tftest.hcl Success! 1 passed, 0 failed.
ok 22 s infra/modules/deployment-buckets/tests/console_floors.tftest.hcl Success! 1 passed, 0 failed.
ok 30 s infra/modules/deployment-buckets/tests/data_lifecycle.tftest.hcl Success! 3 passed, 0 failed.
ok 19 s infra/modules/deployment-buckets/tests/db_reads.tftest.hcl Success! 1 passed, 0 failed.
ok 21 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 28 s infra/modules/deployment-buckets/tests/media_results.tftest.hcl Success! 2 passed, 0 failed.
ok 89 s infra/modules/media-engine/tests/media_engine.tftest.hcl Success! 24 passed, 0 failed.
ok 27 s infra/modules/pdf-host/tests/computed.tftest.hcl Success! 2 passed, 0 failed.
ok 55 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 66 s infra/modules/region-host/ingress/tests/group_ingress.tftest.hcl Success! 30 passed, 0 failed.
ok 42 s infra/modules/region-host/tests/alert_publish.tftest.hcl Success! 18 passed, 0 failed.
ok 40 s infra/modules/region-host/tests/alerts_topic.tftest.hcl Success! 16 passed, 0 failed.
ok 13 s infra/modules/region-host/tests/analytics_prune.tftest.hcl Success! 2 passed, 0 failed.
ok 14 s infra/modules/region-host/tests/console_mail.tftest.hcl Success! 4 passed, 0 failed.
ok 5 s infra/modules/region-host/tests/fixed_state_unchanged.tftest.hcl Success! 1 passed, 0 failed.
ok 72 s infra/modules/region-host/tests/group.tftest.hcl Success! 32 passed, 0 failed.
ok 10 s infra/modules/region-host/tests/group_alarms.tftest.hcl Success! 4 passed, 0 failed.
ok 9 s infra/modules/region-host/tests/group_iam.tftest.hcl Success! 4 passed, 0 failed.
ok 6 s infra/modules/region-host/tests/group_isolation.tftest.hcl Success! 1 passed, 0 failed.
ok 37 s infra/modules/region-host/tests/group_operator.tftest.hcl Success! 13 passed, 0 failed.
ok 9 s infra/modules/region-host/tests/group_user_data.tftest.hcl Success! 3 passed, 0 failed.
ok 31 s infra/modules/region-host/tests/health_alarms.tftest.hcl Success! 10 passed, 0 failed.
ok 14 s infra/modules/region-host/tests/ingress_drain_read.tftest.hcl Success! 4 passed, 0 failed.
ok 6 s infra/modules/region-host/tests/instance_metadata.tftest.hcl Success! 1 passed, 0 failed.
ok 25 s infra/modules/region-host/tests/mailer.tftest.hcl Success! 6 passed, 0 failed.
ok 12 s infra/modules/region-host/tests/mailer_group.tftest.hcl Success! 2 passed, 0 failed.
ok 15 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 73 s infra/modules/region-host/tests/store_conversion.tftest.hcl Success! 27 passed, 0 failed.
ok 17 s infra/modules/region-host/tests/store_scanning.tftest.hcl Success! 4 passed, 0 failed.
ok 31 s infra/modules/region-host/tests/store_versioning.tftest.hcl Success! 11 passed, 0 failed.
ok 15 s infra/modules/region-host/tests/store_write_credentials.tftest.hcl Success! 4 passed, 0 failed.
ok 16 s infra/modules/region-host/tests/user_data_ignored.tftest.hcl Success! 3 passed, 0 failed.
ok 11 s infra/modules/region-remote-host/tests/data_lifecycle.tftest.hcl Success! 3 passed, 0 failed.
ok 17 s infra/modules/region-remote-host/tests/no_deployment_bucket.tftest.hcl Success! 5 passed, 0 failed.
ok 30 s infra/modules/scanner-host/tests/scanner_host.tftest.hcl Success! 14 passed, 0 failed.
opentofu: 39 files in 211 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: 66453666 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:36659
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.038s
=== RUN TestT4StorageProbeMinio
2026/11/27 22:08:54 moves: T4: STORE: list: operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: 18EC0659E9477231, HostID: 0bd04376b2292694256c9859b56cef5fa0b39888f358ce195ead7306fac24ede, 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.047s
=== 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.042s
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.041s
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:_read_under_the_prefix
=== RUN TestWriteCredentialContractMinio/refused:_read_elsewhere
=== RUN TestWriteCredentialContractMinio/refused:_delete
=== RUN TestWriteCredentialContractMinio/refused:_put_outside_the_prefix
=== RUN TestWriteCredentialContractMinio/refused:_put_beside_the_prefix
=== RUN TestWriteCredentialContractMinio/refused:_put_to_another_bucket
=== RUN TestWriteCredentialContractMinio/refused:_copy_from_the_store
=== RUN TestWriteCredentialContractMinio/refused:_bucket_settings
=== RUN TestWriteCredentialContractMinio/refused:_head
=== RUN TestWriteCredentialContractMinio/refused:_list
=== RUN TestWriteCredentialContractMinio/refused:_list_uploads
=== 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:_read_under_the_prefix (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_read_elsewhere (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_delete (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_put_outside_the_prefix (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_put_beside_the_prefix (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_put_to_another_bucket (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_copy_from_the_store (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_bucket_settings (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_head (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_list (0.00s)
--- PASS: TestWriteCredentialContractMinio/refused:_list_uploads (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.49s)
--- PASS: TestEndToEndMinio/plan (0.01s)
--- PASS: TestEndToEndMinio/roll (0.13s)
--- PASS: TestEndToEndMinio/replace (0.16s)
--- PASS: TestEndToEndMinio/remove (0.16s)
PASS
ok github.com/carlosframework/platform/internal/grouproll 0.493s
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/27 22:09:03 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/27 22:09:03 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/27 22:09:03 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/27 22:09:03 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/27 22:09:03 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=370
2026/11/27 22:09:03 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/27 22:09:03 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000003
2026/11/27 22:09:03 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000003 maxTXID=0000000000000003 size=454
2026/11/27 22:09:03 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000003 txid.db=0000000000000003
2026/11/27 22:09:03 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/27 22:09:03 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/27 22:09:03 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/27 22:09:03 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/27 22:09:03 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%3A33769: could not determine target mailbox
agent.go:136: dbreads: dbr_sifrjro6x4p2ziztyg6z7r3cnq: planned 3 files (1544 bytes) and restored to 3 in 16ms
agent.go:136: dbreads: dbr_sifrjro6x4p2ziztyg6z7r3cnq: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/27 22:09:04 console: db read dbr_sifrjro6x4p2ziztyg6z7r3cnq: relayed 1 chunks (102 bytes) in 1.005s, ended done
agent.go:136: dbreads: dbr_24kpeiflhou43ehkidp3e3pspu: planned 1 files (720 bytes) and restored to 1 in 11ms
agent.go:136: dbreads: dbr_24kpeiflhou43ehkidp3e3pspu: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/27 22:09:05 console: db read dbr_24kpeiflhou43ehkidp3e3pspu: relayed 1 chunks (102 bytes) in 1.006s, ended done
agent.go:136: dbreads: dbr_xgraefnux2p23f7bf2giy7gjuq: planned 3 files (1544 bytes) and held through 3 in 13ms
agent.go:136: dbreads: dbr_xgraefnux2p23f7bf2giy7gjuq: output 1544 bytes in 1 confirmed chunks in 1ms
2026/11/27 22:09:06 console: db read dbr_xgraefnux2p23f7bf2giy7gjuq: relayed 1 chunks (1641 bytes) in 1.005s, ended done
=== RUN TestDBForwardMinio/by_disconnect
=== NAME TestDBForwardMinio
agent.go:136: dbreads: dbr_7xxuarvxjf35ycohzhvixakgwu: planned 3 files (1544 bytes) and restored to 3 in 13ms
2026/11/27 22:09:06 console: db read dbr_7xxuarvxjf35ycohzhvixakgwu: relayed 0 chunks (0 bytes) in 27ms, ended client gone
agent.go:136: dbreads: dbr_7xxuarvxjf35ycohzhvixakgwu: output 5 bytes in 1 confirmed chunks in 104ms
=== RUN TestDBForwardMinio/by_timeout
=== NAME TestDBForwardMinio
agent.go:136: dbreads: dbr_bfz5t6cbhw2aggozfd72xuqwkm: planned 3 files (1544 bytes) and restored to 3 in 13ms
2026/11/27 22:09:26 console: db read dbr_bfz5t6cbhw2aggozfd72xuqwkm: relayed 0 chunks (0 bytes) in 19.167s, ended no-result
agent.go:136: dbreads: dbr_bfz5t6cbhw2aggozfd72xuqwkm: output 5 bytes in 1 confirmed chunks in 19.139s
--- PASS: TestDBForwardMinio (22.86s)
--- PASS: TestDBForwardMinio/by_disconnect (0.24s)
--- PASS: TestDBForwardMinio/by_timeout (19.28s)
PASS
ok github.com/carlosframework/platform/internal/console 22.900s
Bucket created successfully `local/media-transfers`.
Bucket created successfully `local/media-transfer-results`.
local/media-transfer-results versioning is enabled
Created policy `media-transfers` successfully.
Added user `mediatransfers` successfully.
Attached Policies: [media-transfers]
To User: mediatransfers
=== RUN TestMediaTransfersMinio
upload.go:117: codec: the store already holds video.mp4
upload.go:117: codec: the store already holds video.m3u8
upload.go:117: codec: the store already holds poster.jpg
--- PASS: TestMediaTransfersMinio (0.07s)
PASS
ok github.com/carlosframework/platform/internal/mediaaws 0.074s
Bucket created successfully `local/media-local-store`.
Bucket created successfully `local/media-local-results`.
Created policy `media-local` successfully.
Added user `medialocal` successfully.
Attached Policies: [media-local]
To User: medialocal
=== RUN TestLocalEndToEndMinio
--- PASS: TestLocalEndToEndMinio (0.56s)
PASS
ok github.com/carlosframework/platform/internal/medialocal 0.565s
=== RUN TestHeldHandoverTwoBoxMinio
2026/11/27 22:09:31 edge: mesh key: minted
2026/11/27 22:09:31 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/27 22:09:31 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/27 22:09:31 tenant admission is open. accepting tenant work
2026/11/27 22:09:31 activator: HA placement host=shop-919f69e2.example.test kind=Place ref=annie reason=roomiest generation=2026-11-27T22:09:31Z lock_generation=0
2026/11/27 22:09:31 lease: t8-919f69e2/shop-919f69e2.example.test: HA lease acquired in 4ms (first wake)
2026/11/27 22:09:31 activator: shop-919f69e2.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/27 22:09:31 activator: shop-919f69e2.example.test: started carlos-instance@shop\x2d919f69e2.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/27 22:09:31 activator: shop-919f69e2.example.test: carlos-instance@shop\x2d919f69e2.example.test.service launched in 7ms, healthy 0s later
2026/11/27 22:09:31 activator: shop-919f69e2.example.test: woke in 22ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 7ms, replicate 9ms
2026/11/27 22:09:31 lease: t8-919f69e2/plain-919f69e2.example.test: acquired in 1ms (client 0s, lock read and write 1ms)
2026/11/27 22:09:31 activator: no replica for plain-919f69e2.example.test in s3://contract-bucket/t8-919f69e2/plain-919f69e2.example.test — booting fresh
2026/11/27 22:09:31 activator: plain-919f69e2.example.test: started carlos-instance@plain\x2d919f69e2.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/27 22:09:31 activator: plain-919f69e2.example.test: carlos-instance@plain\x2d919f69e2.example.test.service launched in 7ms, healthy 0s later
2026/11/27 22:09:31 activator: plain-919f69e2.example.test: woke in 86ms: checks 0s, lease 1ms, restore 17ms, identity 0s, protect 0s, spawn 8ms, replicate 59ms
2026/11/27 22:09:31 lease: t8-919f69e2/bot0.shop.bac.sidecar.internal: HA lease acquired in 4ms (first wake)
2026/11/27 22:09:31 activator: bot0.shop.bac.sidecar.internal: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/27 22:09:31 activator: bot0.shop.bac.sidecar.internal: woke in 69ms: checks 0s, lease 4ms, restore 0s, identity 0s, protect 0s, spawn 7ms, settle 0s, replicate 57ms
2026/11/27 22:09:31 activator: next-due probe plain-919f69e2.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/27 22:09:31 activator: plain-919f69e2.example.test hibernated
2026/11/27 22:09:31 activator: bot0.shop.bac.sidecar.internal: released with a marker (clean true, txid 1, files 3:9f530ca5f177956ea8bce6cc59003254de99ed9a0f6e814f4ab40c0b510c7c91) in 8ms: files 1ms, sync 4ms, record 1ms, marker 2ms
2026/11/27 22:09:31 activator: bot0.shop.bac.sidecar.internal hibernated
2026/11/27 22:09:31 activator: next-due probe shop-919f69e2.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/27 22:09:31 activator: shop-919f69e2.example.test: released with a marker (clean true, txid 1, files 3:96767144072486e394abe0956b4e2a1fd4e72e11835cd625d49002f18f132f34) in 6ms: files 1ms, sync 2ms, record 1ms, marker 2ms
2026/11/27 22:09:31 activator: shop-919f69e2.example.test hibernated
2026/11/27 22:09:31 lease: t8-919f69e2/shop-919f69e2.example.test: HA lease acquired in 3ms (clean marker)
2026/11/27 22:09:31 activator: shop-919f69e2.example.test: restored (other-box)
2026/11/27 22:09:31 activator: shop-919f69e2.example.test: started carlos-instance@shop\x2d919f69e2.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 1ms)
2026/11/27 22:09:31 activator: shop-919f69e2.example.test: carlos-instance@shop\x2d919f69e2.example.test.service launched in 2ms, healthy 0s later
2026/11/27 22:09:31 activator: shop-919f69e2.example.test: woke in 85ms: checks 0s, lease 4ms, restore 25ms, identity 0s, protect 0s, spawn 2ms, replicate 54ms
2026/11/27 22:09:31 edge: ha-take shop-919f69e2.example.test from annie (txn t8-witness, marker generation 1): holder betty, generation 2
2026/11/27 22:09:31 edge: forward shop-919f69e2.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:9688278b84d7938a29db616598aff0f9 Step:move Result:ok Reasons:[] Fence:t8-witness StartedAt:2026-11-27 22:09:31.559326766 +0000 UTC FinishedAt:2026-11-27 22:09:31.708116239 +0000 UTC Acked:[betty carol] Departed:[] Moved:[{Host:shop-919f69e2.example.test Holder:betty Gen:2 Confirmed:take}] Released:[{Host:plain-919f69e2.example.test Kind:other Marker:true Clean:true Reason:} {Host:bot0.shop.bac.sidecar.internal Kind:worker Marker:true Clean:true Reason:}] Unclean:[] Left:[] Holds:{LongestMS:127 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-919f69e2.example.test <nil> stop plain-919f69e2.example.test marker=true clean=true <nil> stop bot0.shop.bac.sidecar.internal marker=true clean=true <nil> releasing shop-919f69e2.example.test <nil> stop shop-919f69e2.example.test marker=true clean=true <nil> taken shop-919f69e2.example.test betty <nil> end-moves]
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-919f69e2/bot0.shop.bac.sidecar.internal/0009/0000000000000001-0000000000000001.ltx
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: DELETE /contract-bucket/t8-919f69e2/plain-919f69e2.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-919f69e2/bot0.shop.bac.sidecar.internal/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/0009/0000000000000001-0000000000000001.ltx
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/head.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/generations/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0009/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0008/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0007/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0006/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0005/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0004/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0003/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0002/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0001/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0000/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0009/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0008/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0007/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0006/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0005/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0004/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0003/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0002/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0001/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0000/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/0009/0000000000000001-0000000000000001.ltx
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/files/0/manifest.json
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/files/0/objects/0000000000000001-d4cb2d076ccc4aaa256786c9caf30aa18257d1e22e4f2a04356b746a14dc3a8c
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/files/0/objects/0000000000000003-e75d5938f524f13fa6bc28947796c1f4fa47206c4fb7ee1c21295bce7e8bf216
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0009/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0000/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0001/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/0000/0000000000000001-0000000000000001.ltx
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0002/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0003/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-919f69e2/shop-919f69e2.example.test/0000/
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/0000/0000000000000002-0000000000000002.ltx
hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-919f69e2/shop-919f69e2.example.test/lock.json
hadrain_twobox_minio_linux_test.go:1243: drain took 202ms; S3 calls 43 (DELETE lock=1 GET files=3 GET head=1 GET lock=3 GET replica=2 LIST replica=27 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/27 22:09:31 lease: t8-919f69e2/plain-919f69e2.example.test: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/27 22:09:31 activator: plain-919f69e2.example.test: started carlos-instance@plain\x2d919f69e2.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/27 22:09:31 activator: plain-919f69e2.example.test: carlos-instance@plain\x2d919f69e2.example.test.service launched in 1ms, healthy 0s later
2026/11/27 22:09:31 lease: /tmp/carlos-minio-contract-qUfsVj/g/dw3314650559/data/instances/plain-919f69e2.example.test/plain-919f69e2.example.test.db: continuity with the last clean close not proven; snapshot 1-0000000000000001 written before serving
2026/11/27 22:09:31 activator: plain-919f69e2.example.test: woke in 8ms: checks 0s, lease 2ms, restore 0s, identity 0s, protect 1ms, spawn 2ms, replicate 4ms
2026/11/27 22:09:31 activator: next-due probe shop-919f69e2.example.test: decode /api/next-due: invalid character 'b' looking for beginning of value — recording none (it sleeps until a request)
2026/11/27 22:09:31 activator: shop-919f69e2.example.test: released with a marker (clean true, txid 2, files 3:96767144072486e394abe0956b4e2a1fd4e72e11835cd625d49002f18f132f34) in 4ms: files 1ms, sync 0s, record 1ms, marker 2ms
2026/11/27 22:09:31 activator: shop-919f69e2.example.test hibernated
2026/11/27 22:09:31 tenant admission is closed for shutdown
2026/11/27 22:09:31 activator: next-due probe plain-919f69e2.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/27 22:09:31 activator: plain-919f69e2.example.test hibernated
--- PASS: TestHeldHandoverTwoBoxMinio (0.62s)
=== RUN TestHeldHandoverLostLeaseMinio
2026/11/27 22:09:31 edge: mesh key: minted
2026/11/27 22:09:31 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/27 22:09:31 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/27 22:09:31 tenant admission is open. accepting tenant work
2026/11/27 22:09:31 activator: HA placement host=shop-54e7621c.example.test kind=Place ref=annie reason=roomiest generation=2026-11-27T22:09:31Z lock_generation=0
2026/11/27 22:09:31 lease: t8-54e7621c/shop-54e7621c.example.test: HA lease acquired in 3ms (first wake)
2026/11/27 22:09:31 activator: shop-54e7621c.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/27 22:09:31 activator: shop-54e7621c.example.test: started carlos-instance@shop\x2d54e7621c.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 5ms, control socket 0s, key gate 0s, logs 0s) 6ms, launch file 0s, gate 0s, root start 1ms)
2026/11/27 22:09:31 activator: shop-54e7621c.example.test: carlos-instance@shop\x2d54e7621c.example.test.service launched in 7ms, healthy 0s later
2026/11/27 22:09:32 activator: shop-54e7621c.example.test: woke in 65ms: checks 0s, lease 4ms, restore 0s, identity 0s, protect 0s, spawn 7ms, replicate 53ms
2026/11/27 22:09:32 activator: next-due probe shop-54e7621c.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/27 22:09:32 activator: final checkpoint shop-54e7621c.example.test: lease: release marker owed for s3://contract-bucket/t8-54e7621c/shop-54e7621c.example.test/lock.json (If-Match "c87ceb763d5c4b1a95bc19128d547083"): lease: write release marker: operation error S3: PutObject, https response error StatusCode: 503, RequestID: , HostID: , api error ServiceUnavailable: witness: refused
2026/11/27 22:09:32 activator: shop-54e7621c.example.test hibernated
2026/11/27 22:09:32 activator: handover of shop-54e7621c.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-54e7621c.example.test client 4 "
hadrain_twobox_minio_linux_test.go:1486: driver calls: [begin shop-54e7621c.example.test <nil> releasing shop-54e7621c.example.test <nil> stop shop-54e7621c.example.test marker=false clean=false <nil> left shop-54e7621c.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/27 22:09:32 tenant admission is closed for shutdown
2026/11/27 22:09:32 http: proxy error: context canceled
--- PASS: TestHeldHandoverLostLeaseMinio (0.32s)
PASS
ok github.com/carlosframework/platform/internal/host 0.986s
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/27 22:09:33 lease: instances/gen-1795817373297001224.shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/27 22:09:33 lease: instances/gen-1795817373297001224.shop.example.com: HA lease acquired in 3ms (holder terminated)
gentake_minio_test.go:308: a second create-only copy onto instances/gen-1795817373297001224.shop.example.com/g-00000000000000000002/0000/0000000000000001-0000000000000001.ltx: <nil> (destination condition honoured: false)
2026/11/27 22:09:33 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/27 22:09:33 ERROR enforce L0 time retention system=store db=w.example.com.db error="fetch l1 files: lease: a write has waited too long to reach storage (write fence)"
2026/11/27 22:09:33 http: proxy error: context canceled
2026/11/27 22:09:33 ERROR retention enforcement failed system=store db=w.example.com.db error="enforce snapshot retention: remove ltx files: lease: a write has waited too long to reach storage (write fence)"
=== RUN TestGenerationTakeMinio/switch-412
2026/11/27 22:09:33 lease: instances/gen-1795817373420784312.shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/27 22:09:33 ERROR retention enforcement failed system=store db=seed.db error="enforce snapshot retention: remove ltx files: lease: invalid or changed generation binding"
2026/11/27 22:09:33 lease: instances/gen-1795817373420784312.shop.example.com: HA lease acquired in 3ms (clean marker)
=== RUN TestGenerationTakeMinio/copy-version
=== RUN TestGenerationTakeMinio/store-time
2026/11/27 22:09:33 lease: instances/gen-1795817373517922279.shop.example.com: HA lease acquired in 3ms (first wake)
2026/11/27 22:09:33 ERROR retention enforcement failed system=store db=seed.db error="enforce snapshot retention: remove ltx files: lease: invalid or changed generation binding"
2026/11/27 22:09:33 lease: instances/gen-1795817373517922279.shop.example.com: HA lease acquired in 3ms (clean marker)
2026/11/27 22:09:33 lease: instances/gen-1795817373517922279.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/27 22:09:33 lease: instances/gen-1795817373517922279.shop.example.com: HA lease acquired in 3ms (unclean marker)
2026/11/27 22:09:33 lease: instances/gen-1795817373517922279.shop.example.com: HA lease acquired in 3ms (unclean marker)
2026/11/27 22:09:33 lease: instances/gen-1795817373517922279.shop.example.com: HA lease acquired in 3ms (unclean marker)
=== RUN TestGenerationTakeMinio/skew
--- PASS: TestGenerationTakeMinio (0.38s)
--- PASS: TestGenerationTakeMinio/take (0.12s)
--- PASS: TestGenerationTakeMinio/switch-412 (0.09s)
--- PASS: TestGenerationTakeMinio/copy-version (0.01s)
--- PASS: TestGenerationTakeMinio/store-time (0.15s)
--- PASS: TestGenerationTakeMinio/skew (0.01s)
PASS
ok github.com/carlosframework/platform/internal/lease 0.398s
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 1m52.362s
codehealth_test.go:107: line metrics (code lines, then physical):
file-lines 5471 7324 internal/activator activator_test.go
file-lines 4200 7033 internal/console server.go
file-lines 4150 6312 . apimode.go
file-lines 3785 7224 internal/activator activator.go
file-lines 3530 4459 . apimode_test.go
file-lines 3261 3864 internal/registry registry_test.go
file-lines 3209 6403 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 688 1243 internal/host runAgent
func-lines 571 908 internal/activator (*Service).doWakeOnce
func-lines 538 546 internal/host runServingParkPeerNamespace
func-lines 519 712 . runRoute
func-lines 509 569 internal/host TestPagingIsRateLimited
func-lines 494 815 internal/release adoptHost
func-lines 441 500 internal/host TestRootInstanceStopExecStop
func-lines 421 436 internal/host (*ClaimWakeAssembly).Build
func-lines 421 437 internal/team TestFixture
func-lines 412 414 internal/console TestDemoProtectionsSourceToLimitAndTakedown
func-lines 408 485 . TestFleetAppServesThroughTheHub
func-lines 402 406 internal/registry (*Registry).haJournal
func-lines 400 868 internal/provision rootReadArchivedChain
func-lines 399 732 internal/release PassFilter
func-lines 390 398 internal/host runFilesSeedPreparationWithLive
func-lines 383 406 internal/console TestDemoSourceToLiveAndUpdate
func-lines 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 366 636 cmd/console serve
func-lines 364 371 internal/host testRootMigrationBootstrap
func-lines 360 362 internal/edge TestDemoAPIAliasBoundary
func-lines 357 358 internal/registry (*Registry).dispatchRemote
func-lines 355 372 internal/host TestRootSandboxUpdateFromOldBox
func-lines 343 354 internal/analytics Prune
func-lines 340 353 internal/host newColdRootHarness
func-lines 335 557 internal/console (*Store).migrate
func-lines 334 334 internal/host TestPlan12RecoveryRestoreSourceDatabase
func-lines 330 371 internal/edge TestRegionalNameNeverLeavesItsRegion
func-lines 329 471 . runDeploy
func-lines 329 329 internal/host TestPlan12RecoveryRestoreSourceDatabase.func1
func-lines 327 369 internal/edge TestTunnelWebSocketEndToEnd
func-lines 325 455 internal/objstore TestDeliveredContractMinio
func-lines 320 654 internal/appconfig SyncExecWithCallbacks
func-lines 315 318 internal/host plan14TimerIntention
func-lines 311 314 internal/host plan14TimerIntention.func1
func-lines 310 315 internal/hostbox ColdHandover.Run
func-lines 308 309 internal/host rootFilesSeedIsolatedWitness
func-lines 305 323 internal/host hairpinKernelWitness
func-lines 304 308 internal/console TestHAP2ProductionDoors
func-lines 302 329 internal/host TestRootG2PoolIngress
release-importers: . cmd/console internal/activator internal/analytics internal/appconfig internal/apperr internal/applog internal/apppolicy internal/boxid internal/boxvolumes internal/console internal/dbreads internal/dbreads/dbreadstest internal/dbverify internal/demobuild internal/domains internal/doorkey internal/edge internal/edgeproof internal/edgesfile internal/fleetapi internal/grouproll internal/grouprollaws internal/historyreadback internal/host internal/hostactors internal/hostbox internal/hostclaim internal/hostevidence internal/hostexec internal/hostfence internal/hostfiles internal/hostfloor internal/hostguard internal/hostops internal/hostrelocate internal/hostresolve internal/instancectl internal/instanceupdates internal/interactive internal/layout internal/lease internal/ledger internal/mail internal/mailer internal/mailsubmit internal/metrics internal/moves internal/objstore internal/ops internal/park internal/plans internal/provision internal/relay internal/rollout internal/rootfsimage internal/runs internal/s3fake internal/schedule internal/seeds internal/status internal/telemetry internal/usage internal/vet scripts/pathmapcheck scripts/witness-pointer
not scanned (216 files):
cmd/carlos-media/drill_other.go: built only for other systems or tags
cmd/carlos-media/harden_other.go: built only for other systems or tags
cmd/console/fleetsocket_other.go: built only for other systems or tags
cmd/console/servelock_windows.go: built only for other systems or tags
cmd/moveprobe/detach_windows.go: built only for other systems or tags
cmd/rootfswitness/mmap_other.go: built only for other systems or tags
devbox_acl_other.go: built only for other systems or tags
devbox_envfile_darwin_test.go: built only for other systems or tags
devbox_envfile_other.go: built only for other systems or tags
domains_transfer_signals_other.go: built only for other systems or tags
interactive_term_darwin.go: built only for other systems or tags
interactive_term_other.go: built only for other systems or tags
internal/activator/claimprocess_root_other.go: built only for other systems or tags
internal/activator/escrow_stamp_other.go: built only for other systems or tags
internal/activator/fleetreserve_other.go: built only for other systems or tags
internal/activator/harecord_other.go: built only for other systems or tags
internal/activator/ownenv_other.go: built only for other systems or tags
internal/activator/pty_other.go: built only for other systems or tags
internal/activator/race_on_test.go: built only for other systems or tags
internal/activator/rolelaunch_other.go: built only for other systems or tags
internal/assetcache/statfs_other.go: built only for other systems or tags
internal/boxself/io_other.go: built only for other systems or tags
internal/cgroup/cleanup_other.go: built only for other systems or tags
internal/cgroup/cleanup_other_test.go: built only for other systems or tags
internal/cgroup/hostprocs_other.go: built only for other systems or tags
internal/cgroup/recreate_other.go: built only for other systems or tags
internal/cgroup/role_other.go: built only for other systems or tags
internal/cgroup/shim_other.go: built only for other systems or tags
internal/cgroup/strict_other.go: built only for other systems or tags
internal/cgroup/verify_other.go: built only for other systems or tags
internal/console/claim_sql_identity_other.go: built only for other systems or tags
internal/console/geoipverify_other.go: built only for other systems or tags
internal/console/hostreports_process_other.go: built only for other systems or tags
internal/console/replicaview_other.go: built only for other systems or tags
internal/console/restore_sim_nice_other_test.go: built only for other systems or tags
internal/console/scalecost_other_test.go: built only for other systems or tags
internal/console/seedscratch_windows.go: built only for other systems or tags
internal/dbreads/worker_other.go: built only for other systems or tags
internal/demobuild/security_other.go: built only for other systems or tags
internal/democlaim/source_other.go: built only for other systems or tags
internal/devbox/peer_darwin.go: built only for other systems or tags
internal/devbox/peer_darwin_test.go: built only for other systems or tags
internal/devbox/peer_other.go: built only for other systems or tags
internal/devbox/socketcheck_other.go: built only for other systems or tags
internal/domains/certimport_read_portable.go: built only for other systems or tags
internal/edge/devboxpeer_other.go: built only for other systems or tags
internal/edge/hairpin_other.go: built only for other systems or tags
internal/edge/heldbudget_other.go: built only for other systems or tags
internal/edge/purge_listen_unix.go: built only for other systems or tags
internal/edge/purge_listen_windows.go: built only for other systems or tags
internal/edge/race_on_test.go: built only for other systems or tags
internal/edge/replicaconsole_owner_other.go: built only for other systems or tags
internal/edge/replicaconsole_peer_other.go: built only for other systems or tags
internal/edge/replicaconsole_socket_other_test.go: built only for other systems or tags
internal/edge/static_artifact_other.go: built only for other systems or tags
internal/edge/static_recordlock_other.go: built only for other systems or tags
internal/edge/static_sweep_other.go: built only for other systems or tags
internal/execsandbox/cleanup_other.go: built only for other systems or tags
internal/execsandbox/file_other.go: built only for other systems or tags
internal/execsandbox/oci_other.go: built only for other systems or tags
internal/fileacl/fileacl_darwin.go: built only for other systems or tags
internal/fileacl/fileacl_darwin_amd64.s: built only for other systems or tags
internal/fileacl/fileacl_darwin_arm64.s: built only for other systems or tags
internal/fileacl/fileacl_darwin_test.go: built only for other systems or tags
internal/grouproll/state_other.go: built only for other systems or tags
internal/grouprollaws/pty_darwin.go: built only for other systems or tags
internal/grouprollaws/pty_other.go: built only for other systems or tags
internal/hairpin/native_other.go: built only for other systems or tags
internal/host/applylock_other_test.go: built only for other systems or tags
internal/host/bootstrapfs_other.go: built only for other systems or tags
internal/host/boxroles_config_other.go: built only for other systems or tags
internal/host/claimfilesseed_delegation_other.go: built only for other systems or tags
internal/host/claimfilesseed_transport_other.go: built only for other systems or tags
internal/host/claimjournal_containment_other.go: built only for other systems or tags
internal/host/claimjournal_migration_other.go: built only for other systems or tags
internal/host/claimlaunch_kernel_other.go: built only for other systems or tags
internal/host/claimlaunch_rev2_other_test.go: built only for other systems or tags
internal/host/claimproduction_other.go: built only for other systems or tags
internal/host/claimready_other.go: built only for other systems or tags
internal/host/claimroleassembly_other.go: built only for other systems or tags
internal/host/claimservingartifact_other.go: built only for other systems or tags
internal/host/claimservinghandover_reboot_other.go: built only for other systems or tags
internal/host/claimservinghandover_reboot_other_test.go: built only for other systems or tags
internal/host/claimservingpark_other.go: built only for other systems or tags
internal/host/claimstate_other.go: built only for other systems or tags
internal/host/claimstop_kernel_other.go: built only for other systems or tags
internal/host/claimtoken_inventory_other.go: built only for other systems or tags
internal/host/claimunit_dropin_other.go: built only for other systems or tags
internal/host/claimunit_files_other.go: built only for other systems or tags
internal/host/claimunit_migrate_other.go: built only for other systems or tags
internal/host/claimunit_ready_other.go: built only for other systems or tags
internal/host/claimunit_socket_migration_other.go: built only for other systems or tags
internal/host/consolefleet_owner_other.go: built only for other systems or tags
internal/host/dbreads_other.go: built only for other systems or tags
internal/host/egress_rail_other.go: built only for other systems or tags
internal/host/fileowner_other.go: built only for other systems or tags
internal/host/flock_windows.go: built only for other systems or tags
internal/host/group_config_other.go: built only for other systems or tags
internal/host/group_maintenance_other.go: built only for other systems or tags
internal/host/group_maintenance_verbs_other.go: built only for other systems or tags
internal/host/group_receipt_other.go: built only for other systems or tags
internal/host/hadrain_call_other.go: built only for other systems or tags
internal/host/hadrain_socket_other.go: built only for other systems or tags
internal/host/hadrainfence_other.go: built only for other systems or tags
internal/host/headroom_other.go: built only for other systems or tags
internal/host/installchannel_other.go: built only for other systems or tags
internal/host/managedboot_other.go: built only for other systems or tags
internal/host/metrics_nested_other.go: built only for other systems or tags
internal/host/movesfloor_other.go: built only for other systems or tags
internal/host/movesfloorgate_other.go: built only for other systems or tags
internal/host/movesheldrelease_other.go: built only for other systems or tags
internal/host/movesmeasure_other.go: built only for other systems or tags
internal/host/offcloudcredentials_other.go: built only for other systems or tags
internal/host/registrychild_exec_other.go: built only for other systems or tags
internal/host/registrychild_other.go: built only for other systems or tags
internal/host/registryowner_chown_other.go: built only for other systems or tags
internal/host/registryowner_descriptor_unix.go: built only for other systems or tags
internal/host/replicahealth_other.go: built only for other systems or tags
internal/host/rootgeneration_census_other.go: built only for other systems or tags
internal/host/rootgeneration_kernel_other.go: built only for other systems or tags
internal/host/rootgeneration_payload_other.go: built only for other systems or tags
internal/host/rootgeneration_retired_other.go: built only for other systems or tags
internal/host/rootmigration_production_other.go: built only for other systems or tags
internal/host/runscset_other.go: built only for other systems or tags
internal/host/sandboxenv_other.go: built only for other systems or tags
internal/host/statfs_windows.go: built only for other systems or tags
internal/host/systemapply_other.go: built only for other systems or tags
internal/hostbox/census_vendor_other.go: built only for other systems or tags
internal/hostbox/inventory_identity_other.go: built only for other systems or tags
internal/hostbox/journalmigration_other.go: built only for other systems or tags
internal/hostbox/journalnamespace_other.go: built only for other systems or tags
internal/hostbox/journaltrust_other.go: built only for other systems or tags
internal/hostbox/migration_census_other.go: built only for other systems or tags
internal/hostbox/typedpark_other.go: built only for other systems or tags
internal/hostenv/group_other.go: built only for other systems or tags
internal/hostenv/write_other.go: built only for other systems or tags
internal/hostenv/write_other_test.go: built only for other systems or tags
internal/hostexec/clock_other.go: built only for other systems or tags
internal/hostexec/clock_other_test.go: built only for other systems or tags
internal/hostexec/local_other.go: built only for other systems or tags
internal/hostexec/pending_other.go: built only for other systems or tags
internal/hostexec/probe_other.go: built only for other systems or tags
internal/hostexec/rootprocess_other.go: built only for other systems or tags
internal/hostfiles/dir_other.go: built only for other systems or tags
internal/hostfiles/refuse_other.go: built only for other systems or tags
internal/hostfiles/watch_other.go: built only for other systems or tags
internal/hostfloor/controllers_other.go: built only for other systems or tags
internal/hostfloor/image_other.go: built only for other systems or tags
internal/hostguard/flock_other.go: built only for other systems or tags
internal/hostguard/flock_other_test.go: built only for other systems or tags
internal/hostguard/record_other.go: built only for other systems or tags
internal/instancectl/claimexec_other.go: built only for other systems or tags
internal/instancectl/claimexec_socket_other.go: built only for other systems or tags
internal/instancectl/claimlaunch_snapshot_other.go: built only for other systems or tags
internal/instancectl/claimnetwork_other.go: built only for other systems or tags
internal/instancectl/demo_snapshot_other.go: built only for other systems or tags
internal/instancectl/egress_cgroup_other.go: built only for other systems or tags
internal/instancectl/egress_dropin_other.go: built only for other systems or tags
internal/instancectl/fleetsize_other.go: built only for other systems or tags
internal/instancectl/gvisorprobe_other.go: built only for other systems or tags
internal/instancectl/peer_other.go: built only for other systems or tags
internal/instancectl/peer_tuple_other.go: built only for other systems or tags
internal/instancectl/rootfs_identity_other.go: built only for other systems or tags
internal/instanceexec/claimexec_other.go: built only for other systems or tags
internal/instanceexec/exec_rootfs_other.go: built only for other systems or tags
internal/instanceexec/netlink_route_other.go: built only for other systems or tags
internal/instanceexec/probe_gvisor_other.go: built only for other systems or tags
internal/instanceexec/probe_hardening_other.go: built only for other systems or tags
internal/instanceexec/probe_other.go: built only for other systems or tags
internal/instanceexec/probe_rootfs_other.go: built only for other systems or tags
internal/instanceexec/sandbox_other.go: built only for other systems or tags
internal/instanceexec/scope_other.go: built only for other systems or tags
internal/instanceexec/stop_other.go: built only for other systems or tags
internal/instanceexec/tty_other.go: built only for other systems or tags
internal/instancefs/instancefs_other.go: built only for other systems or tags
internal/launchd/activate_darwin.go: built only for other systems or tags
internal/launchd/activate_darwin_amd64.s: built only for other systems or tags
internal/launchd/activate_darwin_arm64.s: built only for other systems or tags
internal/launchd/activate_darwin_test.go: built only for other systems or tags
internal/layout/journal_other.go: built only for other systems or tags
internal/layout/links_other.go: built only for other systems or tags
internal/mailer/keys_other.go: built only for other systems or tags
internal/maintenanceexec/run_other.go: built only for other systems or tags
internal/managedboot/admission_other.go: built only for other systems or tags
internal/managedboot/identity_other.go: built only for other systems or tags
internal/mediahandler/collect_other.go: built only for other systems or tags
internal/mediahandler/procs_other.go: built only for other systems or tags
internal/medialocal/runner_other.go: built only for other systems or tags
internal/moves/archive/open_other.go: built only for other systems or tags
internal/moves/archive/sync_other.go: built only for other systems or tags
internal/ops/flock_windows.go: built only for other systems or tags
internal/park/local_other.go: built only for other systems or tags
internal/privatefile/io_other.go: built only for other systems or tags
internal/proxyproto/peek_other.go: built only for other systems or tags
internal/relay/race_on_test.go: built only for other systems or tags
internal/release/consumedfence_other.go: built only for other systems or tags
internal/release/digestcache_other.go: built only for other systems or tags
internal/rootaws/credentials_other.go: built only for other systems or tags
internal/rootaws/open_darwin.go: built only for other systems or tags
internal/rootfsimage/dir_other.go: built only for other systems or tags
internal/rootstate/authoritydir_other.go: built only for other systems or tags
internal/rootstate/authorityfile_other.go: built only for other systems or tags
internal/rootstate/file_other.go: built only for other systems or tags
internal/rootstate/link_other.go: built only for other systems or tags
internal/rootstate/persistent_other.go: built only for other systems or tags
internal/rootstate/state_other.go: built only for other systems or tags
internal/safefile/file_other.go: built only for other systems or tags
internal/safefile/reap_other.go: built only for other systems or tags
internal/stopevidence/fds_other.go: built only for other systems or tags
internal/stopevidence/fds_other_test.go: built only for other systems or tags
internal/stopevidence/holders_other.go: built only for other systems or tags
internal/stopevidence/reconstruct_other.go: built only for other systems or tags
internal/team/storelock_other.go: built only for other systems or tags
internal/team/storelock_windows.go: built only for other systems or tags
move_offline_run_other.go: built only for other systems or tags
system_group_other.go: built only for other systems or tags
codehealth_test.go:115: fatal 1094 at 474 sites log.Fatal*, (*log.Logger).Fatal* and os.Exit in the root package's production files
codehealth_test.go:115: sleep 1005 at 811 sites time.Sleep in test files
codehealth_test.go:115: db-no-context 885 at 703 sites database calls with no context (dbOpWithoutContext) in production files
codehealth_test.go:115: host-context 188 at 142 sites context.Background and context.TODO in internal/host production files
codehealth_test.go:115: func-lines 18595 at 45 sites functions over 300 code lines (blank and comment-only lines not counted)
codehealth_test.go:115: file-lines 30700 at 8 sites files over 3,000 code lines, counted the same way
codehealth_test.go:115: release-importers 66 at 1 sites packages whose production files import internal/release
codehealth_test.go:119: below the record: func-lines internal/edge (*Edge).ServeHTTP -: 369 in the code, the record allows 378 (make code-health-record lowers it)
codehealth_test.go:119: below the record: file-lines internal/console server.go -: 4200 in the code, the record allows 4210 (make code-health-record lowers it)
--- PASS: TestCodeHealth (112.37s)
PASS
ok github.com/carlosframework/platform/internal/codehealth 113.787s
=== code-health-record ===
go version go1.26.10 linux/arm64
code-health record: comparing with the merge base 9f5292370dd7cf019afeb7eaf8587ab361eb24e4 (main is a52ab35aad5850f02400e2ecaac720d32dee275f)
=== 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 (14 s, from +14 s)
ok github.com/carlosframework/platform/internal/systemd 13.650s
=== internal_rootaws@0 (27 s, from +35 s)
ok github.com/carlosframework/platform/internal/rootaws 25.700s
=== internal_activator@0 (267 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 265.149s
=== internal_activator@1 (264 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 261.927s
=== internal_activator@2 (278 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 275.881s
=== internal_activator@3 (417 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 415.240s
=== internal_activator@4 (277 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 274.820s
=== internal_activator@5 (311 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 309.386s
=== internal_activator@6 (318 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 316.202s
=== internal_activator@7 (410 s, from +114 s)
ok github.com/carlosframework/platform/internal/activator 407.926s
=== internal_edge@0 (85 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 81.534s
=== internal_edge@1 (78 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 74.086s
=== internal_edge@2 (206 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 202.984s
=== internal_edge@3 (187 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 183.851s
=== internal_edge@4 (181 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 177.790s
=== internal_edge@5 (224 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 220.465s
=== internal_edge@6 (208 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 204.344s
=== internal_edge@7 (227 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 223.247s
=== internal_edge@8 (226 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 222.848s
=== internal_edge@9 (342 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 337.929s
=== internal_edge@10 (239 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 235.266s
=== internal_edge@11 (213 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 208.970s
=== internal_edge@12 (248 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 244.576s
=== internal_edge@13 (265 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 261.632s
=== internal_edge@14 (176 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 172.020s
=== internal_edge@15 (248 s, from +136 s)
ok github.com/carlosframework/platform/internal/edge 244.428s
=== internal_host@0 (9 s, from +197 s)
ok github.com/carlosframework/platform/internal/host 5.077s
=== internal_host@1 (17 s, from +197 s)
ok github.com/carlosframework/platform/internal/host 13.348s
=== lists: internal_edge 135 s, internal_activator 112 s, internal_host 195 s, internal_rootaws 33 s, internal_systemd 13 s
=== cpu: the gate used 7707 cpu-seconds in 531 s, about 14.5 of 32 cores; the machine as a whole was 45% busy
=== gitleaks ===
go version go1.26.10 linux/arm64
go: downloading github.com/zricethezav/gitleaks/v8 v8.30.1
go: downloading github.com/charmbracelet/lipgloss v0.5.0
go: downloading golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa
go: downloading github.com/BobuSumisu/aho-corasick v1.0.3
go: downloading github.com/rs/zerolog v1.33.0
go: downloading github.com/Masterminds/sprig/v3 v3.3.0
go: downloading github.com/gitleaks/go-gitdiff v0.9.1
go: downloading github.com/fatih/semgroup v1.2.0
go: downloading github.com/mholt/archives v0.1.2
go: downloading github.com/spf13/cobra v1.9.1
go: downloading github.com/spf13/viper v1.19.0
go: downloading github.com/h2non/filetype v1.1.3
go: downloading github.com/hashicorp/go-version v1.7.0
go: downloading dario.cat/mergo v1.0.1
go: downloading github.com/spf13/cast v1.7.1
go: downloading golang.org/x/crypto v0.35.0
go: downloading github.com/Masterminds/goutils v1.1.1
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading github.com/shopspring/decimal v1.4.0
go: downloading github.com/Masterminds/semver/v3 v3.3.0
go: downloading github.com/huandu/xstrings v1.5.0
go: downloading github.com/spf13/pflag v1.0.6
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: downloading golang.org/x/sync v0.11.0
go: downloading golang.org/x/text v0.22.0
go: downloading github.com/nwaples/rardecode/v2 v2.1.0
go: downloading github.com/sorairolake/lzip-go v0.3.5
go: downloading github.com/klauspost/compress v1.17.11
go: downloading github.com/therootcompany/xz v1.0.1
go: downloading github.com/pierrec/lz4/v4 v4.1.21
go: downloading github.com/andybalholm/brotli v1.1.2-0.20250424173009-453214e765f3
go: downloading github.com/STARRY-S/zip v0.2.1
go: downloading github.com/bodgit/sevenzip v1.6.0
go: downloading github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707
go: downloading github.com/klauspost/pgzip v1.2.6
go: downloading github.com/ulikunitz/xz v0.5.12
go: downloading github.com/minio/minlz v1.0.0
go: downloading github.com/lucasb-eyer/go-colorful v1.2.0
go: downloading github.com/mattn/go-runewidth v0.0.14
go: downloading github.com/muesli/reflow v0.2.1-0.20210115123740-9e1d0d53df68
go: downloading github.com/muesli/termenv v0.15.1
go: downloading github.com/fsnotify/fsnotify v1.8.0
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/sagikazarmark/slog-shim v0.1.0
go: downloading github.com/spf13/afero v1.12.0
go: downloading github.com/mattn/go-colorable v0.1.14
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading github.com/subosito/gotenv v1.6.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/magiconair/properties v1.8.9
go: downloading github.com/pelletier/go-toml/v2 v2.2.3
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading golang.org/x/sys v0.30.0
go: downloading github.com/bodgit/plumbing v1.3.0
go: downloading go4.org v0.0.0-20230225012048-214862532bf5
go: downloading github.com/hashicorp/golang-lru/v2 v2.0.7
go: downloading github.com/bodgit/windows v1.0.1
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1
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 11805 tracked files; 33 not scanned, by exact path (scripts/gitleaks-gate/notscanned.go)
gitleaks: clean
diff --git a/docs/superpowers/notes/census-proposal-sec-h5-edge-availability.md b/docs/superpowers/notes/census-proposal-sec-h5-edge-availability.md| index 71fd0390d..8f72b9128 100644 |
| --- a/docs/superpowers/notes/census-proposal-sec-h5-edge-availability.md |
| +++ b/docs/superpowers/notes/census-proposal-sec-h5-edge-availability.md |
| @@ -31,6 +31,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the |
| - new `internal/edge/edge.go:Edge.readBoundedBody`: reads +file:ReadAll; written legacy, accepted-legacy, frozen |
| - new `internal/edge/static.go:existingDir`: reads +file:Lstat; written legacy, accepted-legacy, frozen |
| -Seal: `dbdeb2e3a1a89cb8f33584fdb80a3bf1c5adef14ce222fef9d442ed8e059699c` → `a25dc3c6168c2315d882e88b8f795ef2644837b837f28546d61da85beb602d2f`. |
| +Seal: `dbdeb2e3a1a89cb8f33584fdb80a3bf1c5adef14ce222fef9d442ed8e059699c` → `1c26630fc4ac372cb33858a8154bd3f1a65f5bfa6700b631190b4275362c2ae7`. |
| Overlay: `internal/provision/testdata/plan14-root-reads-sec-h5-edge-availability.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 c15fd7ce8..4bb2a61d0 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-chain.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-chain.tsv |
| @@ -302,3 +302,4 @@ plan14-root-reads-replica-read-lock-1443.tsv 4d4fdb77961d811bcfeae751b17089f0104 |
| plan14-root-reads-litestream-pin-1443.tsv 022a082b517b59ada965bbd7673e941be7c8bb4ae7547a5632f6be0570c97551 |
| plan14-root-reads-fleet-first-reconcile-speed-5.tsv dbdeb2e3a1a89cb8f33584fdb80a3bf1c5adef14ce222fef9d442ed8e059699c |
| plan14-root-reads-cli-contact-prompts.tsv dbdeb2e3a1a89cb8f33584fdb80a3bf1c5adef14ce222fef9d442ed8e059699c |
| +plan14-root-reads-sec-h5-edge-availability.tsv 1c26630fc4ac372cb33858a8154bd3f1a65f5bfa6700b631190b4275362c2ae7 |
diff --git a/internal/provision/testdata/plan14-root-reads-sec-h5-edge-availability.tsv b/internal/provision/testdata/plan14-root-reads-sec-h5-edge-availability.tsv| index e1697a3d3..f7562b958 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-sec-h5-edge-availability.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-sec-h5-edge-availability.tsv |
| @@ -7,7 +7,7 @@ |
| @legacy a326cff2838f59b4a0702d5aab116b27814fdfa4845bddd738131cf968d6ae32 internal/edge/pagecache.go Edge.servePage legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-page-cache-1;basis=the page cache at the LRU point: on an eligible route and a readable request, looks the key up in the page index and serves a hit from the asset store's entry (serveAssetEntry); on a storable miss whose process inputs equal the current inputs (ProcessInputs), begins a recording; reads the route, the request and the box's own asset store;rev3=census-ruling-sec-h5-edge-availability;basis=O4 R1 (H5-M16): a request whose Host header names a port (r.Host != the port-stripped host) is neither looked up in nor stored to the page cache, so a page is keyed by exactly the Host the app is sent. A refusal only; same 2 read sites, no read added. registry:Host@1375,whole:Route@1378 f4e7d57a8c9058e70671a27bf800ca021f5cbfdbddcb4297bbd37cdf79567012 |
| @legacy b836d41642d101d6e2b46f91ff1a9264e5ae79a212d13e04e0b645eff709a538 internal/edge/static.go extractSiteTar legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-static-stream-extract;basis=Accepts io.Reader instead of []byte; gzip reads the verified temporary file supplied by ensureExtracted or the bytes.NewReader adapter in ExtractSite. The extraction paths, file opens, path validation and entry-type refusals are unchanged. No new read site or authority.;rev3=census-ruling-sec-h5-edge-availability;basis=hunt H5-M6 (+O4 R1): refuses (errSiteTooLarge) a tree over siteMaxBytes 1 GiB in all, siteMaxFileBytes 256 MiB for one file, a name over siteMaxName 4096 bytes, or siteMaxEntries 100,000 inodes, where every inode extraction creates counts before it is made: each file, each directory named or implied as a missing parent (siteDirs.mkdirs: os.Mkdir per missing level, top down, instead of MkdirAll), and an entry that makes nothing costs one. Refusals only; same path validation, type refusals and opens under dst. No read added. file:OpenFile@1982 e6f1556f5a90ba4423878a509b760167dee8830c42d2d7db2cc9dc2f350eee89 |
| @legacy 70838826ec732953bdb7e6ecc4f057eccb72ad64c8574b9cc2f5b397d2443bce internal/edge/static.go staticSite.ensureExtracted legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-static-stream-extract;basis=Streams the same account-qualified artifact into a private CreateTemp file under the existing site app directory; adds file:CreateTemp, then reads that same open file only after exact manifest size and SHA256 verification. Limits streaming reads to manifest size plus one and refuses Get fallback above a 64 MiB manifest size, including through wrappers. Keeps the existing mutex, manifest digest binding, cache destination and atomic rename; On linux or darwin immediately unlinks only the name ensureExtracted itself just created, then works solely through the open handle; refuses an unlink failure and retains close/remove cleanup until unlink succeeds. Other platforms keep deferred close/remove. Defers extraction cleanup and logs successful stages. OpenQualifiedStreaming restores the existing qualified-miss migration hint without adding reads or permitting Get fallback; size overruns report more than the manifest size. No deployment record writes or root authority change.;rev3=census-ruling-sec-h5-edge-availability;basis=hunt H5-M6: remembers (s.oversized, under mu) the tree name whose extraction was refused for size and returns that refusal for the same name without downloading again; reads nothing new, same 3 sites. file:CreateTemp@1631,file:Stat@2981,file:Stat@346 725c6b3dfc586c42cc74cda7ea5dda8155f077d102f8261fa64a087df4d16b58 |
| -@legacy 61273ae4acae79ef13859fb8eb3183c8be034b1a87ddc70c5611ddd571592345 internal/edge/edge.go Edge.readBoundedBody legacy accepted-legacy accepted-legacy;rev3=census-ruling-sec-h5-edge-availability;basis=O4 R2 (H5-M5): the one bounded read of a visitor request body (io.ReadAll over http.MaxBytesReader at limit, per-request read deadline, per-client share), taken from readLoginBody and now also used for the HA replay copy. A request body, not a file. file:ReadAll@580 7be2b7ed8d7a8e413b8047478eacf251caad32d62c9c9b6e08fc563960823b5f |
| +@legacy e60a8485bd96aee740d59616a05c24676c925cd53469bcb2fcb67c25a5c8a607 internal/edge/edge.go Edge.readBoundedBody legacy accepted-legacy accepted-legacy;rev3=census-ruling-sec-h5-edge-availability;basis=O4 R2 (H5-M5): the one bounded read of a visitor request body (io.ReadAll over http.MaxBytesReader at limit, per-request read deadline, per-client share), taken from readLoginBody and now also used for the HA replay copy. A request body, not a file. O4 CI fix: the unreadable answer is written with constant codes (a login bool replaces the status parameter, for the #421 guard); the same 413 and 408, no read added. file:ReadAll@576 7d7e3b9f6da0f2a1494f3503e9cca42028785d5a7e3b9fc7187af8223c1fdc42 |
| @legacy cdd50aeb0ad933e46de917ac947da0c83ce8daa129872ab17a42f5e3715350f2 internal/edge/static.go existingDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-sec-h5-edge-availability;basis=O4 R1: new helper for extractSiteTar's per-level os.Mkdir: on ErrExist, Lstats the path it just tried to make under the extraction dir (a temp dir ensureExtracted made, or the devbox registrar's fresh snapshot dir) and accepts only an existing directory, as MkdirAll did. Lstat never follows a symlink; the result only decides whether to fail. No new authority. Unchanged in O4 R2. file:Lstat@111 855500627eef3985c2ede35c6586eeca152332d7fe3880bff5c83893b9023587 |
| @legacy b7a4581c7b66a3263b1ea5e9fe025e1d5fcf853067dd9958fdc461c181c95c5d internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-edge-page-cache-1;basis=attaches an in-memory page mark holder to every request to an instance route (the +registry:Kind check of up.route.Kind), wraps the hold and upgrade branches in pageDiagnostics, asks servePage after the plan throttle (a hit answered from the page index over the asset store), keeps an opted-in instance out of the LRU (pagesOptedIn), wraps the response in the page writer, and wraps the proxy's writer in assetInformationalScrub on the remaining arms; the page reads are in the new pagecache.go units;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added; region HA held-requests Task 5: after the HA control-path branch, every request is counted by the connection drain (conns.track: a cancellable request context, and Connection: close only while draining); memory only; no read added; Task 5 fix 1: after the drain's final barrier a new request is refused at once through handoverExit with the existing answerHolderUnreachable, never forwarded; the tracked request also carries its connection (from ConnContext) so the drain can close it at its bound; memory only; no read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: the inbound strip also deletes tunnelclient.LinkAppHeader (Carlos-Link-App) from every client request, beside Carlos-Tunnel-Upgrade; a header delete, no read added; linked deployments slice 1 Task 8: a request carrying a link pin (ServeLinked, set only by the home agent's link handler from its own registry's published set) skips the edge's own handlers (HA control, demo handling, the steering probe, the tunnel hub, hop acceptance, the burst notice, the demo API alias, the replica probe), takes its upstream from selectUpstream (the pinned exact entry or a 502), never enters the alias/catch-all backhaul block, the HA front forward, the local asset catch, the page cache or the response LRU; the two lookupUpstreamPath calls become selectUpstream; no read added;rev3=census-ruling-stateless-replicas-4-r28;basis=R28 (#511): for a request whose host has no entry (the lookup miss), after the replica-probe branch, calls refuseRetiredCopy(r, host): within the grace of a host whose replica copy this box retired, the fleet tunnel stream is refused with REFUSED_STREAM (tunnelclient.Refuse) and nothing is written; any other miss gets the unknown-host answer as before; memory only, a refusal only, no read added;rev3=census-ruling-static-site-geo-962;basis=discussion #962: after planDisabledAdmit and before the page mark holder and the observer, a request whose cleaned path is /.carlos/geo (not a linked request) is answered by serveGeoAnswer from the request's geo answer already on the context (decideGeo), 200 JSON no-store or 405, and returns; merged with main (no new read);rev3=census-ruling-fleet-unrouted-503;basis=a request the hub tunnel delivered (tunnelclient mark, not a link channel) for a host this box neither routes nor backhauls answers 503 Retry-After 2 instead of the unknown-host 404; no new read, dial or store access; unmarked requests unchanged (#1008);rev3=census-ruling-fleet-unrouted-503-fix1;basis=a request the hub delivered over this fleet box's channel (MarkFleetChannel, set by the box's own tunnel loop for a "<fleet>/<label>" channel, plus the tunnel client mark) for a host this box neither routes nor backhauls, and not under a platform domain, answers 503 Retry-After 2 instead of the unknown-host 404; fixed log key; no new read, dial or store access; every other request unchanged (#1008);rev3=census-ruling-fix-dbforward-reuse-1032;basis=the drain tracking call now takes withDeclaredBodyEnd(r) instead of r: an HTTP/1 request with a declared Content-Length is served from there on with a body that answers EOF itself after those bytes (#1032), so a proxy transport's confirming read after sending the body upstream no longer lands on the server's closed request body and tears down the upstream connection; HTTP/2 requests are left as they are (Astra r1 P2); memory only, no read, dial or store access added;rev3=census-ruling-fleet-seeded-create-2;basis=The hub's door routing asks boxConsolePath(r) instead of the inline /api/fleet/replicas/ test, so POST /api/fleet/seeds/ goes to the local console by the same rule (POST only, clean path, no RawPath) as the replica doors. Serving only; no read of a path a tenant names; the same 65 read sites.;rev3=census-ruling-path-routes-across-boxes;basis=#186: selection returns requestSelection; a Remote selection is dispatched by servePathRemote (one signed hop, never from a verified hop, door call or pin); the ownership block moved to serveNameOwner/nameOwnerVerdict (pathhop.go), so its route reads left; login re-selection via loginLookupPath plus refuseLoginAcross; LRU also requires pathLRUAllowed; no read added;rev3=census-ruling-fleet-client-address-1348;basis=hop acceptance moved into acceptIngress (pinned: dropHopHeaders; else acceptHop), which then, for a request a tunnel delivered (tunnelclient mark) whose X-Forwarded-For hubVisitor accepts (every entry an IP), carries its last entry as the gate attempt key (gate.WithClientAddr), as ServeLinked does (#1348); a context value on the request, memory only, no read, dial or store access added; no check weakened;rev3=census-ruling-console-addr-from-install;basis=the box-door test is consolefleet.BoxDoor, the same rule moved to a shared package; no read added;rev3=census-ruling-managed-fleets-2b2;basis=three additions, no read added: (1) first, on a box whose edge was given a managed probe responder (managed boxes only), the exact path /__carlos/managed-probe goes to serveManagedProbe, which answers 404 unless the request came over this box's own tunnel (tunnelclient.FromTunnel) as a POST carrying X-Carlos-Managed-Probe: 1; (2) on the reserved tunnel host, a POST to the exact path /__carlos/fleet-probe (RawPath empty) goes to serveFleetProbe, everything else keeps the hub's 404; (3) X-Carlos-Managed-Probe and X-Carlos-Probe-Channel are deleted from every inbound request beside the replica probe marker; merge of origin/main 173c7033: main's region HA held requests (the reserved /.carlos/ha-drain and /.carlos/ha-take branch and the connection-drain tracking, both kept right after this branch's managed probe branch, which stays first) and edge page cache slice 1 (page mark holder, pageDiagnostics, servePage), not this branch; census P2-1: probe markers stripped right after the managed-probe branch, before every other dispatch incl. replica-console forwarding; no read added; merge of origin/main 65951fbb: main's linked deployments slice 1 (the link pin read from the context first, every edge-own handler skipped for a pinned request, the Carlos-Link-App strip), R28 retired-copy refusal, static-site geo #962, fleet unrouted 503, #1032 declared body end, seeded-create door routing, path routes across boxes, fleet client address #1348 and consolefleet.BoxDoor, not this branch; resolution: the pin (a context value, no read site) is taken before the managed probe branch, which a linked request now skips like main's other edge-own handlers (it reaches its pinned app or a refusal); the probe marker and channel strip still runs right after that branch, before every other dispatch, on every request; code-health split: the managed probe branch, the probe-marker strip and main's HA control-path check moved, in that order, to Edge.serveReservedFirst (still first, on every request, before any forwarding), and the hub's fleet probe POST and the hub hand-off to Edge.serveHub, no read added;rev3=census-ruling-sec-h5-edge-availability;basis=hunt H5-M5/M16: the login POST body read (io.ReadAll of the visitor request body, bounded by gate.MaxFormBody) moves into readLoginBody, since O4 R2 a call to the one bounded read readBoundedBody (size, per-request read deadline, per-client count), and now applies to every login POST, not only the ungated -tunnel row; the response-cache key is built by cacheKeyFor (adds the Host header port and escaped path). Merged with main (path routes across boxes, PPv2): comments only. O4 R2: comment only (bufferBody). A request body, not a file; no read added. registry:App@25592,registry:Gate@18661,registry:Gate@29983,registry:Gate@30043,registry:Gate@30101,registry:HA@13821,registry:HA@14163,registry:Host@14202,registry:Host@30086,registry:ImportGate@38978,registry:Kind@22626,registry:Kind@24454,registry:Kind@27892,registry:Kind@38920,registry:Kind@38949,whole:Route@13824,whole:Route@13918,whole:Route@14166,whole:Route@14205,whole:Route@18112,whole:Route@18667,whole:Route@19594,whole:Route@20378,whole:Route@20836,whole:Route@21028,whole:Route@22629,whole:Route@24457,whole:Route@25518,whole:Route@25584,whole:Route@25595,whole:Route@25848,whole:Route@25943,whole:Route@26019,whole:Route@26063,whole:Route@26365,whole:Route@26395,whole:Route@27895,whole:Route@28180,whole:Route@29986,whole:Route@30046,whole:Route@30089,whole:Route@30104,whole:Route@31315,whole:Route@33603,whole:Route@38923,whole:Route@38952,whole:Route@38981,whole:Route@39013,whole:Route@41418,whole:Route@8417,whole:Route@8516,whole:Route@8622 8578ecb72d9349c793091d297f80bbf191b3d2b7d2cb3bb27816580abb0bc043 |
| internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. Review R2: the switch is on DispatchArm(t, viaFleet, tunnels) (the order moved there unchanged: forward only when in Arm, own Tunnel, fleet, socket, addrs, static, status, else continue), the fleet cases read verdict.Arm (renamed from Served), and the platform-alias fold is foldPlatformAliases with the same take (source entry, own paths, alias marks) and the same refusal log (-registry:Kind x2, -registry:Socket, -registry:Tunnel, +whole:Route: those reads moved into DispatchArm); same rows, same arms, same entries; no read added.;rev3=census-ruling-fleet-routes-followups;basis=the owners map is now e.reg.FleetOwners() instead of ListFleets folded inline: the same fresh-connection ListFleets read and the same name->account map (-registry:Account, -registry:Name, -whole:Fleet x2 move into Registry.FleetOwners); no read added; same error path (abort the reload);rev3=census-ruling-tunnel-websockets;basis=The ArmTunnel arm now records its tenancy (Account, App, Tunnel) copied from the row t that Reload already lists; no new registry query, no file read. Also the reload mutex taken first and held to return, five nil-in-production test hooks, and the sweepUpgrades call after the swap, which reads only the map Reload has just built (spec 7, Tasks 3 and 4).;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3): the two fleet proxy builds pass the row to fleetBoxOf(t) instead of reading t.FleetBox (-registry:FleetBox x2, +whole:Route x2); fleetBoxOf answers FleetLabel as authoritative when set, else FleetBox; an authoritative box has no fallback to another of the fleet's channels (503 errFleetDark instead). The edge in the agent, not root; it routes to fewer channels, never more.;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): after the new upstream map is published, closes the held streams of any host the new map no longer holds (absent, not hibernating, route no longer Hibernate). Reads the freshly built in-memory map m and the in-memory held set; no read added beyond the rebuild Reload already does.;rev3=census-ruling-devbox-identity;basis=#486 A: only the devbox edge created by newDevboxEdge (carlos-devbox service user, not root) enables the new proxy hooks. Saves the existing DispatchArm result and reads t.Socket from an already-listed route when that arm is ArmSocket, passing it to configureDevboxProxy for per-request expected-owner validation and visitor-header rewriting. Adds one registry:Socket field site; no new registry query or file open, and ordinary fleet/agent edges leave the hook disabled. Final fix wave: its devbox-only outgoing-header/trailer hooks now also strip case-insensitive underscore/hyphen aliases through stripVisitorHeaders; no new read.;rev3=census-ruling-agent-start-demo-1;basis=Checks demo route eligibility and filters the final folded map using the existing registry listing; no new registry or store query. Merge resolution against origin/main 9bd45488 retains main's devbox proxy hooks (reading the existing route Socket) alongside demo filtering; no additional registry query.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: dispatch admitted stateless set rows through replicaProxy before legacy fleetBoxOf. Read Host and supplied whole Route values from the existing listing to build and filter the set probe inputs after all registry reads and alias folds; synchronize before map publication. Tenancy comes only from FleetArmVerdict. No new external read; no set row reaches legacy fallback, local addresses, provision.Health or hibernation on the hub. Fix round 1 M2: comment and whitespace correction only; read sites and routing behavior unchanged.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1175-1177 passes an already-listed demo Route to demoProxy; :1358 passes existing Route and RouteAlias slices to demoRefusalNames; :1401 publishes refusal names before upstreams. Adds whole-value uses only, no new registry query; retained names refuse fallback after filtering.;rev3=census-ruling-demo-api-site-route;basis=Build a dedicated demo API proxy from the selected existing socket, TCP or probed console transport in the same atomic route snapshot, before ordinary wrappers. Reads existing route Host twice, Version and two whole Route values for exact operator-configured console eligibility. No additional registry query or external read.;rev3=census-ruling-agent-start-demo-3;basis=Refresh the verified moved snapshot from registry on reload before route-independent serving. Census read-site delta: unchanged (87).;rev3=census-ruling-region-ha-g2-fixes;basis=Derive blocked ingress names from already listed unready/held/import-gated/sidecar and fleet-refused rows; added field reads only.;rev3=census-ruling-edge-page-cache-1;basis=keeps every row this reload already read from the registry (e.pageRoutes, e.pageRoutesRead = routes, true, under reloadMu) for the page reload hook; the +whole:Route sites are that assignment of the same slice; no new read;rev3=census-ruling-held-move-speed;basis=the six tenant reverse proxies' ModifyResponse is now classifyMoveStreams(e.responseModifier(t)): MarkMoveStream first reads the response head (status 101, or Content-Type text/event-stream) and sets a flag on the request's in-memory StreamEnd, then responseModifier runs unchanged (byte-identical to main). The hook never wraps or touches the body, so the trailer scrubs keep the proxy as their one closer (Astra r2 F2.1: the graceful boundary end and its watcher were cut). No read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: with tunnels on, the pass also reads LinkChannelAuth and LinkOwners from the box's own registry (fresh connection, as FleetChannelAuth and FleetOwners) and merges each well-formed link channel's hash into the set SetDynamicAuth takes; the verdict judges link-placed forward rows by the link owners; an admitted one takes the new ArmLink case (linkProxy down the link's channel, tenancy with the link); the door's fleet snapshot stays fleet owners only and link owners go to a separate snapshot; +whole:Route is the row handed to the new case's responseModifier; the edge process as carlos, no root decision; linked deployments slice 1 Task 8: each upstream entry also records localBackend (ArmSocket, or an instance the activator runs here), from values the pass already holds; no read added; linked deployments slice 1 Task 11: the LinkChannelAuth read (the same fresh-connection read) moves to the top of the pass, before List, and its map is applied at once through the hub's new SetLinkAuth (the link half of the credential set only; fleet entries untouched), so a link revocation or rotation closes the home connection on the old hash even when a later read or step of the same reload fails; the same map is still merged into the set SetDynamicAuth takes; no read added, one moved; the edge process as carlos, no root decision; Task 11 fix round 1: comments only (the reload hook contract now says the link credentials are applied before afterRead); no code or read changed; final review fix: the store of the unread linkAccounts snapshot is deleted (fleetAccounts unchanged); no read added or moved;rev3=census-ruling-stateless-replicas-4-drill3;basis=drill 3 R23: keeps the map it replaces (e.current(), under reloadMu) and, for an ArmReplica row, hands the listed row t and that host's previous entry to replicaHandoffFor; the result is set on the new replica transport and the upstream entry. Review round 3: an activator-owned row's app socket proxy is built with ManyCopies(t), the listed row's own copy count, scoping only when an outside stop may refuse a request. +registry:Host and +whole:Route are the already-listed row t; no registry query, file or store read added; the edge process as carlos, no root decision;rev3=census-ruling-stateless-replicas-4-r28;basis=R28 (#511): right before it publishes the new map, passes the map it replaces (prevMap, already held under reloadMu) and the new map m to noteRetiredCopies, which keeps in memory, for retiredCopyGrace (120 s), the names of this box's replica copies that retired (an instance row of a set with more than one copy, absent from m) and logs one line each. Review round 1: an activator-owned row's app socket proxy is built with the in-memory e.retired.retiring check beside ManyCopies(t), so a request that chose the row before it was dropped ends its dial hold and is refused (REFUSED_STREAM) once the copy is retiring; no registry, file or store read added; the edge process as carlos, no root decision;rev3=census-ruling-path-routes-across-boxes;basis=#186: route_paths rows come through pathRowCache.load (reused while registry.PathsGeneration is unchanged, else ListPaths as before); attachPaths folds them; buildRemotePaths builds the remote map for hosts this box does not serve; publishes routeTable{hosts, remote}; reads the same registry tables as before;rev3=census-ruling-sec-h5-edge-availability;basis=O4 R3 (H5-M5): an ArmReplica entry's proxy is installed behind replicaBodyProxy (replicaproxy.go), which runs bufferBody (readBoundedBody's size, 10 s and per-client bounds) on a replayable request body before the replica transport and hands the copy on as GetBody; the transport no longer reads the client body itself. A wrapper around the proxy just built; no read added, same 96 sites. registry:Account@12872,registry:Alias@28007,registry:Alias@28094,registry:Alias@28674,registry:App@12888,registry:Health@16693,registry:Health@16819,registry:Hibernate@33481,registry:HoldOp@32090,registry:Host@14199,registry:Host@14256,registry:Host@14292,registry:Host@15059,registry:Host@17302,registry:Host@17397,registry:Host@17685,registry:Host@17711,registry:Host@17763,registry:Host@20593,registry:Host@20626,registry:Host@22933,registry:Host@24840,registry:Host@25148,registry:Host@25175,registry:Host@28428,registry:Host@28477,registry:Host@31526,registry:Host@31551,registry:Host@31568,registry:Host@32167,registry:Host@6218,registry:Host@6587,registry:Host@6641,registry:Host@6691,registry:Host@7805,registry:Host@8040,registry:Host@8132,registry:ImportGate@32109,registry:Kind@21269,registry:Kind@21291,registry:Socket@15158,registry:Socket@20864,registry:Socket@25156,registry:Status@32066,registry:Status@6512,registry:Tunnel@12711,registry:Tunnel@12903,registry:Version@20716,registry:Version@21250,registry:Version@21352,whole:RegionalDomain@29371,whole:Route@10250,whole:Route@1045,whole:Route@12793,whole:Route@14347,whole:Route@14475,whole:Route@15098,whole:Route@15234,whole:Route@17856,whole:Route@17921,whole:Route@17972,whole:Route@20643,whole:Route@20650,whole:Route@20774,whole:Route@25236,whole:Route@25243,whole:Route@25357,whole:Route@27129,whole:Route@29363,whole:Route@29455,whole:Route@29495,whole:Route@29665,whole:Route@29696,whole:Route@31432,whole:Route@31466,whole:Route@31554,whole:Route@31633,whole:Route@32052,whole:Route@33483,whole:Route@33540,whole:Route@33571,whole:Route@5238,whole:Route@5296,whole:Route@6226,whole:Route@7834,whole:Route@8079,whole:Route@8287,whole:Route@8421,whole:Route@8444,whole:Route@8459,whole:Route@9305,whole:Route@9433,whole:RouteAlias@27978,whole:RouteAlias@29463,whole:RoutePath@26107,whole:RoutePath@29643 3feeddf3cded19cede9b4959db43896012e74a0656a7d9eb06f0558ddf0fb11d |
| @@ -16,8 +16,8 @@ internal/edge/forwardha.go Edge.forwardHAObserved legacy accepted-legacy accepte |
| internal/edge/pagecache.go Edge.servePage legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-page-cache-1;basis=the page cache at the LRU point: on an eligible route and a readable request, looks the key up in the page index and serves a hit from the asset store's entry (serveAssetEntry); on a storable miss whose process inputs equal the current inputs (ProcessInputs), begins a recording; reads the route, the request and the box's own asset store;rev3=census-ruling-sec-h5-edge-availability;basis=O4 R1 (H5-M16): a request whose Host header names a port (r.Host != the port-stripped host) is neither looked up in nor stored to the page cache, so a page is keyed by exactly the Host the app is sent. A refusal only; same 2 read sites, no read added. registry:Host@1375,whole:Route@1378 f4e7d57a8c9058e70671a27bf800ca021f5cbfdbddcb4297bbd37cdf79567012 |
| internal/edge/static.go extractSiteTar legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-static-stream-extract;basis=Accepts io.Reader instead of []byte; gzip reads the verified temporary file supplied by ensureExtracted or the bytes.NewReader adapter in ExtractSite. The extraction paths, file opens, path validation and entry-type refusals are unchanged. No new read site or authority.;rev3=census-ruling-sec-h5-edge-availability;basis=hunt H5-M6 (+O4 R1): refuses (errSiteTooLarge) a tree over siteMaxBytes 1 GiB in all, siteMaxFileBytes 256 MiB for one file, a name over siteMaxName 4096 bytes, or siteMaxEntries 100,000 inodes, where every inode extraction creates counts before it is made: each file, each directory named or implied as a missing parent (siteDirs.mkdirs: os.Mkdir per missing level, top down, instead of MkdirAll), and an entry that makes nothing costs one. Refusals only; same path validation, type refusals and opens under dst. No read added. file:OpenFile@1982 e6f1556f5a90ba4423878a509b760167dee8830c42d2d7db2cc9dc2f350eee89 |
| internal/edge/static.go staticSite.ensureExtracted legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-static-stream-extract;basis=Streams the same account-qualified artifact into a private CreateTemp file under the existing site app directory; adds file:CreateTemp, then reads that same open file only after exact manifest size and SHA256 verification. Limits streaming reads to manifest size plus one and refuses Get fallback above a 64 MiB manifest size, including through wrappers. Keeps the existing mutex, manifest digest binding, cache destination and atomic rename; On linux or darwin immediately unlinks only the name ensureExtracted itself just created, then works solely through the open handle; refuses an unlink failure and retains close/remove cleanup until unlink succeeds. Other platforms keep deferred close/remove. Defers extraction cleanup and logs successful stages. OpenQualifiedStreaming restores the existing qualified-miss migration hint without adding reads or permitting Get fallback; size overruns report more than the manifest size. No deployment record writes or root authority change.;rev3=census-ruling-sec-h5-edge-availability;basis=hunt H5-M6: remembers (s.oversized, under mu) the tree name whose extraction was refused for size and returns that refusal for the same name without downloading again; reads nothing new, same 3 sites. file:CreateTemp@1631,file:Stat@2981,file:Stat@346 725c6b3dfc586c42cc74cda7ea5dda8155f077d102f8261fa64a087df4d16b58 |
| -internal/edge/edge.go Edge.readBoundedBody legacy accepted-legacy accepted-legacy;rev3=census-ruling-sec-h5-edge-availability;basis=O4 R2 (H5-M5): the one bounded read of a visitor request body (io.ReadAll over http.MaxBytesReader at limit, per-request read deadline, per-client share), taken from readLoginBody and now also used for the HA replay copy. A request body, not a file. file:ReadAll@580 7be2b7ed8d7a8e413b8047478eacf251caad32d62c9c9b6e08fc563960823b5f |
| +internal/edge/edge.go Edge.readBoundedBody legacy accepted-legacy accepted-legacy;rev3=census-ruling-sec-h5-edge-availability;basis=O4 R2 (H5-M5): the one bounded read of a visitor request body (io.ReadAll over http.MaxBytesReader at limit, per-request read deadline, per-client share), taken from readLoginBody and now also used for the HA replay copy. A request body, not a file. O4 CI fix: the unreadable answer is written with constant codes (a login bool replaces the status parameter, for the #421 guard); the same 413 and 408, no read added. file:ReadAll@576 7d7e3b9f6da0f2a1494f3503e9cca42028785d5a7e3b9fc7187af8223c1fdc42 |
| internal/edge/static.go existingDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-sec-h5-edge-availability;basis=O4 R1: new helper for extractSiteTar's per-level os.Mkdir: on ErrExist, Lstats the path it just tried to make under the extraction dir (a temp dir ensureExtracted made, or the devbox registrar's fresh snapshot dir) and accepts only an existing directory, as MkdirAll did. Lstat never follows a symlink; the result only decides whether to fail. No new authority. Unchanged in O4 R2. file:Lstat@111 855500627eef3985c2ede35c6586eeca152332d7fe3880bff5c83893b9023587 |
| internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-edge-page-cache-1;basis=attaches an in-memory page mark holder to every request to an instance route (the +registry:Kind check of up.route.Kind), wraps the hold and upgrade branches in pageDiagnostics, asks servePage after the plan throttle (a hit answered from the page index over the asset store), keeps an opted-in instance out of the LRU (pagesOptedIn), wraps the response in the page writer, and wraps the proxy's writer in assetInformationalScrub on the remaining arms; the page reads are in the new pagecache.go units;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added; region HA held-requests Task 5: after the HA control-path branch, every request is counted by the connection drain (conns.track: a cancellable request context, and Connection: close only while draining); memory only; no read added; Task 5 fix 1: after the drain's final barrier a new request is refused at once through handoverExit with the existing answerHolderUnreachable, never forwarded; the tracked request also carries its connection (from ConnContext) so the drain can close it at its bound; memory only; no read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: the inbound strip also deletes tunnelclient.LinkAppHeader (Carlos-Link-App) from every client request, beside Carlos-Tunnel-Upgrade; a header delete, no read added; linked deployments slice 1 Task 8: a request carrying a link pin (ServeLinked, set only by the home agent's link handler from its own registry's published set) skips the edge's own handlers (HA control, demo handling, the steering probe, the tunnel hub, hop acceptance, the burst notice, the demo API alias, the replica probe), takes its upstream from selectUpstream (the pinned exact entry or a 502), never enters the alias/catch-all backhaul block, the HA front forward, the local asset catch, the page cache or the response LRU; the two lookupUpstreamPath calls become selectUpstream; no read added;rev3=census-ruling-stateless-replicas-4-r28;basis=R28 (#511): for a request whose host has no entry (the lookup miss), after the replica-probe branch, calls refuseRetiredCopy(r, host): within the grace of a host whose replica copy this box retired, the fleet tunnel stream is refused with REFUSED_STREAM (tunnelclient.Refuse) and nothing is written; any other miss gets the unknown-host answer as before; memory only, a refusal only, no read added;rev3=census-ruling-static-site-geo-962;basis=discussion #962: after planDisabledAdmit and before the page mark holder and the observer, a request whose cleaned path is /.carlos/geo (not a linked request) is answered by serveGeoAnswer from the request's geo answer already on the context (decideGeo), 200 JSON no-store or 405, and returns; merged with main (no new read);rev3=census-ruling-fleet-unrouted-503;basis=a request the hub tunnel delivered (tunnelclient mark, not a link channel) for a host this box neither routes nor backhauls answers 503 Retry-After 2 instead of the unknown-host 404; no new read, dial or store access; unmarked requests unchanged (#1008);rev3=census-ruling-fleet-unrouted-503-fix1;basis=a request the hub delivered over this fleet box's channel (MarkFleetChannel, set by the box's own tunnel loop for a "<fleet>/<label>" channel, plus the tunnel client mark) for a host this box neither routes nor backhauls, and not under a platform domain, answers 503 Retry-After 2 instead of the unknown-host 404; fixed log key; no new read, dial or store access; every other request unchanged (#1008);rev3=census-ruling-fix-dbforward-reuse-1032;basis=the drain tracking call now takes withDeclaredBodyEnd(r) instead of r: an HTTP/1 request with a declared Content-Length is served from there on with a body that answers EOF itself after those bytes (#1032), so a proxy transport's confirming read after sending the body upstream no longer lands on the server's closed request body and tears down the upstream connection; HTTP/2 requests are left as they are (Astra r1 P2); memory only, no read, dial or store access added;rev3=census-ruling-fleet-seeded-create-2;basis=The hub's door routing asks boxConsolePath(r) instead of the inline /api/fleet/replicas/ test, so POST /api/fleet/seeds/ goes to the local console by the same rule (POST only, clean path, no RawPath) as the replica doors. Serving only; no read of a path a tenant names; the same 65 read sites.;rev3=census-ruling-path-routes-across-boxes;basis=#186: selection returns requestSelection; a Remote selection is dispatched by servePathRemote (one signed hop, never from a verified hop, door call or pin); the ownership block moved to serveNameOwner/nameOwnerVerdict (pathhop.go), so its route reads left; login re-selection via loginLookupPath plus refuseLoginAcross; LRU also requires pathLRUAllowed; no read added;rev3=census-ruling-fleet-client-address-1348;basis=hop acceptance moved into acceptIngress (pinned: dropHopHeaders; else acceptHop), which then, for a request a tunnel delivered (tunnelclient mark) whose X-Forwarded-For hubVisitor accepts (every entry an IP), carries its last entry as the gate attempt key (gate.WithClientAddr), as ServeLinked does (#1348); a context value on the request, memory only, no read, dial or store access added; no check weakened;rev3=census-ruling-console-addr-from-install;basis=the box-door test is consolefleet.BoxDoor, the same rule moved to a shared package; no read added;rev3=census-ruling-managed-fleets-2b2;basis=three additions, no read added: (1) first, on a box whose edge was given a managed probe responder (managed boxes only), the exact path /__carlos/managed-probe goes to serveManagedProbe, which answers 404 unless the request came over this box's own tunnel (tunnelclient.FromTunnel) as a POST carrying X-Carlos-Managed-Probe: 1; (2) on the reserved tunnel host, a POST to the exact path /__carlos/fleet-probe (RawPath empty) goes to serveFleetProbe, everything else keeps the hub's 404; (3) X-Carlos-Managed-Probe and X-Carlos-Probe-Channel are deleted from every inbound request beside the replica probe marker; merge of origin/main 173c7033: main's region HA held requests (the reserved /.carlos/ha-drain and /.carlos/ha-take branch and the connection-drain tracking, both kept right after this branch's managed probe branch, which stays first) and edge page cache slice 1 (page mark holder, pageDiagnostics, servePage), not this branch; census P2-1: probe markers stripped right after the managed-probe branch, before every other dispatch incl. replica-console forwarding; no read added; merge of origin/main 65951fbb: main's linked deployments slice 1 (the link pin read from the context first, every edge-own handler skipped for a pinned request, the Carlos-Link-App strip), R28 retired-copy refusal, static-site geo #962, fleet unrouted 503, #1032 declared body end, seeded-create door routing, path routes across boxes, fleet client address #1348 and consolefleet.BoxDoor, not this branch; resolution: the pin (a context value, no read site) is taken before the managed probe branch, which a linked request now skips like main's other edge-own handlers (it reaches its pinned app or a refusal); the probe marker and channel strip still runs right after that branch, before every other dispatch, on every request; code-health split: the managed probe branch, the probe-marker strip and main's HA control-path check moved, in that order, to Edge.serveReservedFirst (still first, on every request, before any forwarding), and the hub's fleet probe POST and the hub hand-off to Edge.serveHub, no read added;rev3=census-ruling-sec-h5-edge-availability;basis=hunt H5-M5/M16: the login POST body read (io.ReadAll of the visitor request body, bounded by gate.MaxFormBody) moves into readLoginBody, since O4 R2 a call to the one bounded read readBoundedBody (size, per-request read deadline, per-client count), and now applies to every login POST, not only the ungated -tunnel row; the response-cache key is built by cacheKeyFor (adds the Host header port and escaped path). Merged with main (path routes across boxes, PPv2): comments only. O4 R2: comment only (bufferBody). A request body, not a file; no read added. registry:App@25592,registry:Gate@18661,registry:Gate@29983,registry:Gate@30043,registry:Gate@30101,registry:HA@13821,registry:HA@14163,registry:Host@14202,registry:Host@30086,registry:ImportGate@38978,registry:Kind@22626,registry:Kind@24454,registry:Kind@27892,registry:Kind@38920,registry:Kind@38949,whole:Route@13824,whole:Route@13918,whole:Route@14166,whole:Route@14205,whole:Route@18112,whole:Route@18667,whole:Route@19594,whole:Route@20378,whole:Route@20836,whole:Route@21028,whole:Route@22629,whole:Route@24457,whole:Route@25518,whole:Route@25584,whole:Route@25595,whole:Route@25848,whole:Route@25943,whole:Route@26019,whole:Route@26063,whole:Route@26365,whole:Route@26395,whole:Route@27895,whole:Route@28180,whole:Route@29986,whole:Route@30046,whole:Route@30089,whole:Route@30104,whole:Route@31315,whole:Route@33603,whole:Route@38923,whole:Route@38952,whole:Route@38981,whole:Route@39013,whole:Route@41418,whole:Route@8417,whole:Route@8516,whole:Route@8622 8578ecb72d9349c793091d297f80bbf191b3d2b7d2cb3bb27816580abb0bc043 |
| -@coverage internal/edge c913ed9527748f93f7bb35cb34bf11a769a2f6266b181c0791b8a1ac62c3cf72 |
| +@coverage internal/edge ac802cb343609c787456c0ea1b91c2d3b5846a1af5b3dc426ff07971747f4126 |
| @coverage internal/gate ec7d776c13bdd08eb58f17974ad5b02ce59b2b3a254df7e650b2f7960a2e9e93 |