Repository navigation
Description
Friction
Once the roadmap Service is reinstated (#1562 reverted), its close job cuts each release through the shared cut_release (src/devops_cli/roadmap/run.py:519). With #1343, cut_release first runs an offline Argo CD gate that builds every path Application with kubectl kustomize, and it fails closed when kubectl is missing. The Service image ships no kubectl, so every cut the Service makes would stop at the gate, and no release pull request would show why.
Evidence
- The Service stage of
Dockerfile(:25-41) installsgitandca-certificateswith apt, and copies onlyghand the virtual environment from the builder. It has nokubectl. - kubectl is pinned at 1.37.1, with a sha256 per platform, in
src/devops_cli/tools_lock/tools.lock:27-28.devops install-toolsinstalls it on workstations, where today's person-run cut takes place. ghalready enters the image checksum-verified withADD --checksum=sha256:…(Dockerfile:17-23).- feat(release): a release is cut only after every argo cd application builds at the release head and its live changes are shown #1343's plan (refined 2026-10-17) requires kubectl wherever a cut runs, and keeps the Service's cut out of its delivery because of this gap.
Remedy
The Service image installs kubectl at the tools.lock version, checksum-verified with ADD --checksum for linux/amd64 and linux/arm64, as it does for gh. A test keeps the Dockerfile's kubectl version and checksums equal to tools.lock's, so a bump of one without the other fails devops ci. The image job's Trivy scan stays as it is. This lands before #1562 is reverted. A Service cut in a temporary repository that holds a path Application then passes the gate inside the built image (ci.yml's Service Image smoke test).
Proposed design
Problem statement
The Service image used to cut releases does not include kubectl, which is required by the Argo CD gate that runs during release cuts. This causes all release cuts to fail at the gate, preventing the release pull request from being created and making it impossible to see why the cut failed.
Acceptance criteria
- Criterion 1: The Service image includes kubectl at version 1.37.1 with checksum-verified installation for both linux/amd64 and linux/arm64 platforms
Verification: Running 'docker build -t test-image .' on the updated Dockerfile and then executing 'kubectl version --client' inside a container from that image returns the expected version 1.37.1 - Criterion 2: The Dockerfile checksums for kubectl match those in tools.lock
Verification: Running 'devops ci' command passes without failing on checksum mismatch between Dockerfile and tools.lock for kubectl - Criterion 3: The Service's release cut process can pass the Argo CD gate
Verification: Executing a test cut in a temporary repository with a path Application shows that the cut completes through the Argo CD gate and creates a release pull request
Key questions
- What is the exact version of kubectl that needs to be installed in the Service image?: The version is 1.37.1 as specified in src/devops_cli/tools_lock/tools.lock [sources: src/devops_cli/tools_lock/tools.lock:27]
Open questions
- Which platforms should kubectl be installed for in the Dockerfile? (missing verified source)
- How is kubectl currently being installed in the devops-cli environment? (missing verified source)
- What is the current state of the Service image regarding kubectl? (missing verified source)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 18, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
The candidate describes a defect in the Service's Docker image that prevents release cuts from passing the Argo CD gate due to missing kubectl.This issue blocks the release process and prevents automated cut jobs from completing, making it critical for roadmap closure.Fixing this enables the automated release pipeline and ensures consistent delivery of releases through the roadmap.The fix involves modifying the Dockerfile to include kubectl with checksum verification, adding a test to maintain version parity, and ensuring the change is integrated before #1562 is reverted.dan-petty commentedon Oct 22, 2026
Superseded by ADR 0012 (docs/adr/0012-releases-are-derived-by-release-please-from-trunk-and-milestones-are-planning-buckets.md). The cut, the fragments or the hand-built release pull request that this issue concerns are deleted by the new release model.