Skip to content

docs: plan #29 Show the description on the GHCR page - #103

Merged
dan-petty merged 4 commits into
mainfrom
fix/29-show-the-package-description-on-the
Nov 27, 2026
Merged

dan-petty merged 4 commits into
mainfrom
fix/29-show-the-package-description-on-the

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

The GHCR package page shows no description although the manifest list carries org.opencontainers.image.description. The attestation step pushes a second, newer package version under the referrers tag of the manifest list, and that index carries no annotation. The plan records where GHCR reads the description of a multi-arch package that has an in-registry attestation, copies the referrers index with the annotation values of the manifest list, and checks the package page after the next publish on main. The manifest list, its digest, its tags and its attestation stay unchanged.

Plans #29

Change: openspec/changes/29-show-the-package-description-on-the/

@dan-petty

Copy link
Copy Markdown
Owner

Plan vetted and revised (1f00262).

  • Premise proven. The public package page shows sha256-2a2454c2… as Latest (its install command is docker pull ghcr.io/dan-petty/devtools:sha256-2a2454c2…) and no description. That tag is the referrers index of the manifest list sha256:2a2454c2…, which the page lists second with latest, 1.3.1, 1.3, 1. So the page shows the newest version, and actions/attest makes the referrers index the newest version. The research group of the plan is folded into this evidence.
  • The annotate step moves after Tag the attested manifest list X.Y, X and latest. Before, a failure of the new step would leave the release attested but latest not moved.
  • The step compares the whole manifests array (digest, mediaType, size, artifactType, annotations), not only the digests. imagetools create rebuilds the index from the descriptors, and a dropped artifactType would hide the attestation from a client that filters on it.
  • The registry check uses gh attestation verify … --bundle-from-oci. Without the flag, the command reads the GitHub API and passes even if the referrers index broke.
  • Verifications: uv run devops ci docs and devops ci --check are not checks of this repository. Group 1 now names actionlint and zizmor --offline as its manual check (the plan reader accepts no other programs in a Verification: line), and the Image workflow runs both on the pull request.

Other checks of this PR:

@dan-petty

Copy link
Copy Markdown
Owner

Independent review applied (81f9c40). No blocker. The buildx copy keeps every descriptor field (buildx v0.39.1 util/imagetools/create.go:150-191; a --dry-run on the live sha256-2a2454c2… tag printed an identical manifests array, artifactType included), and --bundle-from-oci is a real flag of gh attestation verify. Changes: the step now dry-runs the copy and pushes only when the manifests array and the description match, so a mismatch never leaves a broken referrers index on the tag; the proposal no longer cites the no-annotation digest rule; Feasibility adds the same pattern on other packages (prek, docker-otel-lgtm, martin; zizmor as a control); the person check reopens #29 if the page still shows no description; stage trace text is removed. The failing Build, test and scan is the expired osv-scanner ignores: #105 fixes it.

@dan-petty
dan-petty enabled auto-merge (squash) November 27, 2026 04:20
dan-petty added a commit that referenced this pull request Nov 27, 2026
Renew the 8 dated osv-scanner ignores of `python/osv-scanner.toml` until
2026-11-30 under the rule "A Finding with No Fix" (3 days).

The ignores expired on 2026-11-27 00:00 UTC. Since then the job "Build,
test and scan" fails on every pull request (first seen on #103 at 01:41
UTC), and the next push to `main` fails the same way.

- semgrep 1.187.0 is the newest release on PyPI (read on 2026-11-27),
and it still requires mcp==1.29.0, opentelemetry-api~=1.37.0 and
wcmatch~=8.3. No released semgrep allows the fixed versions.
- The 14-day limit ends on 2026-12-03 (mcp, opentelemetry-api) and
2026-12-04 (wcmatch).
- `osv-scanner scan source` with the 4 lock files of the job passes
locally: 8 vulnerabilities filtered, no issues found.

Closes #104

Change:
`openspec/changes/archive/2026-11-27-104-renew-osv-scanner-ignores-until/`
@dan-petty
dan-petty force-pushed the fix/29-show-the-package-description-on-the branch from 81f9c40 to cbdac1f Compare November 27, 2026 04:35
@dan-petty
dan-petty merged commit 65034a4 into main Nov 27, 2026
10 checks passed
@dan-petty
dan-petty deleted the fix/29-show-the-package-description-on-the branch November 27, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant