Repository navigation
fix(upstream): look for OpenShell images on Quay, then on GHCR - #153
Open
Gkrumbach07 wants to merge 1 commit into
Open
Gkrumbach07 wants to merge 1 commit into
Gkrumbach07 wants to merge 1 commit into
Conversation
OpenShell publishes releases to quay.io/ai-openshell from v0.1.10 on. ghcr.io/nvidia/openshell is frozen at v0.1.9 and v0.1.10-pre.1 to pre.3, so Follow upstream found v0.1.10 every day and reported "has not published its gateway image yet", and main stayed on 0.1.9. The plan now looks a release up in each image home, Quay first, and pins both images from the first home that has the gateway. Releases from before the move still resolve to GHCR. An outage on Quay stops the run instead of falling back. The e2e stack picks the home by version for OPENSHELL_VERSION, and the comments say where a dev gateway pulls its sandbox image now. Closes ai-openshell#152 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Gage Krumbach <gkrumbac@redhat.com>
This branch has not been deployed
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.
Closes #152
Problem
From v0.1.10 on, OpenShell publishes its images to
quay.io/ai-openshell/{gateway,supervisor,sandbox}.ghcr.io/nvidia/openshellis frozen: it has v0.1.9 and older, plus v0.1.10-pre.1 to pre.3. Follow upstream only checked GHCR. So every daily run found v0.1.10, reported "Not yet: upstream has tagged v0.1.10 but has not published its gateway image yet", and still finished green.mainhas stayed on 0.1.9 since v0.1.10 shipped on 2026-11-24.The missing bump-bot secrets don't explain this. Even with the secrets in place, no bump would have been opened.
Change
upstream.py:REGISTRYand the two repository constants are replaced byIMAGE_HOMES = ("quay.io/ai-openshell", "ghcr.io/nvidia/openshell"), newest first.image_digestnow takes the whole repository name.plan.py:_imageslooks for the release in each home in turn and pins both images from the first home that has the gateway. A release is never pinned half from one home and half from the other. If a gateway has no supervisor, the plan waits and names the home. If Quay is down, the run stops (UpstreamError) and does not fall back to GHCR.e2e-stack.sh: whenOPENSHELL_VERSIONis set, the home is chosen by version: GHCR for ≤ 0.1.9 and 0.1.10-pre.1 to pre.3, Quay otherwise. Thelatestfallback, and the default indocker-compose.e2e.yml, are now on Quay. CI never uses these defaults, because it passes digests.pins.py,gateway-pins.json,ci.yml): a dev gateway now pullsquay.io/ai-openshell/sandbox:dev. The pins themselves don't change; 0.1.9 stays on GHCR until the bump.openshell-community/sandboxes/*images are a separate project and are unaffected.Verified
python3 -m unittestindeploy/ci/upstream: 306 pass. New tests cover a Quay-only release, Quay winning when both homes have a release, no half-and-half pins, and a Quay outage.node --test scripts/…: 89 pass.gateway-range.mjs --checkpasses, and so doesformat-pins.follow.py planagainst the network now gives:Not in this PR
UPSTREAM_REPOstill points atgithub.com/NVIDIA/OpenShell, which redirects to the moved repository, and the tags read through it are correct. Renaming it touches release links in every report, so it's left for a separate change.follow.py plan/bump.🤖 Generated with Claude Code