Skip to content
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

application doesn't refresh automatically after revision branch is being created, although a webhook exists #20922

Open
alinachan11 opened this issue Nov 24, 2024 · 2 comments
Labels
bug Something isn't working version:2.11 Latest confirmed affected version is 2.11

Comments

@alinachan11
Copy link

Describe the bug
After ci-cd the revision on the application points toward a not-existing yet branch.
When the new branch is created, the application is still stuck on earlier error message and only after a manual refresh the application returns to a green state.
This problem happens occasionally, and according to logs I do see most of the times in the argocd server that a webhook did arrive.
I managed to reproduce the problem only on bitbucket.

To Reproduce

  1. create argocd application.
  2. change argocd application to point toward a non existent branch
  3. create the new branch

Expected behavior
After the new branch is created the application automatically refreshes itself.

Version
argocd version: 2.11.4
ocp version: 4-10

@alinachan11 alinachan11 added the bug Something isn't working label Nov 24, 2024
@andrii-korotkov-verkada andrii-korotkov-verkada added the version:2.11 Latest confirmed affected version is 2.11 label Nov 24, 2024
@andrii-korotkov-verkada
Copy link
Contributor

There are refreshes every 3 min by default. Are they helpful? I think Argo doesn't know a way to know about branch now being available unless you set up webhooks https://argo-cd.readthedocs.io/en/stable/operator-manual/webhook/. Please, let me know more details about what's happening and whether these points help.

@andrii-korotkov-verkada andrii-korotkov-verkada added more-information-needed Further information is requested and removed more-information-needed Further information is requested labels Nov 24, 2024
@andrii-korotkov-verkada
Copy link
Contributor

There are a few PRs to fix Bitbucket stuff #20990, #20993, wonder if the issues could be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working version:2.11 Latest confirmed affected version is 2.11
Projects
None yet
Development

No branches or pull requests

2 participants