Repository navigation
Description
Problem Description
Deployment mcp-server in namespace devops has been in ImagePullBackOff since it was created (2026-11-09T21:16Z, about 5 hours). No workflow publishes the image that it names, ghcr.io/dan-petty/devops-cli/mcp-server.
release.ymlpublishes three images to GHCR:devcontainer,serviceandrunner. It has no job formcp-server.ci.ymljobmcp-server-image(feat(k8s): deploy the MCP server for the roadmap jobs #3220) builds, smoke-tests and scans themcp-servertarget withpush: false. No other workflow mentionsmcp-server.- PR feat(ai): integrate Jev 1.14 and agent configurations #4275 (feat(ai): integrate Jev 1.14 and agent configurations #4274, commit 28356ed) added
k8s/devops/mcp-server/and themcp-serverentry ofImageUpdaterink8s/argocd/image-updater-values.yaml, and its proposal assumed the image exists. feat(k8s): deploy the MCP server for the roadmap jobs #4182 had deferred the manifests until the image existed, but no issue made the release publish it. - Image Updater cannot find a digest to write, so the Application
devopshas nomcp-serverentry inspec.source.kustomize.images(it holds onlyserviceandrunner).
Reproduction Steps
kubectl -n devops get pods:mcp-server-7b94c95bb4-pkvt4is0/1 ImagePullBackOff(1296 back-offs); the Deployment condition isProgressDeadlineExceeded; ApplicationdevopsisSyncedandDegraded.kubectl -n devops describe pod -l app.kubernetes.io/name=mcp-server:Back-off pulling image "ghcr.io/dan-petty/devops-cli/mcp-server".devops gh api /user/packages/container/devops-cli%2Fmcp-server/versionsreturns 404Package not found.
Expected vs Actual Behavior
Expected: a release publishes the mcp-server image to GHCR with the same build, smoke test, scan, digest push, attestation and tags as the service and runner images, so Image Updater pins the digest and the pod becomes Ready.
Actual: no job publishes it. The package does not exist, and the Deployment cannot start.
Environment Diagnostics
- Argo CD Image Updater log, every 2 minutes:
Could not get tags from registry: Get "https://ghcr.io/v2/dan-petty/devops-cli/mcp-server/tags/list": denied(aliasmcp-server). - Manifest:
k8s/devops/mcp-server/deployment.yamlnames the image with no tag, the same asserviceandrunner; Image Updater writes the digest, so the manifest needs no change.
Logs, Traces, or Terminal Output
See Reproduction Steps and Environment Diagnostics.
Proposed fix
- Add job
mcp-server-imagetorelease.yml, built from therunner-imagejob: targetmcp-server, the smoke test and the Trivy scan ofci.ymljobmcp-server-image(with.trivyignore-mcp-server), push by digest, attest, tag with the release tag andlatest. - Add a check that fails when a workload under
k8s/names aghcr.io/dan-petty/devops-cli/<name>image that no job ofrelease.ymlpushes.
Pre-Submission Checklist
- I have verified that no sensitive credentials, private keys, or internal tokens are contained in this issue report.
- I have checked existing issues and pull requests to ensure this is not a duplicate (searched feat(k8s): deploy the MCP server for the roadmap jobs #3220, feat(k8s): deploy MCP server manifests when entrypoint exists #3600, feat(k8s): deploy the MCP server for the roadmap jobs #4182, feat(ai): integrate Jev 1.14 and agent configurations #4275, fix(release): the Service image a release pins is published before main pins it, so Argo CD never rolls the roadmap Service onto a missing image #1451, fix(release): publish the Service image from its release branch, so main never pins a missing image #1452: none covers publishing the image).
Proposed design
Problem statement
Deployment mcp-server in namespace devops stays in ImagePullBackOff because no workflow publishes the image ghcr.io/dan-petty/devops-cli/mcp-server. The release workflow publishes devcontainer, service and runner only. Image Updater cannot find a digest, so the pod cannot start. A second gap lets a workload name an image that no release job pushes, with no check that catches it.
Acceptance criteria
Requirement: Release publishes the mcp-server image
The release workflow SHALL contain a job mcp-server-image that builds the mcp-server target and pushes the image ghcr.io/dan-petty/devops-cli/mcp-server by digest.
Scenario: Job exists and pushes by digest
- WHEN a test parses .github/workflows/release.yml
- THEN the test finds job mcp-server-image with target mcp-server and a push by digest to the mcp-server image
Requirement: Release gates the mcp-server image
The mcp-server-image job of the release workflow MUST run the smoke test and the Trivy scan with .trivyignore-mcp-server before it pushes the image.
Scenario: Smoke test and scan precede the push
- WHEN a test reads the steps of job mcp-server-image
- THEN the smoke test step and the Trivy scan step with .trivyignore-mcp-server come before the push step
Requirement: Release attests and tags the mcp-server image
The mcp-server-image job SHALL attest the pushed digest and tag the image with the release tag and with latest, as the runner-image job does.
Scenario: Attestation and tags present
- WHEN a test reads the steps of job mcp-server-image and job runner-image
- THEN both jobs attest the digest and tag the image with the release tag and latest
Requirement: Check for unpublished workload images
The repository SHALL hold a check that fails when a workload under k8s/ names an image ghcr.io/dan-petty/devops-cli/<name> that no job of release.yml pushes.
Scenario: Unpublished image fails the check
- WHEN the check runs on a fixture where a manifest names ghcr.io/dan-petty/devops-cli/ghost and release.yml has no job for ghost
- THEN the check fails and names the image ghost
Requirement: Check passes on the current tree
The check MUST pass when each ghcr.io/dan-petty/devops-cli image under k8s/ has a release job that pushes it.
Scenario: Current tree passes
- WHEN the check runs on the repository after the mcp-server-image job exists
- THEN the check passes for devcontainer-independent images service, runner and mcp-server
Existing Tool Considered
No outside tool covers the need. The release job reuses the existing runner-image job and the existing build, smoke test, Trivy and attestation actions, so the cost is a copy of one job with a new target name and a small offline test. The check for unpublished images is a pytest test in tests/ that parses YAML, in the style of tests/invariants/test_k8s_argocd_apps.py. No alternatives check has run.
Key questions
- Where does the check for unpublished workload images live?: It lives as a pytest invariant test under tests/invariants/. The test reads the manifests under k8s/ and the jobs of .github/workflows/release.yml. It runs in the Tests and Coverage required check, so no new CI job and no new required check is needed. (best practice) [sources: tests/invariants/test_k8s_argocd_apps.py, tests/k8s/test_image_pins.py, docs/adr/0004-ci-is-the-authoritative-gate.md]
- Chosen: Pytest invariant test. It runs offline in the existing required check and follows the existing invariant tests.
- Rejected: Extend devops k8s image-pins. That command skips images that an ImageUpdater names and reads the registry, so it cannot catch a missing release job.
- Rejected: New CI job. It adds a job and may need a ruleset change for no gain over a test.
- Does the mcp-server manifest need a change?: No. The Deployment names the image with no tag, as the service and runner manifests do. Image Updater writes the digest once the package exists. The ImageUpdater entry for mcp-server already exists. [sources: k8s/devops/mcp-server/deployment.yaml, k8s/argocd/image-updater-values.yaml]
- How is the new release job built?: Copy the runner-image job and change the target to mcp-server, the image name, the smoke test and the ignore file to .trivyignore-mcp-server. Take the smoke test and scan steps from ci.yml job mcp-server-image. (best practice) [sources: openspec/specs/roadmap-implement-runner/spec.md, docs/adr/0004-ci-is-the-authoritative-gate.md]
- Chosen: Copy the runner-image job. It keeps the same digest push, attestation and tags, as the issue asks.
- Rejected: Matrix over service, runner and mcp-server. It rewrites working jobs and widens the risk of the change.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 10, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(ci)scope of the title gives the scope.A production pod is in ImagePullBackOff and the service is non-functional.The mcp-server deployment is completely non-functional without the published image.The job is modeled on existing release jobs and the check is a small validation script.Both concern the MCP server deployment; #3600 adds the k8s manifests while the candidate adds the release job that publishes the image.devops-cli-service commentedon Nov 10, 2026
Status set to Ready at 4f377e1 (see proposed design in issue body).
docs(openspec): archive the change of #4324
devops-cli-service commentedon Nov 10, 2026
Released in v0.106.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.106.1
devops-cli-service commentedon Nov 10, 2026
Live since 2026-11-10 06:39 UTC