Skip to content
This repository was archived by the owner on Nov 8, 2025. It is now read-only.

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]>
@codecov
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.45%. Comparing base (8849c3f) to head (60e0d37).
Report is 49 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.45%   -0.81%     
==========================================
  Files          64       64              
  Lines        6164     6549     +385     
==========================================
+ Hits         3345     3501     +156     
- Misses       2549     2771     +222     
- Partials      270      277       +7     

☔ 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.

@agaudreault agaudreault marked this pull request as ready for review June 12, 2025 16:27
@agaudreault agaudreault requested a review from a team as a code owner June 12, 2025 16:27
@agaudreault agaudreault merged commit 8697b44 into argoproj:master Jun 12, 2025
2 checks passed
@sonarqubecloud
Copy link

@alexmt
Copy link
Contributor

alexmt commented Jun 12, 2025

@crenshaw-dev If I was a user I don't think I would ever choose to have this sync option on resource level. However I totally can see how someone might want to sync app once with this option (via starting sync operation with sync option ). So I still think it was useful.

RoelofKuijpers pushed a commit to RoelofKuijpers/gitops-engine that referenced this pull request Jul 29, 2025
…#708)" (argoproj#730)

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

This reverts commit 717b8bf.

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

* format

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

---------

Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Roelof Kuijpers <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants