You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when a workflow is using self reporting progress it writes in intervals to ARGO_PROGRESS_FILE. Since #8000 this creates a WorkflowTaskResult instead of doing a pod patch. #8135 changed to use an own reconciliation loop for WorkflowTaskResult. This does not trigger a reconcile of the workflow anymore.
After #8135, the only time a workflow progress gets updated is when the workflow switches into a completed state, or every 20m (since workflows are automatically reconciled every 20m anyway).
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.
apiVersion: argoproj.io/v1alpha1kind: Workflowmetadata:
generateName: progress-spec:
entrypoint: maintemplates:
- name: maindag:
tasks:
- name: progresstemplate: progress
- name: progresscontainer:
image: alpine:3.14command: [ "/bin/sh", "-c" ]args:
- | for i in `seq 1 100`; do sleep 10; echo "$(($i*10))"'/1000' > $ARGO_PROGRESS_FILE; done
Re-adds an EventHandler to trigger an update when a WorkflowTaskResult
got added/updated. Without this, a workflow progress only gets updated
upon completion or every 20mins.
Fixesargoproj#10096, bug introduced in argoproj#8135
Signed-off-by: Michael Weibel <michael@helio.exchange>
Re-adds an EventHandler to trigger an update when a WorkflowTaskResult
got added/updated. Without this, a workflow progress only gets updated
upon completion or every 20mins.
Fixesargoproj#10096, bug introduced in argoproj#8135
Reverts argoproj#8459 to re-add the progress test
Signed-off-by: Michael Weibel <michael@helio.exchange>
mweibel
added a commit
to helio/argo-workflows
that referenced
this issue
Nov 24, 2022
Re-adds an EventHandler to trigger an update when a WorkflowTaskResult
got added/updated. Without this, a workflow progress only gets updated
upon completion or every 20mins.
Fixesargoproj#10096, bug introduced in argoproj#8135
Reverts argoproj#8459 to re-add the progress test
Signed-off-by: Michael Weibel <michael@helio.exchange>
mweibel
added a commit
to helio/argo-workflows
that referenced
this issue
Nov 24, 2022
Re-adds an EventHandler to trigger an update when a WorkflowTaskResult
got added/updated. Without this, a workflow progress only gets updated
upon completion or every 20mins.
Fixesargoproj#10096, bug introduced in argoproj#8135
Reverts argoproj#8459 to re-add the progress test
Signed-off-by: Michael Weibel <michael@helio.exchange>
Pre-requisites
:latest
What happened/what you expected to happen?
when a workflow is using self reporting progress it writes in intervals to
ARGO_PROGRESS_FILE
. Since #8000 this creates a WorkflowTaskResult instead of doing a pod patch. #8135 changed to use an own reconciliation loop for WorkflowTaskResult. This does not trigger a reconcile of the workflow anymore.After #8135, the only time a workflow progress gets updated is when the workflow switches into a completed state, or every 20m (since workflows are automatically reconciled every 20m anyway).
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
The text was updated successfully, but these errors were encountered: