| new file mode 100644 |
| index 000000000..33bc7b8ae |
| --- /dev/null |
| +++ b/internal/provision/testdata/plan14-root-reads-region-ha-g3-fixes.tsv |
| @@ -0,0 +1,24 @@ |
| +# Census overlay region-ha-g3-fixes, written by census-propose (#369). census-ruling-region-ha-g3-fixes, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-region-ha-g3-fixes.md. |
| +# 1 body, 0 sites, 4 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +# 8 new dispositions: 2 reads re-frozen at their disposition with the claim, 4 new units frozen accepted-legacy, 1 quiet units retired while they read nothing, 1 other. |
| +@legacy fd90605f37309323e9eadbc22388355d569ec9c9c307c4db05eb807474081a50 internal/host/hadepartures_scan.go Controller.retryScan legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read only the bound departure to persist bounded retry timing and the existing hourly per-departure page claim. No completion authority. Fix r1/P15: bound detached retry bookkeeping to five seconds so cancellation still records backoff/page. Permission episodes use only the structured ha_departure_permission_fault code and key, never wake-state prose. B4 fix r4/P18: Retained fixed edges use the existing persisted 30/60/120/300-second retry and hourly departure claim, emitting only ha_departure_edges_retained plus the key. Skip generic prose paging for that code. B4 fix r5: After the existing durable hourly claim succeeds for retained fixed edges, keep the structured log and send PageOperator a warning with subject ha_departure_edges_retained and body code/key/box fields through the existing bounded alert sinks. Return delivery errors; never call the generic C3 page for this state. No new read site or completion authority. B5: Emit permission notice only on permission_new, the persisted fault-episode transition; suppress repeat hourly permission logs. Other departure pages retain the durable hourly claim.;rev3=census-ruling-region-ha-followups;basis=Use the approved operator text for permission-fault and retained-edges notices and pages. Keep persisted retry timing, permission-episode suppression and the hourly page claim unchanged; no new read or completion authority.;rev3=census-ruling-region-ha-g3-fixes;basis=Delegate to retryScanAt with the existing 30-second default. Same HADeparture read, durable retry and hourly page gates; no new read. whole:HADeparture@168 a81384cdb2ae98b14b7078b4a1d506436f52e67a203be93072474512d48e69ab |
| +@legacy 61c8f05c6bf45a440607eb37df76ae98c9d92d39eec81ad9ff8da7e488c73216 internal/host/hadepartures_scan.go Controller.checkMissingDepartureHosts legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=For pending journal hosts absent from current inventory, read the existing regional lock prefix once before completing a walk. Dead-owned/released, malformed, errored, non-advancing or unverified-successor locks remain blockers. Absent locks discharge this walk; validated higher-generation successors mark superseded. For self, read HAAdoption and reject unfinished receipts. New reads: existing journal Hosts/Lifetime/Observed/Result, lock at Prefix(host), and existing adoption receipt keyed by host/lifetime/departure. registry:Hosts@1278,registry:Hosts@322,registry:Lifetime@635,registry:Lifetime@727,registry:Lifetime@988,registry:NotBefore@1248,registry:Observed@765,registry:Phase@1037,registry:Result@1220,registry:Result@354,registry:Unresolved@1070,registry:Unresolved@1187,registry:Unresolved@833,whole:HADepartureHostScan@1280,whole:HADepartureHostScan@1294,whole:HADepartureHostScan@324 9a5b4814a99df5962421b935243b6d3c04f9c504b3770c5860eb0f4ad2ea4c9e |
| +@legacy da222f4aecab1bfe466bb77bb229e4439c6a9e3d56533276453fbe32594c2470 internal/host/hadepartures_scan.go Controller.retryScanAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Extract existing bounded detached retry/page logic and accept the computed next-attempt time. Reads the same HADeparture fields and calls the same registry retry API; permission and retained-edges notices unchanged. whole:HADeparture@1070 2bcb69a361207bf5aec5993bca78285d506f9e9466e5e9eccee19c1764afb523 |
| +@legacy 6f73d31fb09083e5f854c852bf89edfec9df7adbb9cc059df18c05aeebc9117f internal/host/hadepartures_scan.go departureScanCoverage legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Count only current matching record revisions in Visited; aggregate blockers and lease waits and reset Cursor to zero. Reads HADepartureVisit RecordDigest, Unresolved, NotBefore and scan Visited/Waiting/NotBefore; no filesystem or remote read. registry:Cursor@170,registry:NotBefore@215,registry:NotBefore@435,registry:NotBefore@479,registry:NotBefore@503,registry:NotBefore@522,registry:NotBefore@541,registry:NotBefore@555,registry:RecordDigest@315,registry:Unresolved@180,registry:Unresolved@392,registry:Unresolved@410,registry:Visited@285,registry:Visited@580,registry:Waiting@194,registry:Waiting@461,whole:HADepartureVisit@287,whole:HADepartureVisit@367,whole:HADepartureVisit@385,whole:HADepartureVisit@582,whole:HADepartureVisit@592,whole:HADepartureVisit@612 ae38684c8dee6ee1d7a586db663709d858085335d02ca22a5737a68a51565c40 |
| +@legacy 6202d5a99c9525d15f8b28733a8bed91b793113f624889f6805608fc44675ecf internal/host/steering_loop.go steeringPassFor legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Extract the production steering pass closure; read the same judged routes and edges then call ConvergeDeployment. The whole Route read moved from steeringLoop; no new authority or data source. whole:Route@396 95069914026988f1af8b403f1aeaa0a99d19e449978d2acfc1a63fb27fef46f4 |
| +@legacy 71e04edb1914b35ff57f574cf7b7aa3add7f4e4751d833561fdfe8b2fc654978 internal/host/hadepartures_scan.go Controller.ScanPass legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read.;rev3=census-ruling-region-ha-g3-fixes;basis=Track per-record revision visits across inventory publications; separate lease waits from blockers; check missing pending hosts before completion; persist Cursor as zero for rollback. Reads Visited, Waiting, NotBefore and the existing departure/scan state; missing-host lock and receipt reads are in checkMissingDepartureHosts. registry:Cursor@2032,registry:Cursor@2122,registry:Cursor@8080,registry:Generation@2094,registry:Generation@7350,registry:Hosts@2275,registry:Hosts@2295,registry:Hosts@3407,registry:Hosts@3475,registry:Hosts@5453,registry:Hosts@5840,registry:Hosts@6076,registry:Hosts@6720,registry:InventoryGeneration@1913,registry:Lifetime@3436,registry:NotBefore@2191,registry:NotBefore@3335,registry:NotBefore@3778,registry:NotBefore@3819,registry:NotBefore@3844,registry:NotBefore@5421,registry:NotBefore@5810,registry:NotBefore@6040,registry:NotBefore@6106,registry:NotBefore@7865,registry:NotBefore@7919,registry:NotBefore@8133,registry:Observed@4992,registry:Observed@5139,registry:Observed@5693,registry:Observed@5727,registry:Phase@1448,registry:Phase@2049,registry:Phase@2353,registry:Phase@4709,registry:Phase@634,registry:Phase@689,registry:Phase@729,registry:RecordDigest@3022,registry:RecordDigest@3740,registry:RecordDigest@5750,registry:Rescan@2137,registry:Rescan@3720,registry:Rescan@4878,registry:Rescan@6142,registry:Rescan@7642,registry:Rescan@8030,registry:Result@5391,registry:Result@5785,registry:Result@6686,registry:Unresolved@2156,registry:Unresolved@3241,registry:Unresolved@6744,registry:Unresolved@7513,registry:Unresolved@7758,registry:Unresolved@8041,registry:Unresolved@8096,registry:Version@6418,registry:Visited@2073,registry:Visited@2219,registry:Visited@2997,registry:Visited@3192,registry:Visited@3268,registry:Visited@3362,registry:Visited@6771,registry:Visited@8162,registry:Waiting@2175,registry:Waiting@7773,registry:Waiting@7848,registry:Waiting@8062,registry:Waiting@8116,whole:HADeparture@1111,whole:HADeparture@1230,whole:HADeparture@1415,whole:HADeparture@1704,whole:HADeparture@2486,whole:HADeparture@2683,whole:HADeparture@2839,whole:HADeparture@350,whole:HADeparture@392,whole:HADeparture@4989,whole:HADeparture@6386,whole:HADeparture@6522,whole:HADeparture@6878,whole:HADeparture@7478,whole:HADeparture@8347,whole:HADeparture@8485,whole:HADeparture@914,whole:HADepartureHostScan@2277,whole:HADepartureHostScan@2297,whole:HADepartureHostScan@3409,whole:HADepartureHostScan@3477,whole:HADepartureHostScan@3511,whole:HADepartureHostScan@5455,whole:HADepartureHostScan@5471,whole:HADepartureHostScan@5512,whole:HADepartureHostScan@5842,whole:HADepartureHostScan@5858,whole:HADepartureHostScan@6078,whole:HADepartureHostScan@6094,whole:HADepartureHostScan@6722,whole:HADepartureHostScan@6738,whole:HADepartureScan@6323,whole:HADepartureScan@7341,whole:HADepartureScan@7482,whole:HADepartureScan@8281,whole:HADepartureVisit@2075,whole:HADepartureVisit@2221,whole:HADepartureVisit@2999,whole:HADepartureVisit@3194,whole:HADepartureVisit@3212,whole:HADepartureVisit@3270,whole:HADepartureVisit@3288,whole:HADepartureVisit@3364,whole:HADepartureVisit@3382,whole:HADepartureVisit@6773,whole:HADepartureVisit@6791,whole:HADepartureVisit@8164 8d2a16ed9f8fd41d8c98423ac80719137d3798d405e44f8ee843870a12b9e6a9 |
| +@legacy 40a122eac1bd891fc52ee97c9df415273b11902d503b41eb994e562271a1034c internal/host/hadepartures_scan.go Controller.complete legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read the durable departure/scan and current inventory, then conditionally delete only the retained exact edges key/revision. Reread uncertain results and refuse replacement identities. Persist deletion and acknowledged index phases before complete; queue receipts stay in memory and only complete rows acknowledge. Fresh process evidence is required before authority checkpoint reuse. Fix r1/P15: ignore the old scan-level ETag override and delete only the original departure ETag. Exact-key readback retries the same tag; a changed tag is never deleted and advances only with a different verified iid under the same ref/account/scope, otherwise holds and pages. Persist permission fault episodes; route completion faults through bounded retry. No new filesystem or executable input. B4 fix r4/P18 supersedes fixed-ref deletion: only the deterministic account/iid group reference may delete its retained exact ETag. Every other ref performs an exact-key GET and stays pending unless absent or the existing verified newer-incarnation check succeeds; the live replacement file is left intact. Group revision changes stay pending. No new key or authority read. B5: Increment completion counter only after the durable complete phase; C4 ordering stays after that commit.;rev3=census-ruling-region-ha-p3b;basis=Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: drops the per-departure nudge bookkeeping (moved to a fixed-size global limiter). Completion gates, exact-ETag deletion and reads unchanged.;rev3=census-ruling-region-ha-g3-fixes;basis=Require current inventory visit coverage and re-read group edges before conditional deletion. Verify identity and scope before rebinding a changed ETag; preserve fixed-ref retention and exact-ETag deletion. Reads scan EdgesETag and coverage state; no new object key or read source. registry:DeleteUncertain@3813,registry:DeleteUncertain@4198,registry:EdgesETag@1894,registry:EdgesETag@2906,registry:Hosts@5037,registry:InventoryGeneration@1846,registry:PermissionAlerted@2426,registry:PermissionAlerted@3559,registry:PermissionAlerted@4342,registry:PermissionAlerted@4746,registry:PermissionAlerted@841,registry:PermissionAlerted@883,registry:Phase@1002,registry:Phase@1042,registry:Phase@1538,registry:Phase@262,registry:Phase@3692,registry:Phase@4460,registry:Phase@680,registry:Phase@950,registry:Phase@967,registry:Version@665,whole:HADeparture@2846,whole:HADeparture@315,whole:HADeparture@442,whole:HADeparture@5086,whole:HADepartureHostScan@5039,whole:HADepartureScan@1718,whole:HADepartureScan@643 0aedc09a9abfc4d815293aed8515b5553cc0ed3c8ac34615f11cc9c062c5c843 |
| +internal/host/hadepartures_scan.go Controller.retryScan legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read only the bound departure to persist bounded retry timing and the existing hourly per-departure page claim. No completion authority. Fix r1/P15: bound detached retry bookkeeping to five seconds so cancellation still records backoff/page. Permission episodes use only the structured ha_departure_permission_fault code and key, never wake-state prose. B4 fix r4/P18: Retained fixed edges use the existing persisted 30/60/120/300-second retry and hourly departure claim, emitting only ha_departure_edges_retained plus the key. Skip generic prose paging for that code. B4 fix r5: After the existing durable hourly claim succeeds for retained fixed edges, keep the structured log and send PageOperator a warning with subject ha_departure_edges_retained and body code/key/box fields through the existing bounded alert sinks. Return delivery errors; never call the generic C3 page for this state. No new read site or completion authority. B5: Emit permission notice only on permission_new, the persisted fault-episode transition; suppress repeat hourly permission logs. Other departure pages retain the durable hourly claim.;rev3=census-ruling-region-ha-followups;basis=Use the approved operator text for permission-fault and retained-edges notices and pages. Keep persisted retry timing, permission-episode suppression and the hourly page claim unchanged; no new read or completion authority.;rev3=census-ruling-region-ha-g3-fixes;basis=Delegate to retryScanAt with the existing 30-second default. Same HADeparture read, durable retry and hourly page gates; no new read. whole:HADeparture@168 a81384cdb2ae98b14b7078b4a1d506436f52e67a203be93072474512d48e69ab |
| +internal/host/hadepartures_scan.go Controller.checkMissingDepartureHosts legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=For pending journal hosts absent from current inventory, read the existing regional lock prefix once before completing a walk. Dead-owned/released, malformed, errored, non-advancing or unverified-successor locks remain blockers. Absent locks discharge this walk; validated higher-generation successors mark superseded. For self, read HAAdoption and reject unfinished receipts. New reads: existing journal Hosts/Lifetime/Observed/Result, lock at Prefix(host), and existing adoption receipt keyed by host/lifetime/departure. registry:Hosts@1278,registry:Hosts@322,registry:Lifetime@635,registry:Lifetime@727,registry:Lifetime@988,registry:NotBefore@1248,registry:Observed@765,registry:Phase@1037,registry:Result@1220,registry:Result@354,registry:Unresolved@1070,registry:Unresolved@1187,registry:Unresolved@833,whole:HADepartureHostScan@1280,whole:HADepartureHostScan@1294,whole:HADepartureHostScan@324 9a5b4814a99df5962421b935243b6d3c04f9c504b3770c5860eb0f4ad2ea4c9e |
| +internal/host/hadepartures_scan.go Controller.retryScanAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Extract existing bounded detached retry/page logic and accept the computed next-attempt time. Reads the same HADeparture fields and calls the same registry retry API; permission and retained-edges notices unchanged. whole:HADeparture@1070 2bcb69a361207bf5aec5993bca78285d506f9e9466e5e9eccee19c1764afb523 |
| +internal/host/hadepartures_scan.go departureScanCoverage legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Count only current matching record revisions in Visited; aggregate blockers and lease waits and reset Cursor to zero. Reads HADepartureVisit RecordDigest, Unresolved, NotBefore and scan Visited/Waiting/NotBefore; no filesystem or remote read. registry:Cursor@170,registry:NotBefore@215,registry:NotBefore@435,registry:NotBefore@479,registry:NotBefore@503,registry:NotBefore@522,registry:NotBefore@541,registry:NotBefore@555,registry:RecordDigest@315,registry:Unresolved@180,registry:Unresolved@392,registry:Unresolved@410,registry:Visited@285,registry:Visited@580,registry:Waiting@194,registry:Waiting@461,whole:HADepartureVisit@287,whole:HADepartureVisit@367,whole:HADepartureVisit@385,whole:HADepartureVisit@582,whole:HADepartureVisit@592,whole:HADepartureVisit@612 ae38684c8dee6ee1d7a586db663709d858085335d02ca22a5737a68a51565c40 |
| +internal/host/steering_loop.go steeringPassFor legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Extract the production steering pass closure; read the same judged routes and edges then call ConvergeDeployment. The whole Route read moved from steeringLoop; no new authority or data source. whole:Route@396 95069914026988f1af8b403f1aeaa0a99d19e449978d2acfc1a63fb27fef46f4 |
| +internal/host/hadepartures_scan.go Controller.ScanPass legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read.;rev3=census-ruling-region-ha-g3-fixes;basis=Track per-record revision visits across inventory publications; separate lease waits from blockers; check missing pending hosts before completion; persist Cursor as zero for rollback. Reads Visited, Waiting, NotBefore and the existing departure/scan state; missing-host lock and receipt reads are in checkMissingDepartureHosts. registry:Cursor@2032,registry:Cursor@2122,registry:Cursor@8080,registry:Generation@2094,registry:Generation@7350,registry:Hosts@2275,registry:Hosts@2295,registry:Hosts@3407,registry:Hosts@3475,registry:Hosts@5453,registry:Hosts@5840,registry:Hosts@6076,registry:Hosts@6720,registry:InventoryGeneration@1913,registry:Lifetime@3436,registry:NotBefore@2191,registry:NotBefore@3335,registry:NotBefore@3778,registry:NotBefore@3819,registry:NotBefore@3844,registry:NotBefore@5421,registry:NotBefore@5810,registry:NotBefore@6040,registry:NotBefore@6106,registry:NotBefore@7865,registry:NotBefore@7919,registry:NotBefore@8133,registry:Observed@4992,registry:Observed@5139,registry:Observed@5693,registry:Observed@5727,registry:Phase@1448,registry:Phase@2049,registry:Phase@2353,registry:Phase@4709,registry:Phase@634,registry:Phase@689,registry:Phase@729,registry:RecordDigest@3022,registry:RecordDigest@3740,registry:RecordDigest@5750,registry:Rescan@2137,registry:Rescan@3720,registry:Rescan@4878,registry:Rescan@6142,registry:Rescan@7642,registry:Rescan@8030,registry:Result@5391,registry:Result@5785,registry:Result@6686,registry:Unresolved@2156,registry:Unresolved@3241,registry:Unresolved@6744,registry:Unresolved@7513,registry:Unresolved@7758,registry:Unresolved@8041,registry:Unresolved@8096,registry:Version@6418,registry:Visited@2073,registry:Visited@2219,registry:Visited@2997,registry:Visited@3192,registry:Visited@3268,registry:Visited@3362,registry:Visited@6771,registry:Visited@8162,registry:Waiting@2175,registry:Waiting@7773,registry:Waiting@7848,registry:Waiting@8062,registry:Waiting@8116,whole:HADeparture@1111,whole:HADeparture@1230,whole:HADeparture@1415,whole:HADeparture@1704,whole:HADeparture@2486,whole:HADeparture@2683,whole:HADeparture@2839,whole:HADeparture@350,whole:HADeparture@392,whole:HADeparture@4989,whole:HADeparture@6386,whole:HADeparture@6522,whole:HADeparture@6878,whole:HADeparture@7478,whole:HADeparture@8347,whole:HADeparture@8485,whole:HADeparture@914,whole:HADepartureHostScan@2277,whole:HADepartureHostScan@2297,whole:HADepartureHostScan@3409,whole:HADepartureHostScan@3477,whole:HADepartureHostScan@3511,whole:HADepartureHostScan@5455,whole:HADepartureHostScan@5471,whole:HADepartureHostScan@5512,whole:HADepartureHostScan@5842,whole:HADepartureHostScan@5858,whole:HADepartureHostScan@6078,whole:HADepartureHostScan@6094,whole:HADepartureHostScan@6722,whole:HADepartureHostScan@6738,whole:HADepartureScan@6323,whole:HADepartureScan@7341,whole:HADepartureScan@7482,whole:HADepartureScan@8281,whole:HADepartureVisit@2075,whole:HADepartureVisit@2221,whole:HADepartureVisit@2999,whole:HADepartureVisit@3194,whole:HADepartureVisit@3212,whole:HADepartureVisit@3270,whole:HADepartureVisit@3288,whole:HADepartureVisit@3364,whole:HADepartureVisit@3382,whole:HADepartureVisit@6773,whole:HADepartureVisit@6791,whole:HADepartureVisit@8164 8d2a16ed9f8fd41d8c98423ac80719137d3798d405e44f8ee843870a12b9e6a9 |
| +internal/host/hadepartures_scan.go Controller.complete legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read the durable departure/scan and current inventory, then conditionally delete only the retained exact edges key/revision. Reread uncertain results and refuse replacement identities. Persist deletion and acknowledged index phases before complete; queue receipts stay in memory and only complete rows acknowledge. Fresh process evidence is required before authority checkpoint reuse. Fix r1/P15: ignore the old scan-level ETag override and delete only the original departure ETag. Exact-key readback retries the same tag; a changed tag is never deleted and advances only with a different verified iid under the same ref/account/scope, otherwise holds and pages. Persist permission fault episodes; route completion faults through bounded retry. No new filesystem or executable input. B4 fix r4/P18 supersedes fixed-ref deletion: only the deterministic account/iid group reference may delete its retained exact ETag. Every other ref performs an exact-key GET and stays pending unless absent or the existing verified newer-incarnation check succeeds; the live replacement file is left intact. Group revision changes stay pending. No new key or authority read. B5: Increment completion counter only after the durable complete phase; C4 ordering stays after that commit.;rev3=census-ruling-region-ha-p3b;basis=Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: drops the per-departure nudge bookkeeping (moved to a fixed-size global limiter). Completion gates, exact-ETag deletion and reads unchanged.;rev3=census-ruling-region-ha-g3-fixes;basis=Require current inventory visit coverage and re-read group edges before conditional deletion. Verify identity and scope before rebinding a changed ETag; preserve fixed-ref retention and exact-ETag deletion. Reads scan EdgesETag and coverage state; no new object key or read source. registry:DeleteUncertain@3813,registry:DeleteUncertain@4198,registry:EdgesETag@1894,registry:EdgesETag@2906,registry:Hosts@5037,registry:InventoryGeneration@1846,registry:PermissionAlerted@2426,registry:PermissionAlerted@3559,registry:PermissionAlerted@4342,registry:PermissionAlerted@4746,registry:PermissionAlerted@841,registry:PermissionAlerted@883,registry:Phase@1002,registry:Phase@1042,registry:Phase@1538,registry:Phase@262,registry:Phase@3692,registry:Phase@4460,registry:Phase@680,registry:Phase@950,registry:Phase@967,registry:Version@665,whole:HADeparture@2846,whole:HADeparture@315,whole:HADeparture@442,whole:HADeparture@5086,whole:HADepartureHostScan@5039,whole:HADepartureScan@1718,whole:HADepartureScan@643 0aedc09a9abfc4d815293aed8515b5553cc0ed3c8ac34615f11cc9c062c5c843 |
| +@remove internal/host/steering_loop.go steeringLoop |
| +@removed internal/host/steering_loop.go steeringLoop H3 census-ruling-region-ha-g3-fixes;basis=Delegate the existing pass to steeringPassFor; the Route read moved to that unit, leaving no direct root read here. |
| +@coverage internal/host 9f7006a2d75dd00f2383bffbceba8bfae7684fa63863d51a7410dfeaa287320c |
| +@coverage internal/provision fcb48f5e278cb8f41fc1936c21f588fbd9b37cb9949d18f3739fc8752c4c3161 |
| +@coverage internal/registry 623b8ffe1ec5dcc73e5c44c05fc4286706e8a806f02482516ae0e79199a7ffbc |
| +@coverage internal/steering a85aad113abbdd1cd59816655a2df03a9a1c329808066bfe44420686d8cbbda7 |
| +@fields ?,A,Account,Accounts,AcquiredGeneration,AddedAt,Addr,Addrs,Adoption,Alias,Aliases,Alive,AllowAbsent,App,Archives,Args,AssetGen,AssetsOff,Assigned,Assignment,At,Attempts,B,Backing,Basis,Binding,Blocked,Body,Bucket,BuildState,By,Callback,CallbackError,CallbackFailed,Canary,Caps,CertExpiresAt,Changed,Channel,CheckedAt,Claim,ClaimIncarnation,ClaimOwner,ClaimOwnership,ClaimRowID,ClaimStamp,Class,Code,Column,Contents,Copies,Count,CreatedAt,Cursor,DBPath,DNSCheckedAt,DNSStatus,Deadline,Default,DeleteUncertain,Demand,DemoExpiresAt,DemoHost,DemoID,DemoLifetime,Departure,DepartureIID,DepartureRef,Departures,Digest,DoneBefore,DrainingSince,Due,DueAt,Duty,EdgesETag,EgressAllow,EnrolledAt,Env,EnvBefore,Environment,Error,ErrorKind,ExcludeHosts,ExpectGood,ExpectOp,ExpectPair,Expected,ExpectedPair,F,Failed,FenceGen,Field,FillLegacyRegistration,Fleet,FleetBox,FleetBoxes,FleetLabel,Fleets,Found,From,FromDB,FromOp,FromSock,Gate,Generation,GoodDemand,GoodDigest,GoodVersion,HA,HAJournal,Hash,Health,Held,Hibernate,Hint,Hints,HoldOp,HolderEpoch,HolderIID,HolderRef,Host,Hosts,ID,IID,Id,IdValue,Identity,Idle,IdleSeconds,Import,ImportGate,Inbox,Incarnation,InventoryGeneration,Journal,Keep,Key,KeyFP,Keys,Kind,Label,LabelledAt,LastAt,LastBlocked,LastError,LastMs,LastPage,LastStatus,Lifetime,Limit,LockETag,LockGeneration,Managed,MaxRun,MaxRunSeconds,MessageID,Method,Moved,Ms,Name,Next,NextAt,NextAttempt,NextDue,NextGood,NextValue,NotBefore,Now,Number,Number64,Observation,Observed,ObservedValue,Offset,Old,Oldest,On,OnConflict,Op,Original,Owner,Ownership,P,Page,Pair,Path,Paths,PermissionAlerted,Phase,Platform,PolicyExpiresAt,Pool,Prefix,Prev,PrevVersion,ProofDigest,ProofKey,Provisioned,Pub,RDs,RateLimit,Raw,Receipt,ReceivedAt,RecordDigest,RecordKey,Ref,Region,Regional,Registration,Replica,ReplicaIncarnation,ReplicaLife,ReplicaRevision,Replicas,Replication,Rescan,Result,Retirement,RetryCount,Revision,Route,Routes,Row,Rows,Runtime,Scan,SecretsKeyFP,SecretsKeySetAt,SecretsKeySetBy,SecretsPub,Seed,SeedID,SeedSource,Sequence,ServingSeq,ServingVersion,Size,Slug,Socket,Spec,Sqid,StartedAt,State,Stateless,Status,StatusNamed,Steering,StringMap,Summary,T,TValue,Tags,Target,Targets,Text,Timer,Timers,Times,To,ToDB,ToOp,ToSock,TokenHash,Tunnel,Type,Unit,Unresolved,UpdateSettings,Ver,Version,ViewKey,Visited,W,Waiting,Wake,WakeDigest,WakeIncarnation,Walk,Wildcards,closed,conn,connect,ctx,d,dec,done,enc,full,input,mu,output,path,readOnly,remote,sql,wait |