| index 0fc497812..76350edb1 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-rootfs-apps-3-release.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-rootfs-apps-3-release.tsv |
| @@ -22,7 +22,7 @@ |
| @legacy 1cd5745cb9a9588fc7f7ccb0c68ec477e08a000c183396e32686e88eb526f717 internal/activator/rootfsrelease.go Service.runRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; the one place a release command runs. Refuses while any record of the host is open; skips the row's good build (releaseRan); reads the declared processes (declaredProcesses: the existing staged-manifest read) and refuses on a read error, never treating it as no release; runs only when releaseDue; needs a lease watch and a ReleaseBackend; its gate is the caller's plus the lease's Err and its safety deadline more than releaseStopLead (cmdStopBound, 2 min) away; creates the record under a.mu after releaseAdmitLocked; publishes the generations file and the build state (recordBuild) before anything runs; times out at the manifest's timeout_sec (default, capped at runs.MaxTimeout); ReleaseEnv; a supervisor stops the unit ahead of the lease's safety deadline; StartRelease under the exec gate; polls the unit (root's existing cmd status); stops and settles it (the existing cmd hold's stop, cmdStopBound); only a non-zero exit, a signal or the timeout with the unit proven gone is the build's failure (*ReleaseError); registry:Host sites are the record key and log lines registry:Host@184,whole:Route@2934,whole:Route@3163,whole:Route@3651,whole:Route@3680,whole:Route@5728,whole:Route@589,whole:Route@6196,whole:Route@6473,whole:Route@6903,whole:Route@817,whole:Route@902 e0cfa518c75e4671ef8a86c2f8438112af7aab07c49ed21fab0bf07438bafe68 |
| @legacy a8c0df96b63fb26c45df900ba9c37d2be4ba95b219c02c197bca479195c25835 internal/activator/rootfsrelease.go releaseDue legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; pure: a rootfs row, a build that declares release, and not the row's good build (releaseRan) whole:Route@228 addbb4f26b9407b42128d50e30a393e472e6d89be29f2db8a1fe289f1784b96d |
| @legacy aa8a53adb8368d0f0e8ef0b84958356a491495ecb9d332724332c90b9d64c483 internal/activator/rootfsrelease.go releaseRan legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 (D3): new; pure: the identity is the row's good build by version and digest (case-insensitive digest compare) registry:GoodDigest@138,registry:GoodVersion@91 32054a5a8f77f68e69a848705c018dba53e12f6faf8fc05aaa3b9e206dc43b42 |
| -@legacy 4f56c840092a2970ec8f748ec651b5e4d8ef5d2b0366c3fbcfe6a6c90158effa internal/activator/wakeplan.go Service.spawnPlannedRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3 [pf R3.2]: new; spawnPlanned's branch for a release of B that did not pass: only a *ReleaseError (unit proven gone) is B's failure (w.failed on a first wake) and, with a fallback, boots the good build through its own planGate as the existing fallback does; every other outcome records nothing of B and fails the wake; no file read registry:Host@241,whole:Route@650 8eb5377470b0eff04505abfa17b8f845ff8b678d1435c6e5ea1df879b7dcc9da |
| +@legacy 1690e3ed5b06d80286c6d2f2d153bdba6ab6360043cf357cb7c1466549a7a48a internal/activator/wakeplan.go Service.spawnPlannedRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3 [pf R3.2]: new; spawnPlanned's branch for a release of B that did not pass: only a *ReleaseError (unit proven gone) is B's failure (w.failed on a first wake) and, with a fallback, boots the good build through its own planGate as the existing fallback does; every other outcome records nothing of B and fails the wake; no file read; whole-branch review P2 (292b0b39): the proven release failure's reason is normalised through releaseFailureReason ("release: " / "release timed out: " prefixes, as overlap); no read added registry:Host@241,whole:Route@800 7c84c650d4dfced7bd4752c6c7491a42b954744659db52b578d8dfb9eadd461b |
| @legacy d96c792b89affbb650b2336b01ae007bd7742cc67f2daa749282b7f64439bec2 internal/activator/swaphold.go Service.startPinnedChecked legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: for a rootfs row, the pin's release runs before its web (runRelease under the wake's lease watch and the same gate), refusing a partial staged identity; a release that ran marks pinExec (markPinReleaseExec); a non-failure result is wrapped (holdReleaseResult) so the hold abandons. New sites +registry:Host (releaseOpen(rt.Host)) and +whole:Route (rt to runRelease); binary rows unchanged registry:Host@1100,whole:Route@1160,whole:Route@942 d976f4051d7df794b085b5d814bd30b134d5336fef85c89b191173ffa9862c89 |
| @legacy d0a3d34cbac82aec615ffffd6055209b4114f091a9a0eebdc3088498c0cf7ca2 internal/activator/activator.go Service.doWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body (census ruling 292's legacy start mark and lease give-back; census ruling owed's pending record) with the seeded change ruled under census-ruling-seeded-instances (the refreshed row checked against the row the wake began from, twice; the seed's first upload recorded after the wake), and now one more line on a failed start: a start its pre-exec gate refused (launchNotStarted: the exec gate, the pending record or its recheck answered no before root was asked) is recorded as known not started (stopObservation.notStarted) instead of uncertain, only when the wake has started nothing else (wakeStartedNothing); otherwise it goes through cleanupFailedWake and its proofs. A refusal before its lease (step 1), which has started nothing, is recorded the same way. Read sites unchanged; no new read and no root decision;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=marks the end of each wake step on the woken instance's journal timer (wakeSteps: a.now() and a slice append, journal only); no read added, no step reordered;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: (1) after the restore it asks the backend for the replication class an HA restore imported from the host's published wake state (restoredReplication(rt)) and, if it differs, logs it and sets rt.Replication and the entry's route to it; (2) an HA lease of the stream class replicates with a 1 s monitor interval (SetMonitorInterval); (3) after Replicate, an HA replica opens the entry's files publisher (openEntryFiles(ctx, e, rt)) and starts it, and a publisher that will not open fails the wake through cleanupFailedWake; (4) every cleanupFailedWake call passes e; (5) final fix F1: the two start-error arms that gave the lease straight back (a start its pre-exec gate refused with nothing started, and the default arm) now call giveBackAfterStart(ctx, rt, w, lease), which gives a legacy lease back exactly as before and an HA one only over an empty host slice. New sites: registry:Replication x5 (the class compare, the log line, the assignment and the HA sync-interval check) and whole:Route x6 (rt handed to restoredReplication, openEntryFiles, the cleanup calls and giveBackAfterStart); no file read in this body; only adds a condition before an HA release, no check removed;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: the rootfs admission runs before the claim path and before Acquire on the refreshed row (rootfsWakeRefusal), again in full if a re-read under the lock changed any gate field, and a resident wake re-checks residentRunnable; for a rootfs row a held lease or refused config is an ownership refusal; a rootfs first boot (no good version, fresh) places the empty database under the lease (placeRootfsDB) and uploads it once (syncRootfsPlaceholder), while fresh with a good version is refused as a lost database; declared processes are logged after the wake (rootfsProcessesHook); binary rows unchanged; fix wave 1 and 2 (6189a9db, then the r2 ruling "refuse interrupted init"): a fresh rootfs first boot goes through rootfsFirstBoot (rootfsmarker.go) instead of placeRootfsDB alone: under the lease it reads the lifetime's first-boot marker from the hibernate bucket (present or unreadable refuses, present as errRootfsReplicaMissing), writes it create-only, reads it back (only a read back that finds it confirms it; a write conflict proves nothing), and only then places the database; a warm wake does nothing with the marker (fix wave 1's settleRootfsFirstBoot call and its whole:Route site are gone, no local pending record); adds refusals only, binary rows unchanged;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@28521,registry:GoodVersion@13684,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@577,registry:Host@6378,registry:Replication@12307,registry:Replication@12436,registry:Replication@12455,registry:Replication@12536,registry:Replication@28424,registry:Replication@28556,registry:Seed@17242,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,whole:Route@10528,whole:Route@11409,whole:Route@12287,whole:Route@12538,whole:Route@13887,whole:Route@15176,whole:Route@15368,whole:Route@16058,whole:Route@1630,whole:Route@17343,whole:Route@17414,whole:Route@19830,whole:Route@2066,whole:Route@2071,whole:Route@2125,whole:Route@2131,whole:Route@21688,whole:Route@2197,whole:Route@2205,whole:Route@22334,whole:Route@23641,whole:Route@23795,whole:Route@24294,whole:Route@24364,whole:Route@24951,whole:Route@26036,whole:Route@26467,whole:Route@26675,whole:Route@26729,whole:Route@27658,whole:Route@27843,whole:Route@28633,whole:Route@29045,whole:Route@29094,whole:Route@29472,whole:Route@30694,whole:Route@30789,whole:Route@31396,whole:Route@3156,whole:Route@3250,whole:Route@3317,whole:Route@357,whole:Route@4011,whole:Route@562,whole:Route@5747,whole:Route@6006,whole:Route@6268,whole:Route@6273,whole:Route@6330,whole:Route@6336,whole:Route@6405,whole:Route@6413,whole:Route@6729,whole:Route@6790,whole:Route@6888,whole:Route@7712,whole:Route@8695,whole:Route@9269,whole:Route@9458 afd6ee142fef4335e940ba4576f638fa2fc0bd1fe47bb73209c4ee96735a9e0f |
| @legacy f4e0952c12d590c3e1664edc91e2b5bab466abd0f01354fda01db76585a4111a internal/activator/activator.go Service.wake legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=logs that timer's breakdown to the journal after a successful wake (w.steps.String(), e.host, w.wakeTook); no read added;rev3=census-ruling-plans-4d-lapse;basis=cancels a wake whose row the turned-off hook names, like a fence, unless it is a move's active probe (plans 4d). One more whole-row read: the row handed to the hook (a.disabled). Only refuses.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: a refusal before the lease is reported once per change (noteRootfsRefusal) instead of a wake-failure event; the proc, generation and replica are installed through installProcLocked (which puts a resident under its lease watch before the fence); residency notes the outcome (noteResidentWakeLocked); same generation values;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.5]: the wake's context ceiling is wakeCeilingFor(e.route): the old 5 minutes for a binary row, 5 minutes plus runs.MaxTimeout for a rootfs row (room for a release inside the wake); new site +whole:Route (e.route to wakeCeilingFor, which reads Runtime only); no other change registry:Socket@7683,registry:Socket@7844,whole:Route@1034,whole:Route@2486,whole:Route@2577,whole:Route@2634,whole:Route@417,whole:Route@5931,whole:Route@7636,whole:Route@7685,whole:Route@7846,whole:Route@9169,whole:Route@9190 ddfc275bdf2b6933e04852e7e9e940c66aad042b3da8d5155e65c7b81d9c52b7 |
| @@ -54,7 +54,7 @@ internal/activator/rootfsrelease.go Service.releaseInWake legacy accepted-legacy |
| internal/activator/rootfsrelease.go Service.runRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; the one place a release command runs. Refuses while any record of the host is open; skips the row's good build (releaseRan); reads the declared processes (declaredProcesses: the existing staged-manifest read) and refuses on a read error, never treating it as no release; runs only when releaseDue; needs a lease watch and a ReleaseBackend; its gate is the caller's plus the lease's Err and its safety deadline more than releaseStopLead (cmdStopBound, 2 min) away; creates the record under a.mu after releaseAdmitLocked; publishes the generations file and the build state (recordBuild) before anything runs; times out at the manifest's timeout_sec (default, capped at runs.MaxTimeout); ReleaseEnv; a supervisor stops the unit ahead of the lease's safety deadline; StartRelease under the exec gate; polls the unit (root's existing cmd status); stops and settles it (the existing cmd hold's stop, cmdStopBound); only a non-zero exit, a signal or the timeout with the unit proven gone is the build's failure (*ReleaseError); registry:Host sites are the record key and log lines registry:Host@184,whole:Route@2934,whole:Route@3163,whole:Route@3651,whole:Route@3680,whole:Route@5728,whole:Route@589,whole:Route@6196,whole:Route@6473,whole:Route@6903,whole:Route@817,whole:Route@902 e0cfa518c75e4671ef8a86c2f8438112af7aab07c49ed21fab0bf07438bafe68 |
| internal/activator/rootfsrelease.go releaseDue legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; pure: a rootfs row, a build that declares release, and not the row's good build (releaseRan) whole:Route@228 addbb4f26b9407b42128d50e30a393e472e6d89be29f2db8a1fe289f1784b96d |
| internal/activator/rootfsrelease.go releaseRan legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 (D3): new; pure: the identity is the row's good build by version and digest (case-insensitive digest compare) registry:GoodDigest@138,registry:GoodVersion@91 32054a5a8f77f68e69a848705c018dba53e12f6faf8fc05aaa3b9e206dc43b42 |
| -internal/activator/wakeplan.go Service.spawnPlannedRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3 [pf R3.2]: new; spawnPlanned's branch for a release of B that did not pass: only a *ReleaseError (unit proven gone) is B's failure (w.failed on a first wake) and, with a fallback, boots the good build through its own planGate as the existing fallback does; every other outcome records nothing of B and fails the wake; no file read registry:Host@241,whole:Route@650 8eb5377470b0eff04505abfa17b8f845ff8b678d1435c6e5ea1df879b7dcc9da |
| +internal/activator/wakeplan.go Service.spawnPlannedRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3 [pf R3.2]: new; spawnPlanned's branch for a release of B that did not pass: only a *ReleaseError (unit proven gone) is B's failure (w.failed on a first wake) and, with a fallback, boots the good build through its own planGate as the existing fallback does; every other outcome records nothing of B and fails the wake; no file read; whole-branch review P2 (292b0b39): the proven release failure's reason is normalised through releaseFailureReason ("release: " / "release timed out: " prefixes, as overlap); no read added registry:Host@241,whole:Route@800 7c84c650d4dfced7bd4752c6c7491a42b954744659db52b578d8dfb9eadd461b |
| internal/activator/swaphold.go Service.startPinnedChecked legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: for a rootfs row, the pin's release runs before its web (runRelease under the wake's lease watch and the same gate), refusing a partial staged identity; a release that ran marks pinExec (markPinReleaseExec); a non-failure result is wrapped (holdReleaseResult) so the hold abandons. New sites +registry:Host (releaseOpen(rt.Host)) and +whole:Route (rt to runRelease); binary rows unchanged registry:Host@1100,whole:Route@1160,whole:Route@942 d976f4051d7df794b085b5d814bd30b134d5336fef85c89b191173ffa9862c89 |
| internal/activator/activator.go Service.doWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body (census ruling 292's legacy start mark and lease give-back; census ruling owed's pending record) with the seeded change ruled under census-ruling-seeded-instances (the refreshed row checked against the row the wake began from, twice; the seed's first upload recorded after the wake), and now one more line on a failed start: a start its pre-exec gate refused (launchNotStarted: the exec gate, the pending record or its recheck answered no before root was asked) is recorded as known not started (stopObservation.notStarted) instead of uncertain, only when the wake has started nothing else (wakeStartedNothing); otherwise it goes through cleanupFailedWake and its proofs. A refusal before its lease (step 1), which has started nothing, is recorded the same way. Read sites unchanged; no new read and no root decision;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=marks the end of each wake step on the woken instance's journal timer (wakeSteps: a.now() and a slice append, journal only); no read added, no step reordered;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: (1) after the restore it asks the backend for the replication class an HA restore imported from the host's published wake state (restoredReplication(rt)) and, if it differs, logs it and sets rt.Replication and the entry's route to it; (2) an HA lease of the stream class replicates with a 1 s monitor interval (SetMonitorInterval); (3) after Replicate, an HA replica opens the entry's files publisher (openEntryFiles(ctx, e, rt)) and starts it, and a publisher that will not open fails the wake through cleanupFailedWake; (4) every cleanupFailedWake call passes e; (5) final fix F1: the two start-error arms that gave the lease straight back (a start its pre-exec gate refused with nothing started, and the default arm) now call giveBackAfterStart(ctx, rt, w, lease), which gives a legacy lease back exactly as before and an HA one only over an empty host slice. New sites: registry:Replication x5 (the class compare, the log line, the assignment and the HA sync-interval check) and whole:Route x6 (rt handed to restoredReplication, openEntryFiles, the cleanup calls and giveBackAfterStart); no file read in this body; only adds a condition before an HA release, no check removed;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: the rootfs admission runs before the claim path and before Acquire on the refreshed row (rootfsWakeRefusal), again in full if a re-read under the lock changed any gate field, and a resident wake re-checks residentRunnable; for a rootfs row a held lease or refused config is an ownership refusal; a rootfs first boot (no good version, fresh) places the empty database under the lease (placeRootfsDB) and uploads it once (syncRootfsPlaceholder), while fresh with a good version is refused as a lost database; declared processes are logged after the wake (rootfsProcessesHook); binary rows unchanged; fix wave 1 and 2 (6189a9db, then the r2 ruling "refuse interrupted init"): a fresh rootfs first boot goes through rootfsFirstBoot (rootfsmarker.go) instead of placeRootfsDB alone: under the lease it reads the lifetime's first-boot marker from the hibernate bucket (present or unreadable refuses, present as errRootfsReplicaMissing), writes it create-only, reads it back (only a read back that finds it confirms it; a write conflict proves nothing), and only then places the database; a warm wake does nothing with the marker (fix wave 1's settleRootfsFirstBoot call and its whole:Route site are gone, no local pending record); adds refusals only, binary rows unchanged;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@28521,registry:GoodVersion@13684,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@577,registry:Host@6378,registry:Replication@12307,registry:Replication@12436,registry:Replication@12455,registry:Replication@12536,registry:Replication@28424,registry:Replication@28556,registry:Seed@17242,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,whole:Route@10528,whole:Route@11409,whole:Route@12287,whole:Route@12538,whole:Route@13887,whole:Route@15176,whole:Route@15368,whole:Route@16058,whole:Route@1630,whole:Route@17343,whole:Route@17414,whole:Route@19830,whole:Route@2066,whole:Route@2071,whole:Route@2125,whole:Route@2131,whole:Route@21688,whole:Route@2197,whole:Route@2205,whole:Route@22334,whole:Route@23641,whole:Route@23795,whole:Route@24294,whole:Route@24364,whole:Route@24951,whole:Route@26036,whole:Route@26467,whole:Route@26675,whole:Route@26729,whole:Route@27658,whole:Route@27843,whole:Route@28633,whole:Route@29045,whole:Route@29094,whole:Route@29472,whole:Route@30694,whole:Route@30789,whole:Route@31396,whole:Route@3156,whole:Route@3250,whole:Route@3317,whole:Route@357,whole:Route@4011,whole:Route@562,whole:Route@5747,whole:Route@6006,whole:Route@6268,whole:Route@6273,whole:Route@6330,whole:Route@6336,whole:Route@6405,whole:Route@6413,whole:Route@6729,whole:Route@6790,whole:Route@6888,whole:Route@7712,whole:Route@8695,whole:Route@9269,whole:Route@9458 afd6ee142fef4335e940ba4576f638fa2fc0bd1fe47bb73209c4ee96735a9e0f |
| internal/activator/activator.go Service.wake legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=logs that timer's breakdown to the journal after a successful wake (w.steps.String(), e.host, w.wakeTook); no read added;rev3=census-ruling-plans-4d-lapse;basis=cancels a wake whose row the turned-off hook names, like a fence, unless it is a move's active probe (plans 4d). One more whole-row read: the row handed to the hook (a.disabled). Only refuses.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: a refusal before the lease is reported once per change (noteRootfsRefusal) instead of a wake-failure event; the proc, generation and replica are installed through installProcLocked (which puts a resident under its lease watch before the fence); residency notes the outcome (noteResidentWakeLocked); same generation values;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.5]: the wake's context ceiling is wakeCeilingFor(e.route): the old 5 minutes for a binary row, 5 minutes plus runs.MaxTimeout for a rootfs row (room for a release inside the wake); new site +whole:Route (e.route to wakeCeilingFor, which reads Runtime only); no other change registry:Socket@7683,registry:Socket@7844,whole:Route@1034,whole:Route@2486,whole:Route@2577,whole:Route@2634,whole:Route@417,whole:Route@5931,whole:Route@7636,whole:Route@7685,whole:Route@7846,whole:Route@9169,whole:Route@9190 ddfc275bdf2b6933e04852e7e9e940c66aad042b3da8d5155e65c7b81d9c52b7 |
| @@ -62,7 +62,7 @@ internal/activator/backend_rootfs.go Service.rootfsProcessesHook legacy accepted |
| internal/activator/cmd.go Service.RunCmd legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): admits one run against an awake entry under the agent's own lease, fence and swap checks; it starts nothing itself and root validates what it later names;rev3=census-ruling-edge-request-records;basis=passes nil for begin's new req parameter; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: a carlos run is refused with ErrCmdBusy while a release record of the host is open (a.releaseOps[rt.Host], in-memory), as a run already in flight refuses it; new site +registry:Host (that map lookup); adds a refusal only file:Prepare@1877,file:Prepare@1911,registry:Host@1047,registry:Host@1366,registry:Host@6883,registry:Kind@164,whole:Route@401,whole:Route@584,whole:Route@7483 ab8234fe719195d8cac0c167260de5360fb19524ba6c1b53f8e35ee3dd8928fb |
| internal/activator/rootfs_service.go Service.residentHeldLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a resident is not started proactively while fenced, already entered, latched as an unproven wake, holding stray sidecars, or disabled; reads only the activator's own state and the route's host;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: a resident is not started proactively while a release record of its host is open (a.releaseOps[rt.Host], in-memory); new site +registry:Host (that lookup); holds more, never less registry:Host@103,registry:Host@172,registry:Host@213,registry:Host@263,registry:Host@76,whole:Route@317 b2f472b842c3ead5c3b3aa7034c55340f3a97c7577b5dd3b990fe77502d2c7d9 |
| internal/activator/wakeplan.go Service.spawnPlanned legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the first-wake budget and the health bound are the route's (firstWakeBudgetFor, healthBoundFor read Runtime: the rootfs bound for a rootfs row, the binary constants otherwise);rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: for a rootfs row, B's release runs first (runRelease under the wake's lease watch and the plan's gate, planGate); a release that did not pass goes to spawnPlannedRelease; after a passed release B's health window starts from now, not from the wake's start [pf R3.4]; w.bootRan is also true when the release ran. New sites +whole:Route x3 (rt to runRelease, spawnPlannedRelease and the second firstWakeBudgetFor); no file read registry:Host@2528,whole:Route@1156,whole:Route@1245,whole:Route@1617,whole:Route@1636,whole:Route@193,whole:Route@2784,whole:Route@5131,whole:Route@5454,whole:Route@574,whole:Route@706,whole:Route@945 9a2eb89f160e37992f4f87f8a7a7156030ef906165df3edc614167c26ba8363b |
| -@coverage internal/activator ca14b51de82b71c5de3054f123f02c261f1c76077213dc7690c0bf62a6674b68 |
| +@coverage internal/activator 971d7501c6a5556f81db1bf67eade40c44e2198778c8e438526a79e4354ee223 |
| @coverage internal/rollout 277a2450af70ccca8a6959f25d6ee533419e9484dac649c080bfb7b20fb194b7 |
| @coverage internal/rolloutwords 120f05017f6bd75d7ebccdce4e671bf5650f635e1927a499ab76ea2a8861a353 |
| @coverage internal/status 025fcb50928b94d4a6a1744fa9de7c01caad5d1bb99467f7ea7e7f3baa2f1465 |