kirubankamaraj commented on PR #54886: URL: https://github.com/apache/airflow/pull/54886#issuecomment-3424887232
> The way it currently works it that on an Trigger exception, we always create a new child DagRun. > > We are not actually 'clearing' the corresponding child run. Every child tasks will be run again (failed or success) independently of the parent settings for clearing. > > I tried with your change and I can confirm that a new run is created for the triggered dag. @pierrejeambrun have you tested with trigger_run_id param? I have tested this changes it work correctly for me. If the child DAG Run already present then it will only clear (Reset to NOT EXECUTED) the failed if we configured reset_mode = 'only_failed'. > configure whether or not we should create a new 'child' run for triggered operator or clear the corresponding dag run. for this if the trigger_run_id mentioned in TriggerDagRunOperator then it will use the same DAG Run. (already present). Am I miss anything? Due to office work it's delayed to test. -- 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]
