Skip to content

feat(appjail): watch updated jails stay up, as podman's containers are - #140

Merged
ahze merged 1 commit into
mainfrom
appjail-watch
Oct 18, 2026
Merged

ahze merged 1 commit into
mainfrom
appjail-watch

Conversation

@ahze

@ahze ahze commented Oct 18, 2026

Copy link
Copy Markdown
Member

An AppJail update ended when director said the jail was up, and an app that died on its new image still read as a clean update: appjail keeps a jail up after its app exits (persist, which its start needs), with nothing running inside, and appjail status says running. Each updated jail is now watched for 30 seconds, like podman's containers: it fails if it goes down, if it is started again (its jid changes), or if nothing runs inside it any more, and at the end if its app keeps crashing (s6 in its log, nothing on its port). Failures are [error] lines, which the page reads as a failed update -- and Roll back is there for it now.

An AppJail update ended when director said the jail was up, and an app
that died on its new image still read as a clean update: appjail keeps a
jail up after its app exits (persist, which its start needs), with nothing
running inside, and appjail status says running. Each updated jail is now
watched for 30 seconds, like podman's containers: it fails if it goes down,
if it is started again (its jid changes), or if nothing runs inside it any
more, and at the end if its app keeps crashing (s6 in its log, nothing on
its port). Failures are [error] lines, which the page reads as a failed
update -- and Roll back is there for it now.
@ahze
ahze merged commit 7a9ecab into main Oct 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant