Skip to content

Warn when a Minecraft image tag is unpinned - #392

Merged
athNdev merged 2 commits into
mainfrom
oss/238-image-pin
Nov 10, 2026
Merged

athNdev merged 2 commits into
mainfrom
oss/238-image-pin

Conversation

@athNdev

@athNdev athNdev commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • A Minecraft image that is still a moving tag warns image_unpinned and still boots. A name@sha256:<digest> reference records ImageDigest and ImagePinned and does not warn.
  • Confinement is unchanged: the warning does not broaden privileges, and the modpack work-temp path (TMPDIR, JAVA_TOOL_OPTIONS, and the data-volume tmpfs remedy) stays as it is on main.

Test plan

  • go test ./internal/docker/ -count=1 -timeout 180s -run TestPreflight|TestDescribe|TestImage|TestRuntime
  • go vet ./internal/docker/
  • go run ./cmd/knowledge-lint -root .
  • Rootless live matrix (explicitly out of scope for this slice)

OSS-238

athNdev and others added 2 commits November 10, 2026 15:21
Moving tags can change what the next recreate runs; record the digest in the profile and warn without blocking boot.

Co-authored-by: Cursor <[email protected]>
An unpinned tag only warns; it must not drop TMPDIR or JAVA_TOOL_OPTIONS coverage or replace the data-volume tmpfs remedy.

Co-authored-by: Cursor <[email protected]>
@athNdev
athNdev merged commit 32fbbce into main Nov 10, 2026
11 checks passed
@athNdev
athNdev deleted the oss/238-image-pin branch November 10, 2026 04:30
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