ephraimbuddy commented on code in PR #74794: URL: https://github.com/apache/airflow/pull/74794#discussion_r4536135627
########## airflow-core/src/airflow/dag_processing/processor.py: ########## @@ -183,6 +193,21 @@ class DagFileParsingResult(BaseModel): ] [email protected]() +class _DagParseCommsDecoder(CommsDecoder[ToDagProcessor, ToManager]): + api_request_failed: bool = attrs.field(default=False, init=False) + """Whether the Dag processor could not answer a request of this process through the Execution API.""" + + def _from_frame(self, frame) -> ToDagProcessor | None: Review Comment: Unanswered requests now count as API failures for both `send` and `asend`, and only their matching responses clear them. An import timeout therefore retries the callback batch when none of its targets loaded, within the existing retry deadline. Regression tests cover interrupted imports and response-ID matching. --- Drafted-by: Codex (GPT-6); reviewed by @ephraimbuddy 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]
