Repository navigation
feat(argo): preview requests in dry run for argo commands - #2855
Merged
Merged
Conversation
Add dry-run support for 22 Argo commands. Classify 20 commands as request-plan: argo cd apps bootstrap-gitops, argo cd apps list, argo cd apps status, argo cd apps sync, argo cd fleet sync, argo cd gitops sync, argo cd gitops watch, argo fleet sync, argo gitops sync, argo gitops watch, argo rollouts abort, argo rollouts analyze, argo rollouts list, argo rollouts promote, argo rollouts restart, argo rollouts status, argo sync, argo workflows list, argo workflows logs, and argo workflows submit. Classify 2 commands as no-external-request: argo cd gitops drift and argo gitops drift. Add --dry-run to commands lacking it: argo cd apps sync, argo rollouts list, argo rollouts status, argo sync, argo workflows list, argo workflows logs, and argo workflows submit. List token request before target Argo CD HTTP API request in dry run. Make zero external requests during dry run. Remove echo-only previews. Remove all 22 commands from tests/fixtures/dry_run_gaps.json. Verification: - Ran tests in tests/commands/test_argo_dry_run.py (28 passed in 3.52s). - Ran all argo test suites (183 passed in 8.29s). - Verified ratchet invariant (7 passed in 1.58s). - Passed fast static CI quality gates. Closes #2240
dan-petty
force-pushed
the
feat/2240-argo-dry-run
branch
from
October 31, 2026 12:49
2e12202 to
90f885a
Compare
dan-petty
marked this pull request as ready for review
October 31, 2026 12:56
dan-petty
pushed a commit
that referenced
this pull request
Oct 31, 2026
🤖 I have created a release *beep* *boop* --- ## [0.27.0](v0.26.1...v0.27.0) (2026-10-31) ### Features * **ai:** preview requests in dry run for model and gateway ([#2862](#2862)) ([efd6159](efd6159)), closes [#2241](#2241) * **argo:** preview requests in dry run for argo commands ([#2855](#2855)) ([9b18d68](9b18d68)), closes [#2240](#2240) * **k8s:** preview requests in dry run for manifest commands ([#2851](#2851)) ([92be95c](92be95c)), closes [#2239](#2239) --- 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>
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.
Summary
Verification
Closes #2240