Skip to content

fix(k8s): list helm repo and upgrade in deploy-stack dry-run - #4227

Merged
dan-petty merged 1 commit into
mainfrom
fix/2469-deploy-stack-dry-run-lists-the
Nov 9, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2469-deploy-stack-dry-run-lists-the

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

#2469: devops k8s deploy-stack --dry-run gives only the release names in details.helm_releases. It does not list the helm repo add, helm repo update and helm upgrade --install commands that the real run makes. A person cannot check the chart, the version and the repository from the output. A test of the chart, version and repository must read the tables of the module (HELM_RELEASES_BY_STACK and HELM_REPOS_BY_STACK, or their private aliases), and so it repeats the production data. The test file of this change reads the private aliases, and docs/TESTING.md says that no test imports a private name. The dry-run rule (#412) says that a dry run returns the requests that the real run would make.

Closes #2469

Change: openspec/changes/archive/2026-11-09-2469-deploy-stack-dry-run-lists-the/

#2469: `devops k8s deploy-stack --dry-run` gives only the release names in `details.helm_releases`. It does not list the `helm repo add`, `helm repo update` and `helm upgrade --install` commands that the real run makes. A person cannot check the chart, the version and the repository from the output. A test of the chart, version and repository must read the tables of the module (`HELM_RELEASES_BY_STACK` and `HELM_REPOS_BY_STACK`, or their private aliases), and so it repeats the production data. The test file of this change reads the private aliases, and docs/TESTING.md says that no test imports a private name. The dry-run rule (#412) says that a dry run returns the requests that the real run would make.

Closes #2469

Change: `openspec/changes/archive/2026-11-09-2469-deploy-stack-dry-run-lists-the/`
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Nov 9, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: efc6c088ccdd4c360d2506a6ca2107527d2f8596

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
CodeQL success run
Plan Check skipped run
Dependency Freshness skipped run
Test Job Duration skipped run
Docs Site Build success run
Rule Pack Tests success run
DevContainer Image success run
Third-Party Image Scan success run
MCP Server Image success run
Static Analysis success run
Tests & Coverage (shard 4 of 4) success run
Tests & Coverage (shard 2 of 4) success run
Changed-Test Independence success run
Analyze (python) success run
Image Pins success run
Tests & Coverage (shard 3 of 4) success run
Tests & Coverage (shard 1 of 4) success run
Runner Image success run
Analyze (actions) success run
Service Image success run
Fail-to-Pass Check success run
Semantic PR title success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/42625094943/job/129186695732

Skipped check: Plan Check
Skipped check: Dependency Freshness
Skipped check: Test Job Duration

@dan-petty
dan-petty marked this pull request as ready for review November 9, 2026 13:35
@dan-petty
dan-petty merged commit 09bde83 into main Nov 9, 2026
26 checks passed
@dan-petty
dan-petty deleted the fix/2469-deploy-stack-dry-run-lists-the branch November 9, 2026 13:36
dan-petty pushed a commit that referenced this pull request Nov 9, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.100.2](v0.100.1...v0.100.2)
(2026-11-09)


### Bug Fixes

* **ai:** guard urlsplit in cost report for unparseable backend
([#4226](#4226))
([961f406](961f406))
* **k8s:** list helm repo and upgrade in deploy-stack dry-run
([#4227](#4227))
([09bde83](09bde83))
* **roadmap:** cap the output of a Claude group and name a length stop
([#4224](#4224))
([7e84a13](7e84a13))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(k8s): List helm repo and upgrade in deploy-stack dry-run

1 participant