feat(health): POST /v1/shells-health #25

Open
thelion wants to merge 0 commits from thelion/shells-health into main AGit
Owner

One-pass health of every shell (incus state, IPv4, routes, stale backends, main site check, exited containers) for managebot's overview.

One-pass health of every shell (incus state, IPv4, routes, stale backends, main site check, exited containers) for managebot's overview.
feat(health): POST /v1/shells-health for managebot's overview
Some checks failed
CI / test (push) Successful in 4m30s
CI / test (pull_request) Successful in 4m36s
CI / release (push) Successful in 3m4s
CI / release (pull_request) Failing after 0s
5912fc872f
One cheap pass over every shell: Incus state and IPv4 from a single
`incus list`, each Traefik route's backend (stale when it isn't the
current IPv4) with a 1s TCP check, all in parallel, plus the owner's
exited Podman containers (8 at a time, 3s each) for running shells with
containers on. Reuses the shell-details route reader. Signed like every
other call; the body is ignored.

On the host today (24 shells, 38 routes, 5 shells with podman): incus
list 0.2s, podman 0.26s, dials bounded at ~1.1s, so ~1.3s a pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Some checks failed
CI / test (push) Successful in 4m30s
CI / test (pull_request) Successful in 4m36s
CI / release (push) Successful in 3m4s
CI / release (pull_request) Failing after 0s
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/25/head:thelion/shells-health
git switch thelion/shells-health

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff thelion/shells-health
git switch thelion/shells-health
git rebase main
git switch main
git merge --ff-only thelion/shells-health
git switch thelion/shells-health
git rebase main
git switch main
git merge --no-ff thelion/shells-health
git switch main
git merge --squash thelion/shells-health
git switch main
git merge --ff-only thelion/shells-health
git switch main
git merge thelion/shells-health
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ircforever/shells-config!25
No description provided.