You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "atul-astronomer (via GitHub)" <gi...@apache.org> on 2026/03/20 05:34:21 UTC
[I] UI issue: Task status is not giving real time information when user clears the dagrun or task instance [airflow]
atul-astronomer opened a new issue, #63967:
URL: https://github.com/apache/airflow/issues/63967
### Apache Airflow version
main (development)
### If "Other Airflow 3 version" selected, which one?
_No response_
### What happened?
https://github.com/user-attachments/assets/11594b16-2061-443c-ac95-c3333db3cc7f
### What you think should happen instead?
_No response_
### How to reproduce
Repro steps:
1. Start airflow instance on airflow main branch using command `breeze start-airflow --executor CeleryExecutor --backend postgres --load-example-dags`
2. Run any Dag, better to pick a Dag with many tasks.
3. Once dagrun is completed, try to clear the dagrun or any task.
4. Notice that tasks and dagrun state is not alligned.
### Operating System
Linux
### Versions of Apache Airflow Providers
_No response_
### Deployment
Other
### Deployment details
_No response_
### Anything else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI issue: Cleared dagrun/tasks status not immediately reflected in task status view [airflow]
Posted by "phanikumv (via GitHub)" <gi...@apache.org>.
phanikumv commented on issue #63967:
URL: https://github.com/apache/airflow/issues/63967#issuecomment-4108361567
Cc @pierrejeambrun could you please check the above comment
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI issue: Cleared dagrun/tasks status not immediately reflected in task status view [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on issue #63967:
URL: https://github.com/apache/airflow/issues/63967#issuecomment-4112018286
It's an easy fix I'll push something
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI issue: Task status is not giving real time information when user clears the dagrun or task instance [airflow]
Posted by "Mishra-coder (via GitHub)" <gi...@apache.org>.
Mishra-coder commented on issue #63967:
URL: https://github.com/apache/airflow/issues/63967#issuecomment-4095793705
Hi! I’d like to work on this issue. Could you please assign it to me? I’ll make sure to follow the contribution guidelines.
Thanks!
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI issue: Cleared dagrun/tasks status not immediately reflected in task status view [airflow]
Posted by "laurenhall1526-netizen (via GitHub)" <gi...@apache.org>.
laurenhall1526-netizen commented on issue #63967:
URL: https://github.com/apache/airflow/issues/63967#issuecomment-4112316221
Got it, thanks for the clarification and for taking this on. Happy to help
test once the fix is up 👍
On Mon, Mar 23, 2026, 11:37 AM Pierre Jeambrun ***@***.***>
wrote:
> *pierrejeambrun* left a comment (apache/airflow#63967)
> <https://github.com/apache/airflow/issues/63967#issuecomment-4112018286>
>
> It's an easy fix I'll push something
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/airflow/issues/63967?email_source=notifications&email_token=B7IHA437IJTOSWIFOKPKDTT4SFR6FA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJRGIYDCOBSHA3KM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#issuecomment-4112018286>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/B7IHA467S5BM5VTF3CQQJJD4SFR6FAVCNFSM6AAAAACWYX2LFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DCMJSGAYTQMRYGY>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI issue: Cleared dagrun/tasks status not immediately reflected in task status view [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun closed issue #63967: UI issue: Cleared dagrun/tasks status not immediately reflected in task status view
URL: https://github.com/apache/airflow/issues/63967
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI issue: Cleared dagrun/tasks not immediately reflected in task status view [airflow]
Posted by "shivaam (via GitHub)" <gi...@apache.org>.
shivaam commented on issue #63967:
URL: https://github.com/apache/airflow/issues/63967#issuecomment-4107202856
https://github.com/user-attachments/assets/534d930e-ad3f-4676-a7e3-06feb04c07dc
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI issue: Cleared dagrun/tasks not immediately reflected in task status view [airflow]
Posted by "shivaam (via GitHub)" <gi...@apache.org>.
shivaam commented on issue #63967:
URL: https://github.com/apache/airflow/issues/63967#issuecomment-4107155213
@atul-astronomer How do you know some tasks did not just complete after the you cleared the dag run? I think the dag was already scheduled and first two tasks could have been completed during the refresh.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI issue: Cleared dagrun/tasks not immediately reflected in task status view [airflow]
Posted by "shivaam (via GitHub)" <gi...@apache.org>.
shivaam commented on issue #63967:
URL: https://github.com/apache/airflow/issues/63967#issuecomment-4107204415
I investigated this and believe this is **not a UI bug** — the behavior is expected.
When you clear a DAG run, Airflow re-queues all tasks for execution. If the first few tasks are fast (completing in seconds), they finish **before the Grid view's next refresh cycle**, making it look like they were never cleared.
**To verify:** Run a DAG where the first tasks have a long `sleep` (e.g., 60s), then clear. You'll see all tasks correctly transition to `None`/`queued` — confirming the clear worked. With fast tasks, steps 2-4 happen in under a second:
1. Clear → tasks reset to `None`
2. Scheduler re-queues immediately → `queued`
3. Worker executes → `success`
4. Grid refreshes → shows `success` (looks unchanged, but tasks were actually cleared and re-ran)
I tested this on a live Airflow 3.2 instance with both fast and slow tasks — the Grid view correctly reflects task state in all cases.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI issue: Cleared dagrun/tasks status not immediately reflected in task status view [airflow]
Posted by "atul-astronomer (via GitHub)" <gi...@apache.org>.
atul-astronomer commented on issue #63967:
URL: https://github.com/apache/airflow/issues/63967#issuecomment-4108343136
@shivaam I understand what you are saying but current behaviour is different than 3.1.8
With current behaviour, dagrun stays in no-status for couple of seconds when user clears the dagrun and in that ~2 seconds, a few tasks are cleared and hence user does not see the task status changing in real time.
The correct behaviour should be, all tasks should be in no-status when dagrun status is no-status
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI issue: Cleared dagrun/tasks status not immediately reflected in task status view [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on issue #63967:
URL: https://github.com/apache/airflow/issues/63967#issuecomment-4111872166
That's expected and a side effect of having a batched streamed TISummaries endpoint. (for optimization reason)
What you are seing is a small delay as to when the 'Run' and 'TIs' data are invalided. This is due to the recent optimization of the TIs summaries endpoint, refresh rate is the same as the Run refresh rate, but they are not perfectly in sync because of implementation details. (Run uses the react query interface, while TIs for performence reason use a lower custom implementation stream reading impl).
Just after the Run is cleared, after a really short delay (less than a second), we can see in your recording that the TIs summaries are refetched.
But I agree not exactly at the same time as the Run is.
I'll close this for now because I think it's a really reasonable side effect compared to the optimization performance gain. And considering the implementation details it would probably require some effort to sync those refreshes to the same render.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI issue: Cleared dagrun/tasks status not immediately reflected in task status view [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun closed issue #63967: UI issue: Cleared dagrun/tasks status not immediately reflected in task status view
URL: https://github.com/apache/airflow/issues/63967
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org