| index 0e93339e3..8deeafd30 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-gvisor-empty-execstart.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-gvisor-empty-execstart.tsv |
| @@ -2,4 +2,4 @@ |
| # 1 body, 0 sites, 1 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| @legacy 84cd5fce6e3086c742e0a11047129b1a0d671f4b58b62c58a5290ec3b56bf7f3 internal/activator/prepare.go ExecBackend.prepareKeyedAt 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 zddr4, with no further change from this branch beyond carrying main's new early return into the six-value signature. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): body of the frozen prepareAt, which is now its wrapper; it also returns the instance key's layer and reads no env for the cmd role; same reads, same nested launch paths;rev3=census-ruling-wake-latency-2;basis=takes an optional timer and marks its steps with time.Now() (dirs, admin token, instance key, env, control socket, key gate, logs); no read added or moved;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, run and seed roles only, under a 30 s context (haSecretsBudget): the token producer is ensureAdminTokenFor(hctx, rt, p) (on this nested path the same beneath producer, EnsureAdminTokenBeneath's, plus the HA mint decision inside it); ensureInstanceKeyFor now gets hctx instead of context.Background(), so the key's bucket read is bounded by 30 s as well as configReadTimeout; the env is launchEnvLayer(hctx, rt) (instanceEnvLayer for a non-HA host; for an HA host one capture, published and acknowledged); a test seam (haLaunchHooks.afterGate, nil in production) is called before the producers. The separate haMintGate and haSecretsReady calls are gone (final fix F2). Sites against main: -registry:Host (the rt.Host+".env" argument EnsureAdminTokenBeneath took) and +whole:Route (rt to launchEnvLayer); the cmd role and a non-HA host are unchanged;rev3=census-ruling-rootfs-fleet-followups;basis=names the process for the role log listener: release.ProcessWeb when rt.Rootfs() and the role is run, else none, passed to logEmitter; reads rt.Runtime through Rootfs(); no file, path or env read added or moved;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 8: the cmd role three exceptions (no env read, the replica gate left to StartCmd, no app-log listener) now cover every one-shot role, instancectl.OneShot(role): cmd and tty; before, the tty role fell to the sidecar env-file read and an app-log listener on its handoff socket path; no read added, one removed for tty;rev3=census-ruling-region-ha-p1b3b-s;basis=Native sidecar run units use the existing nested secrets preparation and acknowledged sealed publication, but bind no app control listener. Existing run and seed reads unchanged.;rev3=census-ruling-gvisor-empty-execstart;basis=on a gVisor box (b.SandboxEffective == execsandbox.EffectiveGVisor, set by Configure at agent startup) the run role's log listener is listenLogsEach, which tees every connection of the invocation (bounded at 8) instead of only the first: the gVisor run unit's ExecStartPre=-runsc delete connects to the same StandardOutput=file: socket before ExecStart, so the one-connection listener refused the main runsc run's connection and the guest died of SIGPIPE on its first log write. Same socket path, same agent-owned listener, same emitter; no file, path or env read added or moved; the systemd family keeps listenLogs file:ReadDir@2965,registry:Host@1783,registry:Host@1995,registry:Host@612,registry:Host@6210,registry:Host@6408,whole:Route@1674,whole:Route@1885,whole:Route@2116,whole:Route@320,whole:Route@4697,whole:Route@5246,whole:Route@6244 3e03d8a191021a908b5bbbd8c65ab4d673ccd487239f9fe1700c974783a5e188 |
| internal/activator/prepare.go ExecBackend.prepareKeyedAt 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 zddr4, with no further change from this branch beyond carrying main's new early return into the six-value signature. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): body of the frozen prepareAt, which is now its wrapper; it also returns the instance key's layer and reads no env for the cmd role; same reads, same nested launch paths;rev3=census-ruling-wake-latency-2;basis=takes an optional timer and marks its steps with time.Now() (dirs, admin token, instance key, env, control socket, key gate, logs); no read added or moved;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, run and seed roles only, under a 30 s context (haSecretsBudget): the token producer is ensureAdminTokenFor(hctx, rt, p) (on this nested path the same beneath producer, EnsureAdminTokenBeneath's, plus the HA mint decision inside it); ensureInstanceKeyFor now gets hctx instead of context.Background(), so the key's bucket read is bounded by 30 s as well as configReadTimeout; the env is launchEnvLayer(hctx, rt) (instanceEnvLayer for a non-HA host; for an HA host one capture, published and acknowledged); a test seam (haLaunchHooks.afterGate, nil in production) is called before the producers. The separate haMintGate and haSecretsReady calls are gone (final fix F2). Sites against main: -registry:Host (the rt.Host+".env" argument EnsureAdminTokenBeneath took) and +whole:Route (rt to launchEnvLayer); the cmd role and a non-HA host are unchanged;rev3=census-ruling-rootfs-fleet-followups;basis=names the process for the role log listener: release.ProcessWeb when rt.Rootfs() and the role is run, else none, passed to logEmitter; reads rt.Runtime through Rootfs(); no file, path or env read added or moved;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 8: the cmd role three exceptions (no env read, the replica gate left to StartCmd, no app-log listener) now cover every one-shot role, instancectl.OneShot(role): cmd and tty; before, the tty role fell to the sidecar env-file read and an app-log listener on its handoff socket path; no read added, one removed for tty;rev3=census-ruling-region-ha-p1b3b-s;basis=Native sidecar run units use the existing nested secrets preparation and acknowledged sealed publication, but bind no app control listener. Existing run and seed reads unchanged.;rev3=census-ruling-gvisor-empty-execstart;basis=on a gVisor box (b.SandboxEffective == execsandbox.EffectiveGVisor, set by Configure at agent startup) the run role's log listener is listenLogsEach, which tees every connection of the invocation (bounded at 8) instead of only the first: the gVisor run unit's ExecStartPre=-runsc delete connects to the same StandardOutput=file: socket before ExecStart, so the one-connection listener refused the main runsc run's connection and the guest died of SIGPIPE on its first log write. Same socket path, same agent-owned listener, same emitter; no file, path or env read added or moved; the systemd family keeps listenLogs file:ReadDir@2965,registry:Host@1783,registry:Host@1995,registry:Host@612,registry:Host@6210,registry:Host@6408,whole:Route@1674,whole:Route@1885,whole:Route@2116,whole:Route@320,whole:Route@4697,whole:Route@5246,whole:Route@6244 3e03d8a191021a908b5bbbd8c65ab4d673ccd487239f9fe1700c974783a5e188 |
| -@coverage internal/activator 094db9a04dc50fc01ba192856eb18b28a326efa7bb82b8c4f537336840278479 |
| +@coverage internal/activator 42c9b9c52ad6a36fc806a2a2ff35925cf404668c9c4d33d8f6145b4452e14f00 |