Skip to content

fix(02.02.00): verify registry platform children without image-store collisions - #16

Merged
paulkakell merged 2 commits into
mainfrom
fix/02.02.00-registry-platform-digests
Sep 28, 2026
Merged

paulkakell merged 2 commits into
mainfrom
fix/02.02.00-registry-platform-digests

Conversation

@paulkakell

@paulkakell paulkakell commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Registry verification fix for 02.02.00

The first publication 36365488372 successfully pushed the multi-platform candidate and passed AMD64 registry smoke tests, but the runner's classic Docker store refused ARM64 under the same index reference (cannot overwrite digest). Publication stopped before the version/latest image tags or GitHub release were promoted.

Resolve and validate exactly one immutable child per supported architecture, then run the existing full Compose checks against those distinct children. Preserve the tested parent index digest for publication and release metadata. Resolve that parent identity directly from structured registry inspection, never local RepoDigests ordering; pull by the resolved digest for race-safe version/revision label verification. Missing manifests permit creation, while authorization, network, malformed identity and conflicting revisions fail closed. No daemon configuration change, image deletion, credential change or weakened gate.

Validation: all PR checks passed

Head: 2a50cd1. Exact locally tested tree: 8d939a7f0157cb0a0e3f86ee53a363ff4b03cf0d. Base: 600af60.

  • Security and quality: SUCCESS, including Python 3.10/3.13, browser checks, live dependency audits and clean builds.
  • Docker deployment: SUCCESS on AMD64 and ARM64, including authenticated health/API, isolation, source and pull-only Compose, recreation persistence, and stopped-volume backup/restore.
  • CodeQL: SUCCESS.
  • Validation bundle: SUCCESS.
  • Local full suite: 213 Python tests, seven JavaScript tests, 91.25% server coverage. Ruff, mypy, compilation/release validation, Bandit, secret scan, dependency consistency and performance budgets passed.
  • Eleven added publisher regressions cover child selection, ignored attestations, ambiguous/malformed children, full publish command sequencing, registry identity independent of local alias order, and rejection before pull when registry metadata is invalid.

The first registry failure and correction are recorded in CHANGELOG. The main merge commit must pass the same exact-commit gates and actual registry round-trip before release publication; a successful PR alone is not presented as a published image.

Version, compatibility and rollback

The requested additive feature release remains 02.02.00, not yet published at this update. Existing released tags remain immutable. Application code, runtime dependency pins, APIs, configuration, authentication and private schema-2 data remain unchanged. No database migration or live server change. Reverting this fix restores the former publishing logic without touching operator data. Installation, token handling, HTTPS, upgrade, backup and rollback guidance remains in docs/GHCR_INSTALLATION.md and docs/releases/02.02.00.md.

First GHCR package visibility and anonymous pull are checked separately from authenticated publication. Runtime dependency auditing and SBOM generation do not constitute a full OS-image vulnerability scan.

Related: #14 and #13.

Commit notes

fix(02.02.00): verify immutable registry platform and index digests

Test AMD64 and ARM64 through distinct child digests.
Avoid classic Docker image-store collisions and local alias ambiguity.
Verify image labels against an immutable registry reference.
Keep tested parent-index identity and all publication gates.
Add eleven publisher regressions and document the failure and fix.
No application, dependency, schema or operator-data changes.

The first GHCR round-trip pushed the candidate and passed AMD64 smoke tests, but Docker's classic image store refused a second architecture under the same index digest. Resolve and validate exactly one immutable child per platform from the published index, then pull and smoke those distinct children. Retain the tested index digest for version promotion and release metadata. Reject ambiguous or malformed children. No daemon setting change, image deletion, credential change or weakened gate.

Add six regressions including the full publisher pull/smoke command sequence, and record the observed failure and fix in CHANGELOG. Full local suite: 208 tests, 91.25% server coverage; Ruff, publisher mypy, compilation, release validation, Bandit, secret scan and performance passed. Git tree matches 4bb3ba5.

Candidate remains 02.02.00: no v02.02.00 release or version/latest image tag was promoted by failed run 36365488372. Existing published releases remain unchanged. Related #14; base 600af60. Application, dependencies, APIs, data schema and rollback plan are unchanged.
Resolve the parent index digest from structured registry inspection, not the ordering of Docker's local RepoDigests after platform-child pulls. Verify release labels using the resolved immutable reference so a mutable tag cannot race identity validation. Keep distinct child digests for architecture smoke tests and the parent digest for version promotion and release assets.

Add five regressions for missing/reordered local digest aliases and malformed registry identity; update existing revision-verification fixtures. Full local suite: 213 tests passed, 91.25% server coverage; Ruff, mypy, compilation/release validation, Bandit, secret scanning, dependency consistency and both performance budgets passed. Full tested Git tree: 8d939a7.

Related #16 and #14. Candidate remains 02.02.00, still unreleased; no existing release or image version is overwritten. No application, dependency, schema, configuration or operator-data change. Normal CI and exact-main release gates remain required.
@paulkakell
paulkakell merged commit acf2a94 into main Sep 28, 2026
9 of 10 checks passed
@paulkakell
paulkakell deleted the fix/02.02.00-registry-platform-digests branch September 28, 2026 01:38
paulkakell added a commit that referenced this pull request Sep 28, 2026
Publish env.docker.example as a stable non-hidden release asset, while preserving .env.docker.example inside source and installation archives. Correct Linux/macOS/PowerShell download and checksum instructions. Download all published assets and verify names, sizes and SHA-256 hashes against prepared inputs before promoting latest. Advance all active version markers and add changelog, release notes and rollback guidance without changing published 02.02.00 artifacts.

Local full validation: 224 Python tests passed, seven JavaScript tests, 91.25% server coverage; Ruff, mypy, compilation, Bandit, secret scanning, dependency consistency, release validation and performance budgets passed. Eleven new regressions cover filename normalization, archive preservation, documentation links and renamed/missing/extra/modified/non-file downloads. Actual browser, dependency-network, Docker and release-download round trips require normal GitHub CI.

No runtime dependency, API, authentication, configuration-default or schema-2 data change; no migration or operator-data modification. Rollback preserves the same volume and uses the prior published 02.02.00 image. Exact verified source tree acd75b1; base acf2a94. Related #14 and #16. Temporary source-transfer files removed; object creation completed through the authorized connector without altering permissions or protections.
paulkakell added a commit that referenced this pull request Sep 28, 2026
Use stable public environment-template filenames and verify actual downloaded assets before latest image promotion. Preserve source archive filenames and published 02.02.00 artifacts.

Reviewed exact source tree acd75b1. Security and quality 36368093410, CodeQL 36368093403, validation bundle 36368093386 and Docker deployment 36368093412 passed for head 4f6b3fc. The initial AMD64 Caddy pull failed with a Docker Hub connection reset; the failed job was retried successfully without changing test gates. No runtime dependency or schema change. Related #14 and #16.
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