Skip to content

Conversation

@aali309
Copy link
Contributor

@aali309 aali309 commented Feb 4, 2025

When using annotated git tags with auto-sync enabled but self-heal disabled, manual changes were getting reverted. This was happening because the repo server cache wasn't handling annotated tags correctly.

Fixes: #21548

See #20082 for detailed description of what caused the regression, but TL;DR: this behaviour is currently present in v2.11.x, v2.12.x, v2.13.x and current master

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • The title of the PR conforms to the Toolchain Guide
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).
  • My new feature complies with the feature status guidelines.
  • [x ] I have added a brief description of why this PR is necessary and/or what this PR solves.
  • Optional. My organization is added to USERS.md.
  • Optional. For bug fixes, I've indicated what older releases this fix should be cherry-picked into (this may or may not happen depending on risk/complexity).

@bunnyshell
Copy link

bunnyshell bot commented Feb 4, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

@codecov
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@2a50dcb). Learn more about missing BASE report.
⚠️ Report is 1453 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #21771   +/-   ##
=========================================
  Coverage          ?   55.87%           
=========================================
  Files             ?      343           
  Lines             ?    57327           
  Branches          ?        0           
=========================================
  Hits              ?    32030           
  Misses            ?    22654           
  Partials          ?     2643           

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

@aali309 aali309 force-pushed the self_heal branch 2 times, most recently from 964f4f8 to 3e5b8c9 Compare February 7, 2025 16:34
@aali309 aali309 marked this pull request as ready for review February 7, 2025 16:35
@aali309 aali309 requested a review from a team as a code owner February 7, 2025 16:35
@aali309 aali309 force-pushed the self_heal branch 5 times, most recently from 519e768 to 20430c0 Compare February 13, 2025 00:16
@aali309 aali309 requested review from anandf and jgwest February 14, 2025 21:17
@aali309 aali309 force-pushed the self_heal branch 2 times, most recently from 51dbde2 to d44ccca Compare February 19, 2025 23:58
@blakepettersson
Copy link
Member

I followed the @anandf protocol™ and it looks like the issue has disappeared.

Copy link
Member

@blakepettersson blakepettersson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@anandf anandf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aali309 aali309 force-pushed the self_heal branch 4 times, most recently from d71e7f9 to 3b51d19 Compare March 4, 2025 18:20
@gcp-cherry-pick-bot
Copy link

Cherry-pick failed with Merge error f6f10c0521557a05efe156065a61a8643fb2b7a3 into temp-cherry-pick-f06d01-release-2.13

@keithchong
Copy link
Contributor

/cherry-pick release-2.12

@gcp-cherry-pick-bot
Copy link

Cherry-pick failed with Merge error f6f10c0521557a05efe156065a61a8643fb2b7a3 into temp-cherry-pick-f06d01-release-2.12

@svghadi
Copy link
Contributor

svghadi commented Mar 19, 2025

/cherry-pick release-2.14

@gcp-cherry-pick-bot
Copy link

Cherry-pick failed with Merge error f6f10c0521557a05efe156065a61a8643fb2b7a3 into temp-cherry-pick-f06d01-release-2.14

aali309 added a commit to aali309/argo-cd that referenced this pull request Mar 19, 2025
aali309 added a commit to aali309/argo-cd that referenced this pull request Mar 19, 2025
aali309 added a commit to aali309/argo-cd that referenced this pull request Mar 19, 2025
aali309 added a commit to aali309/argo-cd that referenced this pull request Mar 20, 2025
aali309 added a commit to aali309/argo-cd that referenced this pull request Mar 21, 2025
aali309 added a commit to aali309/argo-cd that referenced this pull request Mar 21, 2025
aali309 added a commit to aali309/argo-cd that referenced this pull request Mar 21, 2025
PaulSonOfLars pushed a commit to PaulSonOfLars/argo-cd that referenced this pull request Mar 22, 2025
Hapshanko pushed a commit to Hapshanko/argo-cd that referenced this pull request Apr 29, 2025
@aali309 aali309 deleted the self_heal branch October 16, 2025 17:31
blakepettersson pushed a commit to blakepettersson/argo-cd that referenced this pull request Nov 10, 2025
@blakepettersson blakepettersson added the cherry-pick/3.0 Candidate for cherry picking into the 3.0 release branch label Nov 10, 2025
@argo-cd-cherry-pick-bot
Copy link

🍒 Cherry-pick PR created for 3.0: #25241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick/3.0 Candidate for cherry picking into the 3.0 release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: Application targetting an annotated tag will self heal, even when self-healing is disabled.

6 participants