Checklist:
Describe the bug
When a sync operation fails and is scheduled for a retry, the operation message tells you when the next attempt happens, but formats the time with Go's time.Kitchen layout:
ComparisonError: Failed to load target state: failed to generate manifest for
source 1 of 1: rpc error: code = Unavailable desc = connection error: desc =
"transport: Error while dialing: dial tcp 10.0.9.23:8081: connect: connection
refused". Retrying attempt #2 at 4:04PM.
Here, 4:04PM is not enough to act on:
- No date, so you can't tell whether it's today or (near midnight) tomorrow.
- No timezone, so you can't tell if it's the controller's clock or your own.
- No indication of what time "now" is, so you can't tell whether the retry is seconds away or an hour away which is the thing you actually want to know.
To Reproduce
- Create an Application with a
retry strategy, e.g.:
spec:
syncPolicy:
retry:
limit: 5
backoff:
duration: 2m
maxDuration: 1h
- Make the sync fail (for example, point it at an unreachable repo-server or an invalid project).
- Look at
.status.operationState.message on the Application, or the message shown in the UI.
Expected behavior
The message should say how long the wait is, and give an absolute time that can't be misread as local time. For example:
... connection refused. Retrying attempt #2 in 2m0s (at 2026-09-03T16:04:00Z).
Screenshots
N/A
More details here - https://cloud-native.slack.com/archives/C020XM04CUW/p1788278865234229
Checklist:
argocd version.Describe the bug
When a sync operation fails and is scheduled for a retry, the operation message tells you when the next attempt happens, but formats the time with Go's
time.Kitchenlayout:Here,
4:04PMis not enough to act on:To Reproduce
retrystrategy, e.g.:.status.operationState.messageon the Application, or the message shown in the UI.Expected behavior
The message should say how long the wait is, and give an absolute time that can't be misread as local time. For example:
Screenshots
N/A
More details here - https://cloud-native.slack.com/archives/C020XM04CUW/p1788278865234229