Skip to content

V0.2.2/container version tag - #7

Merged
gimlichael merged 9 commits into
mainfrom
v0.2.2/container-version-tag
Nov 18, 2026
Merged

gimlichael merged 9 commits into
mainfrom
v0.2.2/container-version-tag

Conversation

@gimlichael

Copy link
Copy Markdown
Member

This pull request adds release-versioned Docker tag aliases for every SDK environment, so consumers can pin the image published for a specific csrun release. Existing convenience tags stay movable, and the publisher rejects conflicting overwrites of versioned aliases.

Image tagging:

  • Each convenience alias, such as 10 or 10.0.404, gets a matching alias with the verified csrun release appended, such as 10-v0.2.2.
  • The offline -WhatIf plan exposes convenience and versioned tags separately and shows placeholders when the release version is not yet known.

Registry publishing:

  • Versioned aliases are inspected before any write. An absent tag is published, an identical index digest is treated as an idempotent retry, and a different digest fails without overwriting.
  • Registry errors that are not an explicit missing-manifest response fail closed, and every published tag is checked against the saved OCI index digest.

Release promotion:

  • The deploy job restores and preflights all SDK variants before any publication, promotes every versioned alias, and only then moves convenience aliases.
  • A stale release is still rejected at each stage, and a failed run can be retried from the original release artifacts.

Regression coverage:

  • Tests cover the tag matrix for each SDK variant, release identity validation, registry conflict and retry behavior, and the promotion ordering.

Documentation:

  • The README documents both tag families, digest pinning, the planner output, and manual recovery for versioned aliases.
  • The changelog records the 0.2.2 additions, and the container validation notes describe the release-versioned alias contract.

Publishing now appends the verified csrun release to every SDK environment tag, such as 10.0.404-v0.2.2, so consumers can pin the image published for a given release. Convenience tags stay movable, and registry preflight rejects conflicting overwrites of versioned aliases.
Cover the planner tag matrix, release identity validation, registry conflict and retry behavior, and all-variant preflight ordering so the alias contract is verified without registry writes.
The deploy job now calls publish-all, which preflights every SDK variant, publishes release-versioned aliases first, and moves convenience aliases only after all versioned aliases verify.
Explain both tag families, digest pinning, the planner output, and manual recovery for the new release-versioned aliases, and record the local validation performed for this change.
Record the release-versioned Docker alias additions, publishing safeguards, and regression coverage in the 0.2.2 changelog entry.
@gimlichael gimlichael self-assigned this Nov 16, 2026
@greptile-apps

greptile-apps Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[High impact] This follow-up appears safe to merge; no outstanding findings remain.

Summary

This PR adds release-versioned Docker aliases while keeping convenience tags movable.

  • Each SDK image gets aliases that include the csrun release.
  • Release-versioned tags keep the saved image content they were published with.
  • Deployment publishes all release-versioned aliases before moving convenience tags.

The follow-up only corrects the changelog date. The previous concern about hidden registry errors is fixed. No new issues were found.

Reviews (3) · Last reviewed commit: "📝 update release date for v0.2.2 in cha..." · Reviewed by Greptile

Comment thread tools/oci.py Resolved
aicia-bot and others added 4 commits November 16, 2026 21:16
Calling the PowerShell test file from a parent script hid its Assert-Throws helper from the module session. The helper is now passed explicitly to the scriptblock, and a Python regression test runs the file through a parent script to match the CI invocation.
Captured Skopeo failures dropped stderr from the exception text, hiding auth and network causes from callers and CLI tracebacks. Unexpected errors now keep their diagnostics, while missing-manifest responses are still treated as absent tags.
Record the PR #7 publishing-contract failure, the scope fix that resolves it, and the local validation results. The hosted native matrix has not been rerun for this follow-up, and no registry writes were performed.
@gimlichael
gimlichael merged commit 5004b16 into main Nov 18, 2026
10 checks passed
@gimlichael
gimlichael deleted the v0.2.2/container-version-tag branch November 18, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants