Repository navigation
fix(ci): never create packages, which inherit the repository's public visibility - #13535
Merged
Merged
Conversation
cv
enabled auto-merge (squash)
October 20, 2026 10:38
Contributor
cv
added a commit
that referenced
this pull request
Oct 20, 2026
## Failure Since #13535, workflows only push to packages that already exist as internal. Each package needs its repository Actions access granted by hand in its settings; GitHub has no REST API for that. Per-commit images used one package per image (`v1-ci/<image>`), so provisioning took 13 CI packages on top of the 13 release packages. ## Decision Keep every per-commit image in one package, with the image name in the tag: `ghcr.io/nvidia/nemoclaw/v1-ci:<image>-<commit>-<arch>`. Users never pull these, so per-image names add nothing. The release packages stay per image (`v1/<image>`), because users pull those by name. Provisioning drops to 14 packages. - **`image-build.yml`:** pushes `v1-ci:<image>-<commit>-<arch>`, and its guard checks the one `v1-ci` package. - **`release.yml`:** reads and pushes `v1-ci:<image>-<commit>-<arch>`, guards `v1-ci` before pushing the runtime images, and guards each `v1/<image>` before promoting. - **Docs:** the staging guide lists the 14 packages. ## Validation `actionlint` reports nothing for the three workflows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Failure
The first
v1push after #13533 createdghcr.io/nvidia/nemoclaw/v1-ci/claudeas a public package and pushed one arm64 image to it (run 39407390276). A package created by a workflow's token inherits this public repository's visibility; the earlier probe used a personal token, and its package startedinternal. The visibility check ran only after the first push, so it stopped further pushes but not that one. The staging workflow from #13534 would likewise create everyv1/<image>package public on its first tag, but no tag has been pushed.Decision
Workflows never create packages.
Guard: a composite action,
.github/actions/internal-packages, checks that every target package already exists and isn't public, before anything is pushed.image-build.yml: onv1pushes it runs the guard as a warning. If any package is missing or public, it skips the push and theBuildchecks stay green until the packages exist. The post-push check is gone.release.yml: the runtime and stage jobs run the guard as an error, before pushing runtime images or creatingv1/<image>:<tag>indexes.Docs:
docs/contributing/releases.mdgains "Provision the Packages":v1-ci/andv1/package as internal, by pushing any image with a personal token;NVIDIA/NemoClawActions write access;The testing guide links to it.
Validation
actionlintreports nothing for the three workflows, andfern checkpasses.v1push should skip its push with a warning per package.v1-ci/clauderemains public until it is deleted.