docs(deckle-01): editor instances live and die with the control plane #499
No reviewers
Labels
No labels
bug
enhancement
in-progress
needs-info
needs-triage
p0
ready-for-agent
ready-for-human
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/nixos!499
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "afk/470"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #470
Changes
hosts/deckle-01/modules/deckle-hosted/default.nix):libpod-*.scope, while conmon stays in the system unit.Delegate = truecomment no longer claims the instance limits need it. It is now marked unverified forpodman build. The setting is unchanged.KillMode = "control-group"andTimeoutStopSec = "90s"are now set explicitly. Both match the defaults the unit already had (systemctl showon deckle-01:KillMode=control-group,TimeoutStopUSec=1min 30s), so nothing changes at runtime.shutdownTimeout(45 s) plus its 10 s HTTP drain is sized against this 90 s. Its README names this unit as running with exactly these values. Pinning them keeps the bound from depending on the system-wide default.Delegateis what makes the resource limits apply.--rmcleanup);systemd-run --user --scopewould add a second lifecycle authority.The optional follow-up (why podman 5.8.8 creates no
libpod-conmon-*.scope) is not addressed.Verification
deckle-01passes (scripts/test-configuration deckle-01).startup: reconciled leftover instance containersafter the 16:56 start. The 16:39 stop loggedshutdown: stopped editor instancesbeforeshutdown complete, with 0 instances open at the time.podman ps -a --filter label=deckle-hosted.role=instanceasdeckle. It needs a production restart, and the Diag account cannot run podman asdeckle, so it is left for a human.Note
The worktree's pre-commit hook did not fire. In a lab worktree the hooks path is the bare repo's
hooks/directory, so the relative symlink../../scripts/pre-commitpoints at a file that does not exist. The dry-build above was run by hand instead.🤖 Generated with Claude Code
[autoland] verdict: pass
Validated: CONCERNS (non-blocking).
labctl pr checks= none), and the author notes the pre-commit hook did not fire in the lab worktree. I re-ran the gate myself:scripts/test-configuration deckle-01on4a76a19apassed.Closes #470. The diff touches only the deckle-hosted module and ADR-0032, as the issue asks.KillMode=control-groupandTimeoutStopSec=90smatch the unit's existing defaults, so runtime is unchanged. They agree with deckle-hosted:shutdownTimeout = 45sininstances/manager.go, the 10 s HTTP drain, and the README naming this unit with exactly these values. The module comments are short and point to the ADR.CONCERN (non-blocking): the issue's own Verification step has not been run. That step is: restart the unit with an editor open, then check that
podman ps -a --filter label=deckle-hosted.role=instanceasdecklereturns nothing. Merging auto-closes #470 while this check is still open, so a human should run it on deckle-01.