Open pieterlukasse opened 1 year ago
So, you're saying that the actual data for the Workflow that comes back from the call is incorrect? Can you post the responses to the two api calls?
@juliev0 yes, the response from the 2nd call is incorrect. As mentioned above:
For the first call I get metadata.creationTimestamp != status.startedAt. This is expected. For the 2nd call I get I get metadata.creationTimestamp == status.startedAt. This is NOT expected.
Are you not able to reproduce it?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions.
can close, https://github.com/argoproj/argo-workflows/blob/v3.4.7/persist/sqldb/workflow_archive.go#L181 was the issue but this was since fixed in https://github.com/argoproj/argo-workflows/pull/13136/files
Pre-requisites
:latest
What happened/what you expected to happen?
I have a workflow that was pending for a while before it started (queue was full).
When I retrieve its details using the following endpoint https://localhost:2746/api/v1/archived-workflows/65af9a68-148c-4241-82f7-efb9e1edacc7?namespace=argo I get
metadata.creationTimestamp
!=status.startedAt
. This is expected.However, when using the list endpoint https://localhost:2746/api/v1/archived-workflows?namespace=argo&listOptions.fieldSelector=spec.startedAt%3E2023-03-27T22:00:00.000Z,spec.startedAt%3C2023-04-28T22:00:00.000Z&listOptions.limit=10 I get
metadata.creationTimestamp
==status.startedAt
. This is NOT expected.Version
latest
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container