The GitHub Actions job "Tests (AMD)" on airflow.git/fix/issue-67707-task-instances-mark-success-downstream-clearing has failed. Run started by GitHub user anmolxlight (triggered by anmolxlight).
Head commit for run: 6b35d9bf439f0c1deb33ec2289b48381595d2a2f / Anmol Mishra <[email protected]> fix: restore Airflow 2 Task Instances view semantics for mark-success Closes #67707 In Airflow 2, marking a task as success from the Task Instances view (Browse -> Task Instances) used ti.set_state() directly — it only changed the selected task instance's state and did NOT clear or resume downstream tasks that were in upstream_failed or failed state. Airflow 3's dag.set_task_instance_state() unconditionally cleared downstream failed/upstream_failed tasks after setting state, even when downstream=False was passed. This broke backward compatibility for users migrating from Airflow 2 who relied on the Task Instances view preserving downstream task state. This change gates the downstream clearing behavior behind the downstream parameter: - downstream=False (default): Only the target TI state is changed (Airflow 2 Task Instances view semantics). - downstream=True: Downstream failed/upstream_failed tasks are also cleared and can resume (existing Airflow 3 DAG/Grid view semantics). The same fix is applied to set_task_group_state() for consistency. Report URL: https://github.com/apache/airflow/actions/runs/26697430910 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
