Fastapi crash on accessing task instance whose dagrun is in queued state #46570
Labels
affected_version:3.0.0alpha
For all 3.0.0 alpha releases
area:API
Airflow's REST/HTTP API
area:core
area:task-execution-interface-aip72
AIP-72: Task Execution Interface (TEI) aka Task SDK
area:task-sdk
kind:bug
This is a clearly a bug
Apache Airflow version
3.0.0a1
If "Other Airflow 2 version" selected, which one?
No response
What happened?
On trying to access a task instance page with a dagrun in queued state I am getting below error.
start_date
can be None for dagrun in queued state likeend_date
and the type needs to be changed. The files have to be regenerated. I tried doing this but getting unrelated change on runninguv run --group codegen --project apache-airflow-task-sdk --directory task_sdk datamodel-codegen
airflow/airflow/api_fastapi/execution_api/datamodels/taskinstance.py
Lines 228 to 229 in 45d37da
http://localhost:8000/webapp/dags/read_asset_event_from_classic/runs/manual__2025-02-07T18:01:29.649946+00:00/tasks/read_asset_event_from_classic
What you think should happen instead?
No response
How to reproduce
Operating System
Ubuntu 20.04.3
Versions of Apache Airflow Providers
No response
Deployment
Virtualenv installation
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: