| new file mode 100644 |
| index 000000000..091649acf |
| --- /dev/null |
| +++ b/internal/provision/testdata/plan14-root-reads-fleet-record-labels-m1.tsv |
| @@ -0,0 +1,21 @@ |
| +# Census overlay fleet-record-labels-m1, written by census-propose (#369). census-ruling-fleet-record-labels-m1, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-fleet-record-labels-m1.md. |
| +# 3 body, 2 sites, 3 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +# 3 new dispositions: 0 reads re-frozen at their disposition with the claim, 3 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other. |
| +@legacy ed455458ad261166f67a036426039b82f134b54e183f4a2c2f208b8c143b229d internal/activator/activator.go Service.finishStop legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with a run's settle checked before replication closes, which keeps the stop pending until the run is proven stopped; read sites unchanged, offsets moved;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: an HA entry (its replica is an HA one, haEntryRep) now releases through releaseHAClean (a new unit on this card) instead of e.rep.Close; when that answers errHostSliceUnproven the stop is kept pending (keepPendingLocked) with the lease held and renewing, and the sweep finishes it once proven; a non-HA entry is unchanged; the same five sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a forgotten entry's stop is noted for its resident (noteResidentStopLocked: crash or lost lease backs off, any other stop restarts on the next tick) and its ownerDone channel is closed; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: while the host has a release command's record (a.releaseOps[e.host], running or not proven stopped), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the record's proof; the same five read sites, no read added; only holds a release back;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1.20: while a rootfs worker may run or is a stray (rootfsWorkersLiveLocked, in-memory, read under a.mu), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the workers are proven stopped; the same five read sites, no read added; only holds a release back;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 7a fix round 1 (Astra P1): beside the worker check, under the same lock, a stop with a lease stop of its commands outstanding (e.leaseStops) is kept pending, the replica and lease held, and the sweep finishes it once they have returned; the entry is never released while a kill captured for it may still reach its unit; the same five read sites, no read added Task 9 (PF-3): the count is pendingLeaseStopsLocked(e), the sum of e.leaseStops over both one-shot roles (now a map per role, cmd and tty), so a session's lease stop of the tty unit keeps the stop pending, the replica and lease held, as a run's does; the same five read sites, no read added;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Retain command, worker, release and cgroup proofs. For an actual stateless generation no replica needs closing; close local lifecycle ownership only once those proofs finish.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): adds a.cancelHeldLegsLocked(e, 0) under a.mu just before the entry is deleted; it only calls the legs' context cancel functions. No read added, none removed.;rev3=census-ruling-region-ha-g2-fixes;basis=Latch HA loss if release leaves an obligation; stopping proofs still precede entry removal; no new read.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 5 fix 1: records the finished stop's release outcome (marker written, clean) in the drain transaction's in-memory release log while a drain records (noteDrainReleaseLocked); memory only; no read added;rev3=census-ruling-fleet-record-labels-m1;basis=fleet record labels R2: a non-HA replica of a fleet-placed row releases through closeFleetCheckpoint (CloseProven) instead of Close; an unproven final checkpoint keeps the stop pending (keepPendingLocked) with the lease held and renewing, or abandons to TTL at Shutdown or over a lost lease; never releases over an unproven checkpoint; platform-region rows unchanged; the same five read sites, no read added registry:Socket@4882,registry:Socket@4987,whole:Route@4832,whole:Route@4884,whole:Route@4989 18e88e0c55fd79e6b80c764d5d8ce46468f23bc1b752368655cea05417898d21 |
| +@legacy 36a8277768d7554fa1f1fa4faa9806e1d0d08c11ddeedc07a9133122c93b45cb internal/activator/startrule.go ExecBackend.startAllowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): the start rule: an unlabelled or restored start is allowed; a kept local copy must match rt.Assigned in its marker; an empty start of a labelled row is refused (ErrNothingToRestore) when a set-aside entry exists for the host or rt.Moved is set. Only refuses. Agent, not root.;rev3=census-ruling-stateless-replicas-2;basis=A set projection refuses this SQLite empty-start rule; does not turn a route hint into bypass authority. Legacy rule unchanged.;rev3=census-ruling-fleet-record-labels-m1;basis=fleet record labels R2: refusal wording only (C43 draft copy, set-aside paths named); the same refusals, still wrapping ErrNothingToRestore; read sites unchanged, no read added registry:Assigned@244,registry:Assigned@701,registry:Assigned@853,registry:FleetBoxes@196,registry:Host@301,registry:Moved@1389,whole:Route@348 bbec2a743f3dd4a1c5154dfcb6786d7fe6919beb78600c396a63e89ef284f491 |
| +@legacy 5e7dcc3d20bf21923d376723d2f9a632610f2c9585899d51b15d3fef03052896 internal/activator/activator.go Service.fleetProvenCloser legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-record-labels-m1;basis=new, fleet record labels R2: reads the entry's in-memory route region under a.mu and asserts the replica to provenCloser (lease *Replicator); no I/O, no store or tenant-path read registry:Region@101,whole:Route@103 ee201b379aae1a65eec88d728824c2d8cb90564ecf944e82f91d446861f19e85 |
| +@legacy 0ed5f267319db7b8255a33e2d454a7c6702b4941fedde108bcb071022be47c93 internal/activator/wakeidentity.go Service.unlabelledFleetFence legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-record-labels-m1;basis=new, fleet record labels R1: for an unlabelled fleet-placed row reads its record once through a.Fleet.Record (FleetRecordFrom: provision.GetRecord of the row's own account/app/host in the deployment store), then only refuses (errRouteChangedUnderLease) on any FleetBox, ReplicaAssignment, retired, nil or unreadable record; never opens, runs or follows a path from the record registry:Host@1020,registry:Host@250,registry:Host@444,registry:Host@622,registry:Host@808,whole:Route@111,whole:Route@367 41447a6dbfdea163044c65c8bfc3597661ff823b10fb7cb0de53e2a0598eeb9b |
| +@legacy 89ab644da8d53a5a0e616a7d2a4c970020c7ff01f8d51b0cbdf7a5545ea17539 internal/activator/wakeidentity.go unlabelledFleetRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-record-labels-m1;basis=new, fleet record labels R1: pure predicate on the in-memory route row (Assigned and FleetBoxes empty, Region a fleet placement); no I/O registry:Assigned@54,registry:FleetBoxes@75,registry:Region@149 eb9ef1897911dab2e94a5c968833bbd1ab8d26223a12d91e64384c191ca1ec9c |
| +@legacy e30148d91dd81d2216214ed1db44c4709238127af2bf7b4982b212c773fdd0a0 internal/activator/rootfsworkers.go Service.runWorkerStart legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W: one worker start off a.mu: publishes the build's pins, launches through the gate, installs only on the same entry still awake; always ends with the start done and what it started installed, proven gone or a stray;rev3=census-ruling-stateless-replicas-2;basis=Declared stateless set workers use the instance route and existing wake record recheck at actual launch, between two existing local worker gates. No read on a tick without a start, no new reads for stateful or unset assignments. Sidecar entry-point refusal remains.;rev3=census-ruling-fleet-record-labels-m1;basis=fleet record labels R1: the existing route/record recheck at a worker start now also runs for an unlabelled stateless fleet-placed row (unlabelledFleetRow), the same currentWakeRoute gate the wake uses; a fence refusal doubles the worker backoff up to sidecarRestartMax without noting a crash; +whole:Route reads are of the in-memory route row the entry already holds; only refuses, no new kind of read registry:FleetBoxes@2912,registry:Host@2707,registry:Host@3570,registry:Host@3761,registry:Host@4187,whole:Route@2392,whole:Route@2954,whole:Route@3107,whole:Route@3158,whole:Route@3332,whole:Route@3839,whole:Route@4251 b9d90bde56c52d4a50010a49ea7b46c8e4b144cb6f5c37e2766a3c757400722c |
| +@legacy 1af21a9abd19bc3326d8b72c43a5478afae4543c08bcf0ba6b0493f441e3d1cd internal/activator/wakeidentity.go Service.currentWakeRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Extract existing registry and labelled fleet record recheck for reuse without a serving lease; return the observed row and record and refuse a nil record. No writer or new path.;rev3=census-ruling-agent-start-demo-1;basis=Agent-process unit. Compares demo identity/shape whenever either the route or its already-read record carries demo identity; refuses mismatches before restore or replication. No extra record request.;rev3=census-ruling-stateless-replicas-2;basis=Existing registry/record recheck validates canonical set, membership, lifetime, revision, owner and managed stateless shape. Reuses the one wake record read; unknown fleet and malformed projection refuse. merge of origin/main 6be08467: Check main demo record identity before the replica early return and explicitly refuse demo records or rows from the set branch; same existing registry/record reads.;rev3=census-ruling-fleet-record-labels-m1;basis=fleet record labels R1: an unlabelled fleet-placed row on a fleet box (FleetWakeCheck or FleetWakeUnknown) now goes through unlabelledFleetFence (one record GET through the existing FleetRecordFrom reader, the same reader labelled wakes use) and is refused when the record names a box, has a replica assignment, or is retired/unreadable; only refuses; no new kind of read registry:Account@2070,registry:App@2095,registry:Assigned@3045,registry:Assigned@3255,registry:Assigned@510,registry:Channel@2239,registry:Copies@2631,registry:Environment@2301,registry:FleetBoxes@1713,registry:FleetBoxes@2581,registry:FleetBoxes@531,registry:FleetBoxes@727,registry:Host@1057,registry:Host@1200,registry:Host@1329,registry:Host@1496,registry:Host@2117,registry:Host@281,registry:Host@3180,registry:Host@379,registry:Kind@1816,registry:Region@2142,registry:Region@2173,registry:ReplicaIncarnation@2547,registry:ReplicaRevision@2678,registry:Runtime@2268,whole:Route@1413,whole:Route@1664,whole:Route@229,whole:Route@2975,whole:Route@3280,whole:Route@427,whole:Route@431,whole:Route@488,whole:Route@499,whole:Route@593,whole:Route@649,whole:Route@807 d348c8c7ba554d8a3e6f349cdb516f0301ff4d64d777d55b76fc51f67420af7b |
| +internal/activator/activator.go Service.finishStop legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with a run's settle checked before replication closes, which keeps the stop pending until the run is proven stopped; read sites unchanged, offsets moved;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: an HA entry (its replica is an HA one, haEntryRep) now releases through releaseHAClean (a new unit on this card) instead of e.rep.Close; when that answers errHostSliceUnproven the stop is kept pending (keepPendingLocked) with the lease held and renewing, and the sweep finishes it once proven; a non-HA entry is unchanged; the same five sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a forgotten entry's stop is noted for its resident (noteResidentStopLocked: crash or lost lease backs off, any other stop restarts on the next tick) and its ownerDone channel is closed; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: while the host has a release command's record (a.releaseOps[e.host], running or not proven stopped), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the record's proof; the same five read sites, no read added; only holds a release back;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1.20: while a rootfs worker may run or is a stray (rootfsWorkersLiveLocked, in-memory, read under a.mu), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the workers are proven stopped; the same five read sites, no read added; only holds a release back;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 7a fix round 1 (Astra P1): beside the worker check, under the same lock, a stop with a lease stop of its commands outstanding (e.leaseStops) is kept pending, the replica and lease held, and the sweep finishes it once they have returned; the entry is never released while a kill captured for it may still reach its unit; the same five read sites, no read added Task 9 (PF-3): the count is pendingLeaseStopsLocked(e), the sum of e.leaseStops over both one-shot roles (now a map per role, cmd and tty), so a session's lease stop of the tty unit keeps the stop pending, the replica and lease held, as a run's does; the same five read sites, no read added;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Retain command, worker, release and cgroup proofs. For an actual stateless generation no replica needs closing; close local lifecycle ownership only once those proofs finish.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): adds a.cancelHeldLegsLocked(e, 0) under a.mu just before the entry is deleted; it only calls the legs' context cancel functions. No read added, none removed.;rev3=census-ruling-region-ha-g2-fixes;basis=Latch HA loss if release leaves an obligation; stopping proofs still precede entry removal; no new read.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 5 fix 1: records the finished stop's release outcome (marker written, clean) in the drain transaction's in-memory release log while a drain records (noteDrainReleaseLocked); memory only; no read added;rev3=census-ruling-fleet-record-labels-m1;basis=fleet record labels R2: a non-HA replica of a fleet-placed row releases through closeFleetCheckpoint (CloseProven) instead of Close; an unproven final checkpoint keeps the stop pending (keepPendingLocked) with the lease held and renewing, or abandons to TTL at Shutdown or over a lost lease; never releases over an unproven checkpoint; platform-region rows unchanged; the same five read sites, no read added registry:Socket@4882,registry:Socket@4987,whole:Route@4832,whole:Route@4884,whole:Route@4989 18e88e0c55fd79e6b80c764d5d8ce46468f23bc1b752368655cea05417898d21 |
| +internal/activator/activator.go type Service authority B,C,D,F,J4 rev3=PROPOSED-seed; existing activator lifecycle and due-wake state plus owned seed exclusion and incarnation-keyed diagnostics; normal refusal and preparation ordering remain authoritative; PROPOSED-plans-2-box-limits adds the idleFor hook field, which only narrows idle windows;rev3=census-ruling-plans-4c-box-throttle;basis=gains the maxRunFor hook field beside idleFor (plans 4c). No read added.;rev3=census-ruling-plans-4d-lapse;basis=gains the disabledFor hook field beside maxRunFor (plans 4d). No read added.;rev3=census-ruling-remote-instance-metrics;basis=gains tenancySeq, hostTenants and hostMixed, in-memory fields for Tenancies; no read added;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: one more field, markers (markerRetry: an atomic running flag and the last log time) for retryOwedMarkers; no read added; merge of origin/main d7ae1d76: main's fields are kept as main has them (census-ruling-remote-instance-metrics: tenancySeq, hostTenants, hostMixed); this branch's change is the same as above;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: new fields for rootfs admission (rootfsArmed, rootfsSwept), the per-host gate ask and refusal memo, and residency state (lister, backoff, start ceiling, cursor, test seam); no read;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: one new field, releaseOps (host to the in-memory release record, under a.mu); no read;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W: one new field, leaseNow (a clock seam for a worker start's headroom against the lease deadline, nil is the real clock); no read;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2: gains the holder cache and its single-flight state; no read;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): one field, Fleet (activator.FleetWake: the box's fleet state, not on a fleet by default, on a fleet with a known label and a record reader, or on a fleet with an invalid identity), set by the agent before Start and read only by routeCurrentUnderLease. No read in the declaration. Agent, not root.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 7a fix round 1: one field, drainBudget (time.Duration), which New copies from residentDrainBudget and a rootfs entry's lease watch reads in its place, so a test's change of the package var never races a watch goroutine; declaration only, reads nothing; merge of origin/main 6f1f6ca6: main's one field, Fleet (activator.FleetWake), is kept as main has it (census-ruling-managed-fleets-1b); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b3a;basis=Add bounded placement peer and diagnostic state and the over-capacity callback; no read in this declaration and no new root authority.;rev3=census-ruling-stateless-replicas-1;basis=Add coordinator, existing-record observation callback and per-host preparation locks; no read in the declaration. Task 3a: Add optional canonical storage-selection and durable deploy-ID callbacks; declaration only, no read or authority in these fields.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): adds the heldLegs map to actEntry (legs by id, under a.mu) and heldWakeHook (atomic pointer to a callback) and heldLegSeq (atomic counter) to Service. State only, in memory; no read of tenant, app or box-agent-writable input.;rev3=census-ruling-wake-storm-cap;basis=the agent as carlos: one field, wakeSlots (chan struct{}, the wake semaphore made by New from Config.WakeSlots, default 4); declaration only, no read.;rev3=census-ruling-region-ha-p1b3b-t;basis=Add the B2 DutyStore interface field and process-local duty view, suppression and invalidation state. No read added. B2 adds the verified-successor identity callback; no read in the declaration. B3b adds a nonblocking departure-suspicion callback, invoked only after an accepted holder-forward failure and after cache locks release; it cannot authorize a take.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: immutable callbacks installed before Start for tenant admission, local start permission, fixed route exemptions and shutdown closure; nil callbacks preserve switch-off behavior; no new reads. Fix R1: add an immutable startup-phase callback for response copy, set before service startup. No new read or execution authority.;rev3=census-ruling-region-ha-g2-fixes;basis=Add in-memory HA loss state and pool withdrawal jobs; no new read.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 1: one new field, drain (drainSources: two atomic func pointers for this box's and peers' drain state); no read added. region HA held-requests Task 2: one new field, moves (moveTable: per-host move state, hold counts and admission tickets in memory, under mu); no read added;rev3=census-ruling-held-move-speed;basis=the agent as carlos: one new field, moveStreams (per-host in-memory set of edge.StreamEnd for requests in flight, own mutex), for the move's early stream cut; actEntry gains drainRelease (bool, under a.mu), set by DrainStop; declarations only, no read added;rev3=census-ruling-fix-silent-start-kill-861;basis=#861: two fields, wakeFailMu and wakeFailLogged (per-host in-memory note of the last journalled wake failure); declaration only, no read;rev3=census-ruling-w6-ingress-drain;basis=new field TenantStartsClosed func() bool; when it answers true tenantStartRefusal refuses every start, exempt routes included. Wired only by fixedAdmission.bind to the ingress drain's closed flag. Struct field only; no read added.;rev3=census-ruling-stateless-replicas-4-task2;basis=Task 2: one field, replicaPolicies (host to the newest observed replica deploy and this box label, under mu), set only by SetReplicaDeploy; declaration only, no read.;rev3=census-ruling-stateless-replicas-4-task2-fix1;basis=Task 2 fix round 1: one more in-memory field, replicaFailed (host to the permit whose successor failed here, under mu), so that step only proves what it kept; declaration only, no read.;rev3=census-ruling-stateless-replicas-4-task3f;basis=Task 3F fix round 3 (#511 F11): two hook fields, MarkReplicaRelease and ReplicaReleaseMark (the failure book's per-host release mark on this box's disk). No read site.;rev3=census-ruling-stateless-replicas-4-task5;basis=Task 5 first commit (#511 F11): one in-memory field, heldSeen (host to the last held release attempt, error class and when it was met), under the existing wakeFailMu. Declaration only, no read.;rev3=census-ruling-stateless-replicas-4-merge-main;basis=Merge of main 5fac2ff1: both sides changed it. Main (27d3f501) adds the background atomic.Int64 field that tests wait on; this branch keeps its replica fields. Both kept as-is; no read added.;rev3=census-ruling-stateless-replicas-4-final;basis=#511 final wave item 3: adds replicaSwitched, an in-memory map of the permit each set row switched under (host -> permit key, time, resident flag); no read added; #511 micro-fix P1b: adds replicaNoGen, an in-memory map (host -> permit key and when first seen) that is only the bound's clock for a restarted permit holder with no generation; no read added;rev3=census-ruling-stateless-replicas-4-drill1;basis=#511 drill 1 R20 bound (round 1: clock with start and last seen): one in-memory field, releaseConfigWaits (per host, a stateless release's config wait), under mu; no read;rev3=census-ruling-stateless-replicas-4-r28;basis=R28 review round 2 (#511): one field, retiringCopy, an atomic pointer to the edge's in-memory retired-copy check, handed over by edge.New (SetRetiringCopy); no read, no root decision;rev3=census-ruling-g6-fence;basis=G6 F-C Task 3, the agent as carlos: four fields, fenceWatchers (sync.WaitGroup of running write-fence watchers) and three test seams nil in production (fenceWatchStarted, retainDB, wakeReturned). Declaration only, no read.;rev3=census-ruling-fleet-record-labels-m1;basis=fleet record labels R2: actEntry gains checkpointCancel, checkpointUnproven, checkpointAbandoned (in-memory, under a.mu); Service gains three test seams nil in production (checkpointKept, checkpointStarted, checkpointContext); declarations only, no read 507c3b8fdb19c7dc57bfb55eedd51c52f2b03ee84f0144e6c507406c363df359 |
| +internal/activator/startrule.go ExecBackend.startAllowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): the start rule: an unlabelled or restored start is allowed; a kept local copy must match rt.Assigned in its marker; an empty start of a labelled row is refused (ErrNothingToRestore) when a set-aside entry exists for the host or rt.Moved is set. Only refuses. Agent, not root.;rev3=census-ruling-stateless-replicas-2;basis=A set projection refuses this SQLite empty-start rule; does not turn a route hint into bypass authority. Legacy rule unchanged.;rev3=census-ruling-fleet-record-labels-m1;basis=fleet record labels R2: refusal wording only (C43 draft copy, set-aside paths named); the same refusals, still wrapping ErrNothingToRestore; read sites unchanged, no read added registry:Assigned@244,registry:Assigned@701,registry:Assigned@853,registry:FleetBoxes@196,registry:Host@301,registry:Moved@1389,whole:Route@348 bbec2a743f3dd4a1c5154dfcb6786d7fe6919beb78600c396a63e89ef284f491 |
| +internal/activator/activator.go Service.fleetProvenCloser legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-record-labels-m1;basis=new, fleet record labels R2: reads the entry's in-memory route region under a.mu and asserts the replica to provenCloser (lease *Replicator); no I/O, no store or tenant-path read registry:Region@101,whole:Route@103 ee201b379aae1a65eec88d728824c2d8cb90564ecf944e82f91d446861f19e85 |
| +internal/activator/wakeidentity.go Service.unlabelledFleetFence legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-record-labels-m1;basis=new, fleet record labels R1: for an unlabelled fleet-placed row reads its record once through a.Fleet.Record (FleetRecordFrom: provision.GetRecord of the row's own account/app/host in the deployment store), then only refuses (errRouteChangedUnderLease) on any FleetBox, ReplicaAssignment, retired, nil or unreadable record; never opens, runs or follows a path from the record registry:Host@1020,registry:Host@250,registry:Host@444,registry:Host@622,registry:Host@808,whole:Route@111,whole:Route@367 41447a6dbfdea163044c65c8bfc3597661ff823b10fb7cb0de53e2a0598eeb9b |
| +internal/activator/wakeidentity.go unlabelledFleetRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-record-labels-m1;basis=new, fleet record labels R1: pure predicate on the in-memory route row (Assigned and FleetBoxes empty, Region a fleet placement); no I/O registry:Assigned@54,registry:FleetBoxes@75,registry:Region@149 eb9ef1897911dab2e94a5c968833bbd1ab8d26223a12d91e64384c191ca1ec9c |
| +internal/activator/rootfsworkers.go Service.runWorkerStart legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W: one worker start off a.mu: publishes the build's pins, launches through the gate, installs only on the same entry still awake; always ends with the start done and what it started installed, proven gone or a stray;rev3=census-ruling-stateless-replicas-2;basis=Declared stateless set workers use the instance route and existing wake record recheck at actual launch, between two existing local worker gates. No read on a tick without a start, no new reads for stateful or unset assignments. Sidecar entry-point refusal remains.;rev3=census-ruling-fleet-record-labels-m1;basis=fleet record labels R1: the existing route/record recheck at a worker start now also runs for an unlabelled stateless fleet-placed row (unlabelledFleetRow), the same currentWakeRoute gate the wake uses; a fence refusal doubles the worker backoff up to sidecarRestartMax without noting a crash; +whole:Route reads are of the in-memory route row the entry already holds; only refuses, no new kind of read registry:FleetBoxes@2912,registry:Host@2707,registry:Host@3570,registry:Host@3761,registry:Host@4187,whole:Route@2392,whole:Route@2954,whole:Route@3107,whole:Route@3158,whole:Route@3332,whole:Route@3839,whole:Route@4251 b9d90bde56c52d4a50010a49ea7b46c8e4b144cb6f5c37e2766a3c757400722c |
| +internal/activator/wakeidentity.go Service.currentWakeRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Extract existing registry and labelled fleet record recheck for reuse without a serving lease; return the observed row and record and refuse a nil record. No writer or new path.;rev3=census-ruling-agent-start-demo-1;basis=Agent-process unit. Compares demo identity/shape whenever either the route or its already-read record carries demo identity; refuses mismatches before restore or replication. No extra record request.;rev3=census-ruling-stateless-replicas-2;basis=Existing registry/record recheck validates canonical set, membership, lifetime, revision, owner and managed stateless shape. Reuses the one wake record read; unknown fleet and malformed projection refuse. merge of origin/main 6be08467: Check main demo record identity before the replica early return and explicitly refuse demo records or rows from the set branch; same existing registry/record reads.;rev3=census-ruling-fleet-record-labels-m1;basis=fleet record labels R1: an unlabelled fleet-placed row on a fleet box (FleetWakeCheck or FleetWakeUnknown) now goes through unlabelledFleetFence (one record GET through the existing FleetRecordFrom reader, the same reader labelled wakes use) and is refused when the record names a box, has a replica assignment, or is retired/unreadable; only refuses; no new kind of read registry:Account@2070,registry:App@2095,registry:Assigned@3045,registry:Assigned@3255,registry:Assigned@510,registry:Channel@2239,registry:Copies@2631,registry:Environment@2301,registry:FleetBoxes@1713,registry:FleetBoxes@2581,registry:FleetBoxes@531,registry:FleetBoxes@727,registry:Host@1057,registry:Host@1200,registry:Host@1329,registry:Host@1496,registry:Host@2117,registry:Host@281,registry:Host@3180,registry:Host@379,registry:Kind@1816,registry:Region@2142,registry:Region@2173,registry:ReplicaIncarnation@2547,registry:ReplicaRevision@2678,registry:Runtime@2268,whole:Route@1413,whole:Route@1664,whole:Route@229,whole:Route@2975,whole:Route@3280,whole:Route@427,whole:Route@431,whole:Route@488,whole:Route@499,whole:Route@593,whole:Route@649,whole:Route@807 d348c8c7ba554d8a3e6f349cdb516f0301ff4d64d777d55b76fc51f67420af7b |
| +@coverage internal/activator 74e6172c90d5c758ce096cdcc6845b5a655b1923b55bf13e323a7065728db809 |
| +@coverage internal/host ae6ea41aa57f35b6ba252d1af7d4d30f8c483232192845f3e216ff29d5b3e954 |
| +@coverage internal/lease fef01320bc136b8e26b298177b3c56df61e39ac83b12eb58526aa225da967266 |