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

Conversation

@pjiang-dev
Copy link
Contributor

@pjiang-dev pjiang-dev commented Jun 16, 2025

This fixes argoproj/argo-cd#23436 a bug where ephemeral annotations like refresh/hydrate show in the diff despite being in ignoreResourceUpdates

This could happen in instances with large number of apps that need to be refreshed as the diff calculation process is in progress, the annotations are added to live resource, but aren't removed quickly enough before diff calculation finishes. Adding another Normalize before diff calculation ends fixes the problem

Signed-off-by: Peter Jiang <peterjiang823@gmail.com>
@pjiang-dev pjiang-dev requested a review from a team as a code owner June 16, 2025 21:28
@sonarqubecloud
Copy link

@codecov
Copy link

codecov bot commented Jun 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.51%. Comparing base (8849c3f) to head (9870c2c).
Report is 52 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #737      +/-   ##
==========================================
- Coverage   54.26%   47.51%   -6.76%     
==========================================
  Files          64       64              
  Lines        6164     6567     +403     
==========================================
- Hits         3345     3120     -225     
- Misses       2549     3190     +641     
+ Partials      270      257      -13     

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

@leoluz leoluz merged commit 093aef0 into argoproj:master Jun 17, 2025
4 of 5 checks passed
RoelofKuijpers pushed a commit to RoelofKuijpers/gitops-engine that referenced this pull request Jul 29, 2025
Signed-off-by: Peter Jiang <peterjiang823@gmail.com>
Signed-off-by: Roelof Kuijpers <roelof.kuijpers@energyessentials.nl>
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.

refresh/hydrate annotations show in diff

2 participants