Repository navigation
Description
Description
Release-candidate smoke-test deploys can write .vig-os with a stable tag (X.Y.Z) instead of the dispatched RC tag (X.Y.Z-rcN), causing ci-container.yml to resolve a non-existent image tag and fail before lint/tests run.
Steps to Reproduce
- Trigger smoke-test dispatch with RC tag (example:
0.3.0-rc2). - Open generated deploy PR in
vig-os/devcontainer-smoke-test. - Observe
.vig-oscontainsDEVCONTAINER_VERSION=0.3.0(stable), not0.3.0-rc2. - Let
CI (Container)run on that PR. Resolve image tagfails atdocker manifest inspect ghcr.io/vig-os/devcontainer:0.3.0.
Expected Behavior
For RC dispatches, generated workspace metadata and CI image resolution should use the exact dispatched tag (X.Y.Z-rcN), and container CI should validate that same published RC tag.
Actual Behavior
Deploy PR metadata references the RC tag, but .vig-os is rendered with the stable base version, so container CI validates ghcr.io/vig-os/devcontainer:X.Y.Z and fails when only X.Y.Z-rcN exists.
Environment
- OS: GitHub Actions Ubuntu runner
- Container Runtime: Docker (Actions runner)
- Image Version/Tag: expected
0.3.0-rc2, resolved0.3.0 - Architecture: AMD64
Additional Context
-
Related smoke-test PR: chore: deploy 0.3.0-rc2 devkit-smoke-test#30
-
Related parent scope: [FEATURE] Smoke-test repository to validate shipped CI/CD workflows #169
-
Permanent fix ensures RC publish version is propagated to rendered workspace
.vig-osand downstream CI tag resolution. -
Add/adjust automated test coverage to prevent regression of RC tag propagation.
-
TDD compliance (see .cursor/rules/tdd.mdc)
Possible Solution
Propagate publish_version (not base version) into build-time/template replacement used for workspace assets during candidate releases, or otherwise ensure .vig-os receives the exact RC tag used for pushed manifests.
Activity
fix(ci): use publish version tag across release artifacts
fix(ci): preserve RC publish tag across release artifacts (#297)