Skip to content

chore(skills): pin image tags for all release types - #1345

Merged
pdettori merged 2 commits into
rossoctl:mainfrom
mrsabath:release-skill
Apr 27, 2026
Merged

pdettori merged 2 commits into
rossoctl:mainfrom
mrsabath:release-skill

Conversation

@mrsabath

Copy link
Copy Markdown
Member

Summary

  • Require image tag pinning for all release types, including alphas — previously alphas allowed unpinned tag: latest
  • Add full pinning checklist to Phase 2.1 (Alpha), matching what RC/GA already require
  • Update quick reference table so every release type shows "Yes — no latest"

Test plan

  • Review the updated skill file for consistency across all four release types
  • Run /release status to confirm the skill loads correctly

🤖 Generated with Claude Code

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 pdettori left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@pdettori
pdettori merged commit ef2c66f into rossoctl:main Apr 27, 2026
24 checks passed
This was referenced Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants