Skip to content

Conversation

@jmgilman
Copy link
Collaborator

@jmgilman jmgilman commented Jan 4, 2026

Summary

  • Remove support for passing container runtime flags via OCI image labels
  • Delete the internal/registry package entirely
  • Runtime flags now come exclusively from the config file (runtime.flags)

Changes

File Changes
internal/flags/flags.go Removed FromLabel() function
internal/instance/manager.go Removed imageRuntimeConfig, registryClient, getImageRuntimeConfig(), registry field from Manager
internal/cmd/root.go Removed registry client creation
images/systemd/Dockerfile Removed Headjack labels section
docs/docs/reference/images/overview.md Removed reference to labels.md
internal/registry/* Deleted entire package

Test plan

  • just check passes (format, lint, test)
  • All existing tests updated and passing

🤖 Generated with Claude Code

Current behavior:
Container runtime flags could be configured via OCI image labels
(io.headjack.init, io.headjack.podman.flags, io.headjack.docker.flags).
The instance manager fetched image metadata from the registry and merged
label-based flags with config file flags.

New behavior:
Runtime flags are now exclusively configured via the config file
(runtime.flags in config.yaml). The registry package and all label
parsing code have been removed. This simplifies the codebase and
removes the dependency on registry metadata fetching.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 4, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
headjack e6304df Commit Preview URL

Branch Preview URL
Jan 04 2026, 11:07 PM

Current behavior:
Sidebar referenced the deleted labels.md file, causing Docusaurus build
to fail on Cloudflare.

New behavior:
Sidebar only references the overview page for container images.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jmgilman jmgilman merged commit 20c4e36 into master Jan 4, 2026
12 checks passed
@jmgilman jmgilman deleted the refactor/remove-image-label-flags branch January 4, 2026 23:12
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.

2 participants