Skip to content

fix(oci): keep the tag of a tag@digest Feature reference - #60

Merged
aledbf merged 1 commit into
mainfrom
reference-v0.90.0
Nov 12, 2026
Merged

aledbf merged 1 commit into
mainfrom
reference-v0.90.0

Conversation

@aledbf

@aledbf aledbf commented Nov 12, 2026

Copy link
Copy Markdown
Member

Bumps the pinned reference CLI to v0.90.0 and ports its one source change.

v0.90.0 changes

Tests

  • internal/oci/testdata/ts-oracle/ref.json gains upstream's two new test inputs (tag+digest, registry port+tag+digest), regenerated from v0.90.0 with task testdata:ts-oracle. The existing ghcr.io/x/y/z:1@sha256:… case changes to the split result. TestTSOracleRef fails on main for all three and passes here.
  • The other 11 ts-oracle goldens are byte-identical under v0.90.0.
  • The existing recorded divergence stays: TS logs a digest that fails the pattern and keeps the reference, while ParseRef refuses it, because AGENTS.md forbids weakening validation.

Docs/CI

  • The version is updated in README.md, docs/DIVERGENCES.md (#1213 and #881 are still unfixed upstream in v0.90.0) and the parity artifact names in go-cli.yml.

Validation (local)

  • task testdata:ts-oracle:check: pass.
  • task lint: pass (0 issues, mutate -stale-exempts OK).
  • task test:race with TMPDIR outside /tmp: pass.
  • task parity:contract: 104 pass. The 2 read-configuration.features-configuration-local-feature-* cases fail locally because of a /tmp/.git on the dev machine (same on main); CI is the check.

🤖 Generated with Claude Code

Bump the pinned reference CLI to v0.90.0 and port its one source
change (devcontainers/cli#1311): getRef now splits a tag off the
resource of a `name:tag@sha256:…` reference, so `resource` no longer
ends in `:tag` and `tag` is reported next to `digest`. The digest still
selects the version.

The ts-oracle getRef goldens gain the two upstream test inputs (a tag
with a digest, and a registry port with both), regenerated from v0.90.0
with `task testdata:ts-oracle`; the existing `z:1@sha256:…` case now
expects the split. The other goldens are unchanged under v0.90.0.

v0.90.0's other fix is to its npm install script, which this CLI does
not ship. The recorded divergence on a digest that fails the pattern
(TS logs it and keeps the reference, ParseRef refuses it) stays.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aledbf
aledbf merged commit 5961d7a into main Nov 12, 2026
13 checks passed
@aledbf
aledbf deleted the reference-v0.90.0 branch November 12, 2026 22:53
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.

1 participant