ephraimbuddy commented on code in PR #61550:
URL: https://github.com/apache/airflow/pull/61550#discussion_r3485777802
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/dag_run.py:
##########
@@ -702,9 +702,10 @@ def trigger_dag_run(
else:
triggered_by = DagRunTriggeredByType.REST_API
- dag = get_latest_version_of_dag(dag_bag, dag_id, session)
try:
+ dag = get_latest_version_of_dag(dag_bag, dag_id, session)
Review Comment:
Can you add a test where v1 is partitioned or custom-timetabled and v2 is
non-partitioned/default, then trigger with `bundle_version="v1"`. Then check
whether it ran and if the metadata is generated correctly from v1. I doubt it
will generate correctly.
--
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]