Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions airflow-core/src/airflow/models/dagrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -2005,6 +2005,8 @@ def schedule_tis(
# to render start_from_trigger in the scheduler. If we need to
# render the value in a worker, it kind of defeats the purpose of
# this feature (which is to save a worker process if possible).
# Re-enabled on main by #55068 but not backported to 3.2;
# decision tracked at https://github.com/apache/airflow/issues/66307
# elif task.start_trigger_args is not None:
# if task.expand_start_from_trigger(context=ti.get_template_context()):
# ti.start_date = timezone.utcnow()
Expand Down
5 changes: 5 additions & 0 deletions airflow-core/tests/unit/models/test_dagrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -2260,6 +2260,11 @@ def test_schedule_tis_only_one_scheduler_update_succeeds_when_competing(dag_make
assert refreshed_ti.try_number == 1


@pytest.mark.skip(
reason="start_from_trigger scheduling path is disabled on v3-2-test "
"(re-enabled on main by #55068, not backported); "
"tracked at https://github.com/apache/airflow/issues/66307"
)
@pytest.mark.need_serialized_dag
def test_schedule_tis_start_trigger(dag_maker, session):
"""
Expand Down
Loading