Skip to content

fix(images): probe supervisor readiness - #6020

Open
SDAChess wants to merge 1 commit into
fix/6016-resource-defaults/SDAChessfrom
fix/6017-supervisor-healthcheck/SDAChess
Open

SDAChess wants to merge 1 commit into
fix/6016-resource-defaults/SDAChessfrom
fix/6017-supervisor-healthcheck/SDAChess

Conversation

@SDAChess

@SDAChess SDAChess commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Declare a shell-free supervisor image HEALTHCHECK using the existing native readiness-socket probe. Docker and Podman keep their explicit probes; Kubernetes keeps its TCP probes.

Stack: #6014 → #6018 → this PR.

Related Issue

Closes #6017

Changes

  • Probe /run/openshell/health.sock every 30 seconds, with a 5-second timeout, 60-second start period and three retries.
  • Document overrides for direct shared-supervisor, network-proxy and custom-socket launches.

Release Notes

Direct launches inherit the dedicated-supervisor readiness check. Override it for other roles or socket paths.

Testing

  • Built the amd64 supervisor image through mise run build:docker:supervisor using the published binary (packaging-only change).
  • Inspected the exact exec-form image healthcheck and non-root user.
  • Native probe against an isolated socket harness: live listener succeeds; missing/stale sockets fail; the Podman alternate socket succeeds. Containers ran non-root with read-only root, no network and all capabilities dropped.
  • Trivy confirms supervisor DS-0026 is removed. Gateway and sandbox findings remain visible because they have no single safe image-default endpoint.
  • Documentation build and Markdown lint pass.
  • Full combined-stack Docker, Podman and Kubernetes E2E running on ci(trivy): scope false-positive exceptions #6021.

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Runtime guidance updated

@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 26, 2026
@github-actions

Copy link
Copy Markdown

@SDAChess SDAChess added area:build CI/CD workflows, releases, build targets, packaging, and artifact publication. topic:operability Installing/configuring deployments, upgrades, backup/restore, diagnostics, and maintenance. topic:reliability High availability, recovery, retries, graceful degradation, and correctness across restarts. topic:security Vulnerability management, security analysis/auditing, bypass detection, and abuse prevention. labels Nov 26, 2026
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
(cherry picked from commit 0a7d719165026e3b43c67c9ccbf50d70ea8defb2)
@SDAChess
SDAChess force-pushed the fix/6017-supervisor-healthcheck/SDAChess branch from 83e3385 to 9fa0d0d Compare November 26, 2026 17:33

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:build CI/CD workflows, releases, build targets, packaging, and artifact publication. state:accepted A maintainer decided OpenShell should pursue this issue topic:operability Installing/configuring deployments, upgrades, backup/restore, diagnostics, and maintenance. topic:reliability High availability, recovery, retries, graceful degradation, and correctness across restarts. topic:security Vulnerability management, security analysis/auditing, bypass detection, and abuse prevention.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant