carlos / platform Public

census: record-write inventory for domain registration and the main merge

Co-Authored-By: Astra (gpt-6-astra) via Codex <noreply@openai.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 17e092e40c530459a10ce6746128c9295b737460 parent 3f58b53
3 files changed, +18 −2
  • internal/provision/app_lists_census_test.go +5 −1
  • internal/provision/plan9_b8_census_test.go +9 −0
  • internal/provision/stateless_replicas_census_test.go +4 −1

CI failed — run details

diff --git a/internal/provision/app_lists_census_test.go b/internal/provision/app_lists_census_test.go
index acb27382e..39eb15c7d 100644
--- a/internal/provision/app_lists_census_test.go
+++ b/internal/provision/app_lists_census_test.go
@@ -13,7 +13,11 @@ package provision
func appListsWriteCensusInventory() []censusEntry {
entries := append([]censusEntry(nil), regionHAP2aTransfersWriteCensusInventory()...)
repins := []censusEntry{
- {"internal/console/server.go", "NewServer", "key-site", "lit:instances", "4c82a24f2574a6c29de312add6cc8eaded45db5e15e88ea37677b76eb68d154e"},
+ // Domain-registration merge 3f58b539 self-review: retains star/extend,
+ // initializes purchaseWake and registers the five domain-purchase
+ // browser routes. These additions write no bucket record; the existing
+ // instances route literals still make this a key-site.
+ {"internal/console/server.go", "NewServer", "key-site", "lit:instances", "00fe99a68cd92adcd291049b9d2b47907ea257ed707a4d1e02ab703fd57aa204"},
}
for _, r := range repins {
found := false
diff --git a/internal/provision/plan9_b8_census_test.go b/internal/provision/plan9_b8_census_test.go
index e32e1bcec..dcd3668c9 100644
--- a/internal/provision/plan9_b8_census_test.go
+++ b/internal/provision/plan9_b8_census_test.go
@@ -1081,6 +1081,15 @@ var plan9B8CensusInventory = []censusEntry{
{"internal/steering/route53.go", "recordKey", "key-site", "key:recordKey", "44de1074a7fdcd31ef0da6f187c4d0554949e774b315a7bfacc0b65b44b4226f"},
{"internal/steering/route53.go", "partitionManaged", "key-site", "key:recordKey", "f4d5ee2ee3afc988a7725a4f6ed6d9edfc01d08f5c44f57492d2f282fdee281a"},
{"internal/steering/route53.go", "recordChanges", "key-site", "key:recordKey", "d057e8edd577f1e8fd9b48936f96f108cbd543d9133b17073d8c29bb67500c82"},
+ // Domain-registration self-review: recordKey identifies a Route 53 DNS
+ // record set by name, type and set identifier, as in steering above.
+ // SetManaged uses these keys in a local wanted map and sends DNS changes
+ // through h.change/ChangeResourceRecordSets; it writes no bucket record.
+ {"internal/zonehost/route53zones/route53.go", "Host.SetManaged", "key-site", "key:recordKey", "15cbcb1f70eccc4ba36fcce9fd0696090e586141a255a8ecd2e8c8f4281afdc0"},
+ // Constructs the local DNS identity value only; no bucket key or write.
+ {"internal/zonehost/route53zones/route53.go", "identity", "key-site", "key:recordKey", "15bd5d3e0a13461acd6a145185d62c7b74af3c6af278933f1987e89f516d370c"},
+ // Declares that local DNS identity type; the name matches the census.
+ {"internal/zonehost/route53zones/route53.go", "type recordKey", "key-site", "key:recordKey", "975b882bc7a785aeafcc0ad7d0569fd3abc82f0cca205cfcd474a92d4da51d48"},
{"internal/telemetry/telemetry.go", "Update", "nonrecord", "sel:Put", "7b0af146e7cd4904f2e5294de91eb287154f146e1c3d6b7a26e1a4e58a71a975"},
{"internal/usage/edge.go", "UpsertEdgeDay", "nonrecord", "sel:Put", "ddd80746e03de810dbc2147195ef6a319292da124c02358e06eb17f10194946b"},
{"internal/usage/statement.go", "UpsertStatement", "nonrecord", "sel:Put", "d4e69ee3b62fb292111680f1119fab74749ae4aa6d9ab09c75a839b47ee61fda"},
diff --git a/internal/provision/stateless_replicas_census_test.go b/internal/provision/stateless_replicas_census_test.go
index 86546e069..89b22addb 100644
--- a/internal/provision/stateless_replicas_census_test.go
+++ b/internal/provision/stateless_replicas_census_test.go
@@ -67,7 +67,10 @@ func statelessReplicasWriteCensusInventory() []censusEntry {
{"internal/host/replicacoordinator.go", "replicaCoordinatorStore.releaseState", "record-writer", "key:SetRecordReplicaRelease", "2d0e6c66799f42a108537b4cf0927b225ef5f9479fa5d27ed17874627fa3db02"},
// Registration adds only the two fleet routes; the existing literal-only
// instances/sidecars classification and all existing route handlers stay fixed.
- {"internal/console/authcli.go", "Server.registerCLIRoutes", "key-site", "lit:instances,lit:sidecars", "89c700b1b939a8c8bbd478a548efeabfa4fc888f1509b7e3c76ad91472219a29"},
+ // Domain-registration merge 3f58b539 self-review: also registers the
+ // check, purchase and purchase-status routes with empty service-role
+ // sets. Registration writes no record; writes remain in the handlers.
+ {"internal/console/authcli.go", "Server.registerCLIRoutes", "key-site", "lit:instances,lit:sidecars", "489e87ce3585313b6f6c2d841dec50781e0b8e8f594ccb3e6d2afa2f0e0f4e19"},
// Fix round 1 self-review: identical pending replays keep sequence and
// revision after lifetime/current-term checks. R11: a successor may retake or supersede
// pending; releasing remains unknown-only across terms. Same typed CAS.