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

   closes #69249
   
   ## What this PR changes
   - make dag parsing persistence robust when the in-memory bundle version 
cache has no entry for a bundle
   - use a safe lookup in  so persistence still proceeds with 
   - add a regression test that verifies parsing results are persisted when the 
bundle version cache is missing
   
   ## Why this fixes the issue
   After a dag-processor restart, parsing can proceed before  is populated for 
a bundle. The previous direct index access raised , which short-circuited 
persistence and prevented normal DAG metadata updates. Falling back to  keeps 
persistence moving and allows stale DAG state to be refreshed instead of 
remaining stuck.
   
   ## Tests
   - 2 files left unchanged
   - All checks passed!
   -  *(fails during collection in this environment with  before running tests)*


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