-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Closed
2 of 3 tasks
Closed
2 of 3 tasks
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
14 tasks
dudo
pushed a commit
to dudo/argo-cd
that referenced
this issue
Jan 18, 2025
…fixes argoproj#18998) (argoproj#21298) * fix: correctly set compareWith when requesting app refresh with delay Signed-off-by: Xiaonan Shen <s@sxn.dev> * test: add UT Signed-off-by: Xiaonan Shen <s@sxn.dev> --------- Signed-off-by: Xiaonan Shen <s@sxn.dev> Co-authored-by: 沈啸楠 <sxn@shenxiaonandeMacBook-Pro.local> Signed-off-by: Brett C. Dudo <brett@dudo.io>
revitalbarletz
pushed a commit
to revitalbarletz/argo-cd
that referenced
this issue
Jan 20, 2025
…fixes argoproj#18998) (argoproj#21298) * fix: correctly set compareWith when requesting app refresh with delay Signed-off-by: Xiaonan Shen <s@sxn.dev> * test: add UT Signed-off-by: Xiaonan Shen <s@sxn.dev> --------- Signed-off-by: Xiaonan Shen <s@sxn.dev> Co-authored-by: 沈啸楠 <sxn@shenxiaonandeMacBook-Pro.local>
flbla
pushed a commit
to flbla/argo-cd
that referenced
this issue
Jan 20, 2025
…fixes argoproj#18998) (argoproj#21298) * fix: correctly set compareWith when requesting app refresh with delay Signed-off-by: Xiaonan Shen <s@sxn.dev> * test: add UT Signed-off-by: Xiaonan Shen <s@sxn.dev> --------- Signed-off-by: Xiaonan Shen <s@sxn.dev> Co-authored-by: 沈啸楠 <sxn@shenxiaonandeMacBook-Pro.local> Signed-off-by: flbla <flbla@users.noreply.github.com>
gcp-cherry-pick-bot bot
pushed a commit
that referenced
this issue
Feb 23, 2025
Loading
Loading status checks…
gcp-cherry-pick-bot bot
pushed a commit
that referenced
this issue
Feb 23, 2025
Loading
Loading status checks…
gcp-cherry-pick-bot bot
pushed a commit
that referenced
this issue
Feb 23, 2025
Loading
Loading status checks…
vasilegroza
pushed a commit
to vasilegroza/argo-cd
that referenced
this issue
Feb 27, 2025
…fixes argoproj#18998) (argoproj#21298) * fix: correctly set compareWith when requesting app refresh with delay Signed-off-by: Xiaonan Shen <s@sxn.dev> * test: add UT Signed-off-by: Xiaonan Shen <s@sxn.dev> --------- Signed-off-by: Xiaonan Shen <s@sxn.dev> Co-authored-by: 沈啸楠 <sxn@shenxiaonandeMacBook-Pro.local>
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
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: