Skip to content

Revert "Add option to skip the dryrun from the sync context (#708)" #730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

crenshaw-dev
Copy link
Member

I changed my mind and now think this is more of a hatchet solution than the scalpel we need to solve argoproj/argo-cd#21788.

Disabling dry runs entirely means you completely lose validation indefinitely. That's an aggressive solution to a problem that likely only presents itself once in the lifecycle of an app.

Talked with @agaudreault, and we think we can solve the problem with a lighter touch.

This change hasn't been released in any Argo CD version yet, so it's safe to revert.

@alexmt since you merged the PR initially, lmk if you'd like to discuss further!

Signed-off-by: Michael Crenshaw <[email protected]>
Copy link

sonarqubecloud bot commented Jun 5, 2025

Copy link

codecov bot commented Jun 5, 2025

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 53.74%. Comparing base (8849c3f) to head (8fe95e4).
Report is 46 commits behind head on master.

Files with missing lines Patch % Lines
pkg/utils/kube/resource_ops.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #730      +/-   ##
==========================================
- Coverage   54.26%   53.74%   -0.53%     
==========================================
  Files          64       64              
  Lines        6164     6475     +311     
==========================================
+ Hits         3345     3480     +135     
- Misses       2549     2722     +173     
- Partials      270      273       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants