Subham-KRLX opened a new pull request, #64945:
URL: https://github.com/apache/airflow/pull/64945

   This PR fixes a bug where TriggerDagRunOperator failed with a 404 Not Found 
error when executed via dag.test().
   
   The issue was caused by an overly restrictive parsing context in the test() 
method that limited DAG synchronization to only the specific DAG being tested. 
This meant that any target DAGs (triggered by the test) were never synchronized 
to the metadata database, making them invisible to the in-process Execution API.
   
   Changes:
   
   Removed the _airflow_parsing_context_manager restriction from the bundle 
synchronization loop in dag.test().
   This ensures all DAGs in the test environment's bundles are properly 
synchronized to the DB before execution begins.
   closes: #64884
   
   Was generative AI tooling used to co-author this PR?
    Yes — Claude (For pr description)


-- 
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]

Reply via email to