tquazi opened a new pull request, #30478:
URL: https://github.com/apache/airflow/pull/30478

   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of an existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   closes: #30220
   
   This pull request adds ability to mark task groups as success/failure and 
have that propagate to the tasks within that task group. This feature is 
designed to provide a more efficient way to adjust the status of multiple tasks 
at once, especially for complex workflows with large numbers of tasks.
   
   One of the primary use cases for this feature is when certain tasks in a 
task group have failed due to unexpected issues. Instead of manually setting 
the status of each failed task to "failed", users can mark the entire task 
group as "failed", and the system will automatically propagate this status to 
all tasks within the group. Similarly, in the case of a manual DAG run 
triggered through the UI or the API, where certain tasks or sensors may not 
matter for that run, users can easily mark the entire task group as "success" 
to avoid having to set each task individually.
   
   I have tested this feature thoroughly on both local and development 
environments. Please let me know if there are any further changes or 
improvements that you would like me to make before merging this pull request.
   
   Thank you for your time and consideration.
   
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code changes, an Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in a 
newsfragment file, named `{pr_number}.significant.rst` or 
`{issue_number}.significant.rst`, in 
[newsfragments](https://github.com/apache/airflow/tree/main/newsfragments).
   


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to