Incorrect comparison level displayed in the logs about refreshing app status: 825069003112 instead of 0-3 #18998
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
Checklist:
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])
whereMax
uses float64 and conversion back toCompareWith
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
Version
Using a custom build from master around 2024/07/07 + #18694 + #18972.
Logs
See the screenshot.
The text was updated successfully, but these errors were encountered: