You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explored codebase to investigate DEFAULT_SUPERVISOR_IMAGE usage
Found DEFAULT_SUPERVISOR_IMAGE at crates/openshell-core/src/config.rs:41 hardcodes :latest
Found Docker driver (crates/openshell-driver-docker/src/lib.rs:85-128) already implements proper version pinning via CARGO_PKG_VERSION and OPENSHELL_IMAGE_TAG env var
Confirmed Podman driver (crates/openshell-driver-podman/src/config.rs:258) and Kubernetes driver (crates/openshell-driver-kubernetes/src/config.rs:236, main.rs:117) fall back to the :latest default
Helm chart (deploy/helm/openshell/templates/_helpers.tpl:86) correctly uses appVersion — not affected
Verified openshell_core::VERSION (from CARGO_PKG_VERSION / OPENSHELL_GIT_VERSION) is available for pinning
DEFAULT_SUPERVISOR_IMAGE in crates/openshell-core/src/config.rs uses :latest. The Docker driver already solved this by resolving the tag from CARGO_PKG_VERSION at compile time, but the Podman and Kubernetes drivers still fall back to the core :latest default. This means the supervisor image tag is mutable and can silently drift from the gateway version when the registry is updated, creating an untested version combination.
Agent Diagnostic
DEFAULT_SUPERVISOR_IMAGEusageDEFAULT_SUPERVISOR_IMAGEatcrates/openshell-core/src/config.rs:41hardcodes:latestcrates/openshell-driver-docker/src/lib.rs:85-128) already implements proper version pinning viaCARGO_PKG_VERSIONandOPENSHELL_IMAGE_TAGenv varcrates/openshell-driver-podman/src/config.rs:258) and Kubernetes driver (crates/openshell-driver-kubernetes/src/config.rs:236,main.rs:117) fall back to the:latestdefaultdeploy/helm/openshell/templates/_helpers.tpl:86) correctly usesappVersion— not affectedopenshell_core::VERSION(fromCARGO_PKG_VERSION/OPENSHELL_GIT_VERSION) is available for pinningDescription
DEFAULT_SUPERVISOR_IMAGEincrates/openshell-core/src/config.rsuses:latest. The Docker driver already solved this by resolving the tag fromCARGO_PKG_VERSIONat compile time, but the Podman and Kubernetes drivers still fall back to the core:latestdefault. This means the supervisor image tag is mutable and can silently drift from the gateway version when the registry is updated, creating an untested version combination.Replaces #2067 (filed without template).
Reproduction Steps
supervisor_image:latesttag)Environment
supervisor_imageconfigAgent-First Checklist
debug-openshell-cluster,debug-inference,openshell-cli)