haseebmalik18 opened a new pull request, #69110:
URL: https://github.com/apache/airflow/pull/69110
`DagModel.fileloc` is nullable, but `DAGResponse` typed it as `fileloc:
str`. So a Dag that has runs but a null `fileloc` (for example one run through
`dag.test()` or the system-test harness) made `GET /dags/{id}` and
`/dags/{id}/details` fail
validation and return 500, leaving the detail page stuck loading.
This makes `fileloc` nullable so those endpoints return 200 and the page
renders the Dag with its runs. The OpenAPI spec, UI client, and airflow-ctl
datamodels are regenerated to match, and the UI handles a missing file location.
closes: #69035
--
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]