luc-pimentel commented on PR #75569:
URL: https://github.com/apache/airflow/pull/75569#issuecomment-7053604489

   This PR fixes one case of a wider gap: a Lang-SDK Dag is never built by the 
Python classes, so their checks never run on it. Two more cases were fixed on 
November 20, in two different places, and I'd like to confirm this PR uses the 
right one.
   
   #76803 put the loop checks in `_handle_parsing_result` in 
`lang_sdk_processor.py`, which only Lang-SDK Dags go through. This PR checks 
the ids in the same spot. #77304 put the timetable check in 
`validate_serialized_dag`, which also runs on Python Dags published through the 
Execution API.
   
   Should the id checks stay here or move to `validate_serialized_dag`? I kept 
them out of it because the Task SDK does not check a mapped task's id, so a 
Python Dag with one like `has space` loads today and would become an import 
error there. I can move them if you prefer one place for all of these.
   
   ---
   Drafted-by: Claude Code (claude-fable-5-2); reviewed by @luc-pimentel before 
posting
   


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