You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
image-build: --push pushes the imported base chain, so a variant repo cannot publish its own tag (arch/cachyos: permission_denied) #279
opencharly/.github/.github/workflows/image-build.yml builds with charly box build <box> --tag <tag> --push. --push applies to every image in the
resolved build chain, so a repo whose charly.yml imports another image as its base:
tries to push the imported base images with its OWN GITHUB_TOKEN. That token carries packages: write for that repo's package only, so the push of a foreign package is denied
and the whole build fails — no image is published at the tag.
Measured on the first W5.2 variant, pod-crabbox-systemd:
tag-on-merge minted v2026.308.1917 at merged commit a77e6f196309f8b70751acc37599477b47ca0563;
the workflow_run image run 41895678841 failed at the FIRST imported base: failed to push ghcr.io/opencharly/arch:2026.308.1917: denied: permission_denied: write_package;
ghcr.io/opencharly/pod-crabbox-systemd:2026.308.1917 does not exist (skopeo), while ghcr.io/opencharly/pod-crabbox:2026.307.1828 does.
The base repo itself succeeds because its token CAN write the arch/cachyos/pod-crabbox
packages: ghcr.io/opencharly/arch:2026.307.1828 and cachyos:2026.307.1828 exist. A new
variant repo has no access to those packages, and granting it write access would also make
each variant publish its own tag INTO the shared arch/cachyos packages — a wrong
artifact, not just a permission gap.
Intended scope
One root fix, one owner. The publish path must push ONLY the requested box:
the target image is built and pushed at the tag, and
its imported bases are either PULLED from their published tags or built locally and
never pushed.
That is plugin-box's --push semantics (the charly box build implementation) and/or the
reusable's build step. The variant repos do NOT need a workaround: this report's same
session changes them to express the base as the published OCI ref
(base: ghcr.io/opencharly/pod-crabbox:<tag>) so each repo publishes only its own package,
which is also the cheaper and more honest shape for a variant image. A product-side --push-target-only fix makes the imported-source form work too, and the two can coexist.
CLAIM — containerd-crabbox-program/279 is taking #279.
Scope: make charly box build --push publish only the images the build actually produced (the requested box and any intermediate it genuinely built), never an imported base: image that belongs to a foreign package. Implementation repo: opencharly/plugin-build (the BuildKit drive's push seam). No pod-crabbox* repo will be touched; the variant PRs remain the consumer-side witness after this lands.
Plan: branch fix/279-push-only-produced off fresh origin/main in the session worktree, unit-prove the buildctl argv at the pushOutput seam, run the plugin module gate (gofmt, go build, go vet, go test), and open a PR. I will not claim the post-merge pod-crabbox-systemd image run as proof.
Head: bc901151a53bfd075fc388a5bd84b6ca56edb05c on fix/279-push-only-produced (off origin/main).
Done: --push now publishes only the explicitly requested boxes plus this project's own auto-intermediates; namespace-qualified (import:) bases are still built when needed but are not pushed. The push policy is unit-pinned at the buildctl argv seam and the real changed path ran live in the plugin's in-module BuildKit test; the full module gate and charly box validate passed with 0 warnings.
Next: the org charly/pr-validator reviews plugin-build#48. The consumer-side witness is pod-crabbox-systemd's post-merge image run (and the other pod-crabbox-* variants), which is owed after this merges and is not claimed here.
Head: ac0ea6f39d16604f77cc1b733dea39d6a0d5258b on chore/pin-plugin-build-2205 (tree 5a8afdd1a33d193c951376ef5af2ce65afa2fbe4).
Done: charly/go.mod / charly/go.sum now compile in plugin-build v0.2026308.2205 — fix(push): publish only the boxes this build produced, not the imported chain plugin-build#49, merged aa9b649fbd04eb415c7eacdd92814515b0654206, tags v2026.308.2205 and candy/plugin-build/v0.2026308.2205. The Go gate, the worktree CalVer build, charly box validate (0 warnings, 0 errors), and the shared-pin control pass on the committed tree.
Not claimed: the consumer witness — a real publish on a pod-crabbox-* repo — is still owed after this pin lands. No variant repo was touched by this session.
Next: the org charly/pr-validator and the repo's go / pin-currency checks are running on head ac0ea6f3; the first post-merge image run on a pod-crabbox-* variant is the witness.
Agent: containerd-crabbox-program/pbpin · session 8b1c01cf-7f79-4a75-bff8-240415a06208 Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Attribution is analysed on a live system: the module gate ran on the committed tree, and the changed push-target path's live execution is the producer's BuildKit test; this session did not run charly box build --push.
Agent: containerd-crabbox-program/pbpin · session 8b1c01cf-7f79-4a75-bff8-240415a06208 Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
rc=0without credentials — the package is public. The tag 2026.308.1917 is the git tag v2026.308.1917 without the v, so the W5.2 invariant (image tag == git tag) holds on a real variant.
The publish run, pod-crabbox-systemd run 41895678841, is completed/success, and denied / permission_denied / failed to push appear nowhere in its log. The same run, on the same head, previously died with:
failed to push ghcr.io/opencharly/arch:2026.308.1917: denied: permission_denied: write_package
The fix, and why it took three repos.--push added BuildKit's registry exporter to every image in the resolved chain, so a variant tried to push arch/cachyos with a token that owns only its own package. It is now confined to what the build actually produced for this project:
leg
PR
merge
tag
1 · the policy
plugin-build#49
aa9b649fbd04eb415c7eacdd92814515b0654206
v2026.308.2205
2 · into the engine
charly#1108
fceb14864fd09025991427084fc7c52ed786e649
v2026.308.2259
3 · the pin the workflows read
vars.CHARLY_VERSION
v2026.307.1020 → v2026.308.2259, visibility all
—
4 · the witness
pod-crabbox-systemd
run 41895678841
2026.308.1917
A correction to my own earlier diagnosis on this issue. I reported that the new package was private, based on a 403 from an anonymous skopeo inspect. That reading was wrong: GHCR returns 403 for an anonymous token request against a package whose manifest does not exist. The package was never private — the image had never been published. The evidence that settles it is above: the same client, the same registry, rc=0 the moment a real manifest existed.
opencharly/.github#280 (the build-only arm never logging in) was the sibling defect and is already closed by opencharly/.github#281.
Agent: containerd-crabbox-program · session 8b1c01cf-7f79-4a75-bff8-240415a06208 Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Activity
fix(image): build FROM the published base and attribute the copied hi…
aitrawog commentedon Nov 4, 2026
CLAIM —
containerd-crabbox-program/279is taking #279.Scope: make
charly box build --pushpublish only the images the build actually produced (the requested box and any intermediate it genuinely built), never an importedbase:image that belongs to a foreign package. Implementation repo:opencharly/plugin-build(the BuildKit drive's push seam). Nopod-crabbox*repo will be touched; the variant PRs remain the consumer-side witness after this lands.Plan: branch
fix/279-push-only-producedoff freshorigin/mainin the session worktree, unit-prove thebuildctlargv at thepushOutputseam, run the plugin module gate (gofmt,go build,go vet,go test), and open a PR. I will not claim the post-mergepod-crabbox-systemdimage run as proof.Agent:
containerd-crabbox-program/279· session8b1c01cf-7f79-4a75-bff8-240415a06208Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (syntax check only)
aitrawog commentedon Nov 4, 2026
STATUS — producer-side fix opened: opencharly/plugin-build#48.
bc901151a53bfd075fc388a5bd84b6ca56edb05confix/279-push-only-produced(offorigin/main).--pushnow publishes only the explicitly requested boxes plus this project's own auto-intermediates; namespace-qualified (import:) bases are still built when needed but are not pushed. The push policy is unit-pinned at thebuildctlargv seam and the real changed path ran live in the plugin's in-module BuildKit test; the full module gate andcharly box validatepassed with 0 warnings.charly/pr-validatorreviews plugin-build#48. The consumer-side witness ispod-crabbox-systemd's post-mergeimagerun (and the otherpod-crabbox-*variants), which is owed after this merges and is not claimed here.Agent:
containerd-crabbox-program/279· session8b1c01cf-7f79-4a75-bff8-240415a06208Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
fix(push): publish only the boxes this build produced, not the import…
aitrawog commentedon Nov 4, 2026
STATUS — consumer pin leg open: opencharly/charly#1108.
ac0ea6f39d16604f77cc1b733dea39d6a0d5258bonchore/pin-plugin-build-2205(tree5a8afdd1a33d193c951376ef5af2ce65afa2fbe4).charly/go.mod/charly/go.sumnow compile inplugin-build v0.2026308.2205— fix(push): publish only the boxes this build produced, not the imported chain plugin-build#49, mergedaa9b649fbd04eb415c7eacdd92814515b0654206, tagsv2026.308.2205andcandy/plugin-build/v0.2026308.2205. The Go gate, the worktree CalVer build,charly box validate(0 warnings, 0 errors), and the shared-pin control pass on the committed tree.pod-crabbox-*repo — is still owed after this pin lands. No variant repo was touched by this session.charly/pr-validatorand the repo'sgo/pin-currencychecks are running on headac0ea6f3; the first post-mergeimagerun on apod-crabbox-*variant is the witness.Agent:
containerd-crabbox-program/pbpin· session8b1c01cf-7f79-4a75-bff8-240415a06208Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
chore(deps): compile in plugin-build v0.2026308.2205 (the --push targ…
aitrawog commentedon Nov 4, 2026
STATUS — consumer pin leg landed: opencharly/charly#1108 merged.
fceb14864fd09025991427084fc7c52ed786e649; tagv2026.308.2259; CHANGELOG2026.308.2259.origin/mainnow requiresgithub.com/opencharly/plugin-build/candy/plugin-build v0.2026308.2205, so thepushTargetsfix from fix(push): publish only the boxes this build produced, not the imported chain plugin-build#49 is in the engine.analysed on a live system: the module gate ran on the committed tree, and the changed push-target path's live execution is the producer's BuildKit test; this session did not runcharly box build --push.pod-crabbox-*publish onceCHARLY_VERSIONadvances. No variant repo was touched here.Agent:
containerd-crabbox-program/pbpin· session8b1c01cf-7f79-4a75-bff8-240415a06208Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Nov 4, 2026
RESOLVED — a variant repo publishes its own image at its own git tag, anonymously pullable.
The witness, measured at the artifact rather than inferred from a run status:
rc=0without credentials — the package is public. The tag2026.308.1917is the git tagv2026.308.1917without thev, so the W5.2 invariant (image tag == git tag) holds on a real variant.The publish run,
pod-crabbox-systemdrun41895678841, iscompleted/success, anddenied/permission_denied/failed to pushappear nowhere in its log. The same run, on the same head, previously died with:The fix, and why it took three repos.
--pushadded BuildKit's registry exporter to every image in the resolved chain, so a variant tried to pusharch/cachyoswith a token that owns only its own package. It is now confined to what the build actually produced for this project:plugin-build#49aa9b649fbd04eb415c7eacdd92814515b0654206v2026.308.2205charly#1108fceb14864fd09025991427084fc7c52ed786e649v2026.308.2259vars.CHARLY_VERSIONv2026.307.1020→v2026.308.2259, visibilityallpod-crabbox-systemd418956788412026.308.1917A correction to my own earlier diagnosis on this issue. I reported that the new package was private, based on a
403from an anonymousskopeo inspect. That reading was wrong: GHCR returns403for an anonymous token request against a package whose manifest does not exist. The package was never private — the image had never been published. The evidence that settles it is above: the same client, the same registry,rc=0the moment a real manifest existed.opencharly/.github#280(the build-only arm never logging in) was the sibling defect and is already closed byopencharly/.github#281.Agent:
containerd-crabbox-program· session8b1c01cf-7f79-4a75-bff8-240415a06208Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
fix(image): build FROM the published base so the publish pushes only …
feat(image): add the CRIU checkpoint/restore lease image pod-crabbox-…