Loading
Fail the AI Gateway pull when the tag is unpublished
Problem
up derives the gateway tag self-hosted-v<gitlab version>-ee. When upstream has not published it (19.5.6 today; 19.5.0 to 19.5.5 exist, and gaps also exist at 18.11.5 and 19.3.5), the pull fails with manifest unknown. The pull ended in || true behind a pipe, so the later podman run died with exit 125 and no useful message.
Change
- The pull of the stock image now fails the
aigwstep, sostatus --jsonshowsfailed_step: aigw. - The error says the tag is unpublished, names the newest published patch of the same minor from an anonymous registry tag check, and says to set
SIM_AIGW_TAG=<that tag>to run with it. - When the registry check fails, the error still says the tag is unpublished and makes no suggestion.
- No automatic fallback: the gateway and GitLab versions are never silently mismatched.
gce/aigw.mdis updated to match. - A custom
SIM_AIGW_IMAGEkeeps its tolerated pull, since a locally built image lives only on the VM.
Proof
engine-selftest.shgains cases with a stubbed registry: a published tag passes, an unpublished tag fails and names the nearest one, a registry error fails without a suggestion, plus a published tag whose pull failed and the custom-image path. The selftest passes locally.- One live omnibus run at 19.5.6 on GCE failed at the pull with:
the AI Gateway tag self-hosted-v19.5.6-ee is unpublished; the nearest published tag is self-hosted-v19.5.5-ee; set SIM_AIGW_TAG=self-hosted-v19.5.5-ee to run with it.status --jsonread{"phase":"failed","failed_step":"aigw"}. The VM was torn down.
Word budget
aigw.md stays under the ceiling: the new paragraph adds words, offset by trimming two sentences in the auth-arms section of the same file.