Repository navigation
chore(skills): pin image tags for all release types - #1345
Conversation
Alphas previously allowed unpinned `tag: latest` entries, creating inconsistency with RC/GA/patch releases. Now every release type requires all image tags to be pinned, ensuring reproducible deployments regardless of release maturity. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Mariusz Sabath <[email protected]>
The builder stage ran `uv pip install .` which installed the `app` package into site-packages via hatchling. When Docker layer caching reused a stale builder layer, the installed app package was outdated, causing ImportError for AGENT_SANDBOX_CRD_GROUP on startup. Fix: use `uv pip install -r pyproject.toml` to install only third-party dependencies. The runtime stage already provides fresh source via COPY. Also adds a smoke test to the build workflow that imports `app.main` before pushing, catching this class of error in CI. Closes #1339 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Mariusz Sabath <[email protected]>
pdettori
left a comment
There was a problem hiding this comment.
Two independent, well-motivated changes. The Dockerfile fix correctly separates dependency installation from app source to avoid stale Docker layer cache bugs — uv pip install -r pyproject.toml is valid uv syntax and the pre-push smoke test gates the push on a successful import check. The release skill update is straightforward: alphas now follow the same tag-pinning discipline as RC/GA, which avoids a reproducibility gap between release types. CI is fully green.
Areas reviewed: Skills/Markdown, CI/GitHub Actions, Dockerfile
Commits: 2 commits, both signed-off ✓
CI status: All passing (E2E HyperShift requires /run-e2e from maintainer — expected)
nit: The smoke-test build step (.github/workflows/build.yaml) has no cache-from/cache-to. The main build step likely uses GHA cache. Adding cache-from: type=gha / cache-to: type=gha,mode=min to the smoke step would avoid rebuilding all layers from scratch for the smoke run. Non-blocking.
Summary
tag: latestlatest"Test plan
/release statusto confirm the skill loads correctly🤖 Generated with Claude Code