Files
videoreg.ru/docs/rebuild-v2/reviews/limited-delivery-base-fix.md
huncode 8d3f59daee
Rebuild V2 candidate verification / candidate (push) Failing after 4m57s
Production container deploy / production (push) Successful in 6m51s
Record verified own-registry base remedy and refresh exact R3 delivery manifest
2026-10-26 20:07:53 +03:00

4.9 KiB
Raw Permalink Blame History

Independent review: immutable registry base fix

Decision: ALLOW the proposed narrow delivery-only change. Reviewed 2026-10-26. This authorizes the described implementation within the already approved limited-release pipeline; it does not assert that the changed pipeline has already built or deployed successfully.

Use ARG BASE_IMAGE=nginx:1.28-alpine followed by FROM ${BASE_IMAGE} in Dockerfile, with CI explicitly passing exactly git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e. Preserve --pull --platform linux/amd64 and all existing verification steps. No floating registry tag substitute is covered by this decision.

Inspected evidence and effect

I independently read git show 9b5b080e6019:Dockerfile: its five lines start from nginx:1.28-alpine, copy only default.conf and the static public tree, expose8080, and define the same ready healthcheck. It contains no application executable, custom entrypoint, ONBUILD, user, or volume directive. I also read that revision's complete nginx.conf and the current replacement. Current Dockerfile lines2–5 delete the entire inherited public tree, overwrite default.conf, install the generated legacy map, and copy the frozen reviewed export. Thus the old V1 pages and default50x cannot remain in the served tree. The lower image layers still contain old bytes, but they are not exposed by the nginx root and do not become part of the reviewed public export.

docs/rebuild-v2/evidence/known-registry-nginx-base.json, checked at17:05:18UTC, records successful actual zz inspection of this exact reference: linux/amd64; actual nginx -v reports nginx/1.28.3. pre-limited-production-readonly.json separately records the service using the same exact digest and apex health identifying source9b5b080e6019770438dc04af4eaf67d1f8035617. This is stronger evidence than a tag name alone. I read these captured results; I did not perform a new registry pull or production container operation.

The coordinator reports actual CI1333/job1532 passed frozen five-role restore and the full published technical gate, then failed obtaining DockerHub metadata with TLS handshake timeout; push/deploy were skipped. Switching the base fetch to the already authenticated existing registry addresses that specific network dependency. It needs no new credentials, mirror, daemon settings, or service changes. A pinned own image is reproducible at the selected runtime version; retrying the floating upstream tag can instead resolve a different upstream image.

Required unchanged delivery guarantees

The previous exact delivery-code review applies to the unchanged stages. In the currently inspected workflow, lines150–155 retain native amd64 build/assertion, real nginx configuration validation, and exact image-public-tree verification against all472 frozen files before push. Lines161–166 push and resolve the new resulting image digest for Swarm. The new final image must have its own resulting digest; the old base digest is only the FROM input, never the replacement service image.

deploy/release-artifact.py:33–42 checks the exact ten deployment files against both working hashes and the separately named deployment source revision. Therefore the Dockerfile/workflow change must be committed as a new delivery revision D, and the release manifest regenerated with those actual file hashes and D. Do not suppress this check or leave the prior f2494e8 deployment identity in place. The five immutable payload approvals remain valid because their app source, app manifest and export remain exactly:

  • Source C:78274fbe09c0fd7d0b8d94830db1f31fa76b1db9.
  • App manifest:fbd0d8316c235eda0819afc2f4f69a87dff29138208a3c13ed0016ade74f541d.
  • Export:4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01.

Retain the fresh complete technical crawl, the explicit119unresolved/full-history-blocked result, five exact report/hash guards, archive/tree guards, immutable resulting digest deployment, and isolation to the videoreg stack. A base change is not permission to relabel a rebuilt Next export as the reviewed frozen bytes.

Tradeoff and actual completion

This intentionally inherits the already released nginx1.28.3 runtime rather than obtaining a newer upstream patch through the failing network path. It also retains lower-layer V1 static bytes and increases image history size; those bytes were public already, and the mandatory root deletion plus exact tree check prevents their accidental publication. Normal runtime patch maintenance can later update the base with its own verification. No concrete new publication harm warrants blocking this bounded fix.

No production or application mutation was performed by this reviewer. The fix still needs its actual CI build/push result and selected-digest rollout/runtime/TLS evidence under .10. Full historical recovery .1/.4/.7/.8 remains mandatory and open; this decision accepts only the already scoped useful corpus.