| index c02771af4..6a1fce529 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-region-ha-g2-fixes.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-region-ha-g2-fixes.tsv |
| @@ -30,10 +30,10 @@ |
| @legacy 2cb01a31267ea1cb0a182b46f7d2da162300097c73b900005c1ccd1778ee78b0 internal/activator/hasuspectholder.go ExecBackend.observeHARefusal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New observer uses the already classified lock owner, generation and ExpiresAt to time visitor/same-box suspects; two route Host reads, no additional lock read; finalizer, absent and release views excluded. registry:Host@460,registry:Host@855 8c77260cf955069ecc7c5dd734b19533785b8f6efe55b3fbbbf8c4815f45feb8 |
| @legacy 6c977f3e66421e77db23d1345b7a3a9d96770e39c5c86578e017993f30277620 internal/activator/heldlegs.go Service.HeldAdmissible legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Read the cached route and recheck pool eligibility plus entry identity before admitting a held leg; no external read. whole:Route@128,whole:Route@135,whole:Route@192,whole:Route@299 b247a40e10c6d38666996b818e13ffa4444698fb353a850633607260e3d0e393 |
| @legacy ffa70f9368f5dd5d914aff216bbbe730d6f98ad1bb373c3b3efc8c08f52edf8c internal/activator/poolwithdrawal.go ExecBackend.poolWithdrawalEmpty legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New stop proof reads host slice and flat-host cgroup events via existing helpers; missing is empty, read errors/populated refuse. Host-derived existing cgroup names only. registry:Host@219,registry:Host@346 6c9fd53e43d9fd4ae226a007f0b90fe84b7c9736a1e4fc119f603f54f784f79b |
| -@legacy c4f7aecf61575674af935eb9448a2f5abcfa842a677505720c57f4b501ff9ea1 internal/activator/poolwithdrawal.go Service.PreparePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Reap completed obsolete withdrawal jobs, then read current route and require supported matching ownership and pool ineligibility before installing an owned fence and scheduling stop/release proof; no bucket write. registry:ClaimOwnership@779,registry:ClaimOwnership@805,registry:DBPath@748,registry:DBPath@766,registry:Host@1012,registry:Host@1043,registry:Host@1230,registry:Host@1254,registry:Host@1388,registry:Host@1689,registry:Host@390,registry:Host@673,registry:Host@888,registry:Host@917,registry:Host@956,registry:Host@985,registry:Kind@721,registry:Kind@737,whole:ClaimOwnership@787,whole:ClaimOwnership@808,whole:Route@1495,whole:Route@1502,whole:Route@1645,whole:Route@1652,whole:Route@235,whole:Route@428,whole:Route@484,whole:Route@528,whole:Route@551,whole:Route@714,whole:Route@723,whole:Route@750,whole:Route@781 fa62845c124a0ad76ffac13ca3bf8646e8056b04a0d17ad4ebd28617c50b6123 |
| +@legacy 4300c7f865225dfb52d04739354f344ef343a9ae5f91c442b7ff18ab8788c61a internal/activator/poolwithdrawal.go Service.PreparePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Reap completed obsolete withdrawal jobs, then read current route and require supported matching ownership and pool ineligibility before installing an owned fence and scheduling stop/release proof. Return each completed failure once on the next matching call regardless of elapsed time, retaining the job for fence cleanup; a later call starts a new proof. Successful proof consumption and safety checks unchanged; no new read or bucket write. registry:ClaimOwnership@779,registry:ClaimOwnership@805,registry:DBPath@748,registry:DBPath@766,registry:Host@1012,registry:Host@1043,registry:Host@1230,registry:Host@1254,registry:Host@1388,registry:Host@1696,registry:Host@390,registry:Host@673,registry:Host@888,registry:Host@917,registry:Host@956,registry:Host@985,registry:Kind@721,registry:Kind@737,whole:ClaimOwnership@787,whole:ClaimOwnership@808,whole:Route@1495,whole:Route@1502,whole:Route@1652,whole:Route@1659,whole:Route@235,whole:Route@428,whole:Route@484,whole:Route@528,whole:Route@551,whole:Route@714,whole:Route@723,whole:Route@750,whole:Route@781 fe9e2f711ba530d7ce85a5471f50b70e2ca1fc0acb39b5ddab844796dabc42fc |
| @legacy c8b1015316358f70c9eb4dc55da6becdffe813e9209322b33bde51ed318e5c86 internal/activator/poolwithdrawal.go Service.ReapPoolWithdrawals legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Read current registry rows for completed withdrawal jobs outside the service mutex; discard cached proof and lift only that job-owned generation-1 fence when the row is absent, changed or eligible. Running or replaced jobs and other owners retain fences; no new path or bucket read. whole:Route@321,whole:Route@364,whole:Route@391,whole:Route@420 f97888c5f4328d4154ac61aae96e04b70649efab69e6e0b56e213b6ea7118f4c |
| @legacy e48b1c212f84f6656b6e07f393bb7a83ba1a3f35fd73b0ecd0829010f4086dcc internal/activator/poolwithdrawal.go Service.poolWithdrawalProof legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New withdrawal proof uses existing fence/stop, cgroup, record/lifetime, holder-lock, obligation, local release-record/stat and registry timer/route readers. Requires proven stop and clean release or safe never-started state; retains outstanding duties and special rows. No new path namespace or record write; local files use existing backend layout. registry:Addr@1101,registry:Addrs@1118,registry:Args@1175,registry:DBPath@1136,registry:HA@1341,registry:Hibernate@1066,registry:Host@1582,registry:Host@2093,registry:Host@2348,registry:Host@2557,registry:Host@279,registry:Host@3850,registry:Host@3938,registry:Host@429,registry:Host@464,registry:Host@503,registry:Host@534,registry:Host@616,registry:Host@653,registry:Host@892,registry:Kind@1024,registry:Kind@1282,registry:Kind@1386,registry:NextDue@4096,registry:Runtime@1155,registry:Socket@1082,registry:WakeIncarnation@1253,registry:WakeIncarnation@1856,whole:Route@115,whole:Route@1442,whole:Route@1666,whole:Route@2188,whole:Route@2343,whole:Route@2606,whole:Route@3965,whole:Route@4009,whole:Route@4032,whole:Route@4055,whole:Route@972,whole:Timer@4124 9099408e32e006312b9f64f4f178b0bd7f27ad378857d2a5a78a6d482212805f |
| -@legacy ba4ca44ab7c0064bd5b55209006ea5b9bce06815c089da44e2328b67ac5bcc11 internal/activator/poolwithdrawal.go Service.provePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Run withdrawal proof under service lifetime with a five-minute budget and store its result; cached route Host for logging, indirect reads owned by poolWithdrawalProof. registry:Host@131,registry:Host@464,registry:Host@566,whole:Route@135,whole:Route@468,whole:Route@570 e0b5bcf44122bb3b2b98f526343fa362f32a5b3caa7ba7be1e72447dcb598bb6 |
| +@legacy 19ca29ec5d6e0cfb980e5435476539a0111cd6ea1c95b721a901f7a7bdab12c3 internal/activator/poolwithdrawal.go Service.provePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Run withdrawal proof under service lifetime with a five-minute budget and store its result without a wall-clock retry expiry; cached route Host for logging, indirect reads owned by poolWithdrawalProof. No new read or change to the proof itself. registry:Host@131,registry:Host@421,registry:Host@523,whole:Route@135,whole:Route@425,whole:Route@527 d7f46401c94b159d59e815becc1ee999a232a58c72fc93f73038131038c4c0dc |
| @legacy 7d9f6beaafdf87cbb25e2870a4f4c69ae07332a0194f82ee0956f44369296e96 internal/activator/poolwithdrawal.go samePoolWithdrawalRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Compare complete rows while ignoring only BuildState.read_at after valid JSON decoding; new in-memory BuildState/route reads, no I/O. registry:BuildState@110,registry:BuildState@68,registry:BuildState@82,registry:BuildState@96,whole:Route@136,whole:Route@141 43ddd34ecbad6619665a4cbbe275f63b27ce28b2895da3462f1e4893d867d00b |
| @legacy 2758c3a991256099537055a663d96603e7618ab4ad8c19b80ad53daf7eed0294 internal/activator/poolwithdrawal.go withdrawalRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Clear transient WakeIncarnation for comparison with the persisted row; supplied route only, no external read. registry:WakeIncarnation@55,whole:Route@87 1d33ece4a4ca14e428d91ff1171393d5eb267bfa810966c20c790b882d3c900a |
| @legacy ed9f0406338f164df31c81fd72a15485c560144f15b0bf3d064f0f94c7945abe internal/domains/aliases.go deriveHAIngressAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New plain/delegated alias projection binds accepted claim account/app to HA metadata, excludes pending/instance/regional/sidecar claims and exact-name collisions, and preserves unavailable targets as refusal-only names; in-memory route fields only. registry:Account@1202,registry:Account@692,registry:App@1106,registry:App@1232,registry:App@719,registry:HA@495,registry:Host@477,registry:Host@671,whole:Route@1037,whole:Route@1083,whole:Route@1167,whole:Route@383,whole:Route@638,whole:Route@794,whole:Route@870,whole:Route@921,whole:Route@942 9569d5dfffede04808dffe4def94bf4954e858a697692c9c80fb4f48f4d05eff |
| @@ -122,10 +122,10 @@ internal/activator/haleaseloss.go haOwedKey legacy accepted-legacy accepted-lega |
| internal/activator/hasuspectholder.go ExecBackend.observeHARefusal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New observer uses the already classified lock owner, generation and ExpiresAt to time visitor/same-box suspects; two route Host reads, no additional lock read; finalizer, absent and release views excluded. registry:Host@460,registry:Host@855 8c77260cf955069ecc7c5dd734b19533785b8f6efe55b3fbbbf8c4815f45feb8 |
| internal/activator/heldlegs.go Service.HeldAdmissible legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Read the cached route and recheck pool eligibility plus entry identity before admitting a held leg; no external read. whole:Route@128,whole:Route@135,whole:Route@192,whole:Route@299 b247a40e10c6d38666996b818e13ffa4444698fb353a850633607260e3d0e393 |
| internal/activator/poolwithdrawal.go ExecBackend.poolWithdrawalEmpty legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New stop proof reads host slice and flat-host cgroup events via existing helpers; missing is empty, read errors/populated refuse. Host-derived existing cgroup names only. registry:Host@219,registry:Host@346 6c9fd53e43d9fd4ae226a007f0b90fe84b7c9736a1e4fc119f603f54f784f79b |
| -internal/activator/poolwithdrawal.go Service.PreparePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Reap completed obsolete withdrawal jobs, then read current route and require supported matching ownership and pool ineligibility before installing an owned fence and scheduling stop/release proof; no bucket write. registry:ClaimOwnership@779,registry:ClaimOwnership@805,registry:DBPath@748,registry:DBPath@766,registry:Host@1012,registry:Host@1043,registry:Host@1230,registry:Host@1254,registry:Host@1388,registry:Host@1689,registry:Host@390,registry:Host@673,registry:Host@888,registry:Host@917,registry:Host@956,registry:Host@985,registry:Kind@721,registry:Kind@737,whole:ClaimOwnership@787,whole:ClaimOwnership@808,whole:Route@1495,whole:Route@1502,whole:Route@1645,whole:Route@1652,whole:Route@235,whole:Route@428,whole:Route@484,whole:Route@528,whole:Route@551,whole:Route@714,whole:Route@723,whole:Route@750,whole:Route@781 fa62845c124a0ad76ffac13ca3bf8646e8056b04a0d17ad4ebd28617c50b6123 |
| +internal/activator/poolwithdrawal.go Service.PreparePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Reap completed obsolete withdrawal jobs, then read current route and require supported matching ownership and pool ineligibility before installing an owned fence and scheduling stop/release proof. Return each completed failure once on the next matching call regardless of elapsed time, retaining the job for fence cleanup; a later call starts a new proof. Successful proof consumption and safety checks unchanged; no new read or bucket write. registry:ClaimOwnership@779,registry:ClaimOwnership@805,registry:DBPath@748,registry:DBPath@766,registry:Host@1012,registry:Host@1043,registry:Host@1230,registry:Host@1254,registry:Host@1388,registry:Host@1696,registry:Host@390,registry:Host@673,registry:Host@888,registry:Host@917,registry:Host@956,registry:Host@985,registry:Kind@721,registry:Kind@737,whole:ClaimOwnership@787,whole:ClaimOwnership@808,whole:Route@1495,whole:Route@1502,whole:Route@1652,whole:Route@1659,whole:Route@235,whole:Route@428,whole:Route@484,whole:Route@528,whole:Route@551,whole:Route@714,whole:Route@723,whole:Route@750,whole:Route@781 fe9e2f711ba530d7ce85a5471f50b70e2ca1fc0acb39b5ddab844796dabc42fc |
| internal/activator/poolwithdrawal.go Service.ReapPoolWithdrawals legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Read current registry rows for completed withdrawal jobs outside the service mutex; discard cached proof and lift only that job-owned generation-1 fence when the row is absent, changed or eligible. Running or replaced jobs and other owners retain fences; no new path or bucket read. whole:Route@321,whole:Route@364,whole:Route@391,whole:Route@420 f97888c5f4328d4154ac61aae96e04b70649efab69e6e0b56e213b6ea7118f4c |
| internal/activator/poolwithdrawal.go Service.poolWithdrawalProof legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New withdrawal proof uses existing fence/stop, cgroup, record/lifetime, holder-lock, obligation, local release-record/stat and registry timer/route readers. Requires proven stop and clean release or safe never-started state; retains outstanding duties and special rows. No new path namespace or record write; local files use existing backend layout. registry:Addr@1101,registry:Addrs@1118,registry:Args@1175,registry:DBPath@1136,registry:HA@1341,registry:Hibernate@1066,registry:Host@1582,registry:Host@2093,registry:Host@2348,registry:Host@2557,registry:Host@279,registry:Host@3850,registry:Host@3938,registry:Host@429,registry:Host@464,registry:Host@503,registry:Host@534,registry:Host@616,registry:Host@653,registry:Host@892,registry:Kind@1024,registry:Kind@1282,registry:Kind@1386,registry:NextDue@4096,registry:Runtime@1155,registry:Socket@1082,registry:WakeIncarnation@1253,registry:WakeIncarnation@1856,whole:Route@115,whole:Route@1442,whole:Route@1666,whole:Route@2188,whole:Route@2343,whole:Route@2606,whole:Route@3965,whole:Route@4009,whole:Route@4032,whole:Route@4055,whole:Route@972,whole:Timer@4124 9099408e32e006312b9f64f4f178b0bd7f27ad378857d2a5a78a6d482212805f |
| -internal/activator/poolwithdrawal.go Service.provePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Run withdrawal proof under service lifetime with a five-minute budget and store its result; cached route Host for logging, indirect reads owned by poolWithdrawalProof. registry:Host@131,registry:Host@464,registry:Host@566,whole:Route@135,whole:Route@468,whole:Route@570 e0b5bcf44122bb3b2b98f526343fa362f32a5b3caa7ba7be1e72447dcb598bb6 |
| +internal/activator/poolwithdrawal.go Service.provePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Run withdrawal proof under service lifetime with a five-minute budget and store its result without a wall-clock retry expiry; cached route Host for logging, indirect reads owned by poolWithdrawalProof. No new read or change to the proof itself. registry:Host@131,registry:Host@421,registry:Host@523,whole:Route@135,whole:Route@425,whole:Route@527 d7f46401c94b159d59e815becc1ee999a232a58c72fc93f73038131038c4c0dc |
| internal/activator/poolwithdrawal.go samePoolWithdrawalRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Compare complete rows while ignoring only BuildState.read_at after valid JSON decoding; new in-memory BuildState/route reads, no I/O. registry:BuildState@110,registry:BuildState@68,registry:BuildState@82,registry:BuildState@96,whole:Route@136,whole:Route@141 43ddd34ecbad6619665a4cbbe275f63b27ce28b2895da3462f1e4893d867d00b |
| internal/activator/poolwithdrawal.go withdrawalRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Clear transient WakeIncarnation for comparison with the persisted row; supplied route only, no external read. registry:WakeIncarnation@55,whole:Route@87 1d33ece4a4ca14e428d91ff1171393d5eb267bfa810966c20c790b882d3c900a |
| internal/domains/aliases.go deriveHAIngressAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New plain/delegated alias projection binds accepted claim account/app to HA metadata, excludes pending/instance/regional/sidecar claims and exact-name collisions, and preserves unavailable targets as refusal-only names; in-memory route fields only. registry:Account@1202,registry:Account@692,registry:App@1106,registry:App@1232,registry:App@719,registry:HA@495,registry:Host@477,registry:Host@671,whole:Route@1037,whole:Route@1083,whole:Route@1167,whole:Route@383,whole:Route@638,whole:Route@794,whole:Route@870,whole:Route@921,whole:Route@942 9569d5dfffede04808dffe4def94bf4954e858a697692c9c80fb4f48f4d05eff |
| @@ -185,7 +185,7 @@ internal/edge/regional.go Edge.foldRegional legacy accepted-legacy accepted-lega |
| internal/host/hadepartures.go Controller.step legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: resolve bound same-scope identities, persist validated termination proof before enrollment, and replay bounded pending work outside consumer/fold locks. Existing regional data client and shared cache; inventory only restricts completion, never lifecycle. B3 fix r1: Describe before proof access on suspicion paths. Normalize validated legacy inbox entries in atomic transactions, process bounded per-iid pending pages, and persist hourly escalation. Delete unrelated rows only after complete applicable walks and guarded received timestamps. Acquire/completion authority unchanged. B4: Count unresolved durable hints for the globally throttled summary and call the bounded scanner outside the fold. Acknowledge unrelated hints only after complete applicable discovery; complete departure acknowledgment reads durable state. B4 fix r3: Include refused fixed-box replacements in the existing structured receiver summary, sharing its persisted hourly page claim with pending hints. Read only local refusal state and registry page state; no additional cloud request or completion authority.;rev3=census-ruling-region-ha-p3b;basis=Register admitted departure work and cancel/join it during closure before existing confirmation/import processing. Existing 23 read sites and lease/termination proofs remain; no new root input or takeover permission.;rev3=census-ruling-region-ha-g2-fixes;basis=Include identity and underlying paging errors in existing failure logs; new IID field read only, no new external read or termination authority. file:Walk@2717,registry:Body@1979,registry:IID@2554,registry:IID@2971,registry:IID@3324,registry:IID@3357,registry:IID@4038,registry:IID@4196,registry:Key@2081,registry:Key@2317,registry:LastBlocked@2872,registry:ReceivedAt@2300,registry:ReceivedAt@3255,whole:HADeparture@5042,whole:HADeparture@6010,whole:HADeparture@6333,whole:HAPendingTermination@2495,whole:HAPendingTermination@2912,whole:HAPendingTermination@3166,whole:HAPendingTermination@3449,whole:HAPendingTermination@3555,whole:HAPendingTermination@4114,whole:HAPendingTermination@4730,whole:HATerminationInbox@1939 0cdf56509e6a0db8cda6528a9a27fa0257205cac6af0528650a381d5226b4630 |
| @coverage infra/modules/region-host 5405538508ce35a0380a16ae18fc5b0693485db87c5330991b9e88b9420be5de |
| @coverage infra/modules/region-host/tests 570051ac6edc48d1bf6ddac7ea364952f79b0c869b1cc006190c6650d2dde39d |
| -@coverage internal/activator 93c2cb47a69af802fc1081a1b9cee0e20a6ef8edb2fe4d74d3859f3c1e0778fa |
| +@coverage internal/activator 0adbc3c8fbeec03f94035c0b80f2dbc2de3a3ac7f76ee2185ca85590a8c7a7fc |
| @coverage internal/domains 18f910822bf518e3ee917ff51dba552bf7a6668c313eeef3d01610d38cb4bb53 |
| @coverage internal/edge 62112fbbb8ee10311c409e45f00570b2a56f96d1ef0ffd6056c61cd81243d623 |
| @coverage internal/hafresh 5a10a9c971ba3a811e4bfdd2f59bd5715c41f991c872593d4ba42d4dfbfe6b21 |