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

Incorrect comparison level displayed in the logs about refreshing app status: 825069003112 instead of 0-3 #18998

Open
2 of 3 tasks
andrii-korotkov-verkada opened this issue Jul 9, 2024 · 0 comments · May be fixed by #21298
Labels
bug/in-triage This issue needs further triage to be correctly classified bug Something isn't working component:core Syncing, diffing, cluster state cache type:bug version:2.12 Latest confirmed affected version is 2.12

Comments

@andrii-korotkov-verkada
Copy link
Contributor

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

The logs which show refreshing app status and level sometimes show absurd value instead of value from 0 to 3, when controller refresh is requested. I wonder if it has something to do with ctrl.refreshRequestedApps[key] = compareWith.Max(ctrl.refreshRequestedApps[key]) where Max uses float64 and conversion back to CompareWith in its implementation.

To Reproduce

I don't know how, maybe just wait and it'd pop up eventually.

Expected behavior

The level is from 0 to 3.

Screenshots

Screenshot 2024-07-09 at 4 31 15 AM

Version

Using a custom build from master around 2024/07/07 + #18694 + #18972.

Logs

See the screenshot.

@andrii-korotkov-verkada andrii-korotkov-verkada added the bug Something isn't working label Jul 9, 2024
@alexmt alexmt added bug/in-triage This issue needs further triage to be correctly classified component:core Syncing, diffing, cluster state cache type:bug labels Jul 9, 2024
@andrii-korotkov-verkada andrii-korotkov-verkada added the version:2.12 Latest confirmed affected version is 2.12 label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/in-triage This issue needs further triage to be correctly classified bug Something isn't working component:core Syncing, diffing, cluster state cache type:bug version:2.12 Latest confirmed affected version is 2.12
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants