jscheffl commented on code in PR #56404:
URL: https://github.com/apache/airflow/pull/56404#discussion_r2417968580
##########
airflow-core/src/airflow/ui/src/pages/HITLTaskInstances/HITLTaskInstances.tsx:
##########
@@ -148,6 +152,8 @@ export const HITLTaskInstances = () => {
state: effectiveResponseReceived === "false" ? ["deferred"] : undefined,
taskId,
taskIdPattern,
+ }, undefined, {
+ refetchInterval,
Review Comment:
@bbovenzi ... hmhm reading your comment - this would mean if all actions are
"finished then the page is not updating anymore. But if the user for approval
opens the list and a second later a new request is generated it might be the
user is waiting until he hits F5 to refresh.. if on initial opening the list
was empty/completed.
I am also in favor not endless polling but might be confusing if refresh
stops and then only F5 can force an update.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]