JH0917 commented on code in PR #68792:
URL: https://github.com/apache/airflow/pull/68792#discussion_r3893772994
##########
airflow-core/src/airflow/jobs/triggerer_job_runner.py:
##########
@@ -332,6 +332,8 @@ class TriggerStateChanges(BaseModel):
# Format of list[str] is the exc traceback format
failures: list[tuple[int, list[str] | None]] | None = None
finished: list[int] | None = None
+ # Ids the runner has a live coroutine for
+ running_ids: set[int] = set()
Review Comment:
Applied -- thanks for the review. I agree that if the field is missing,
defaulting to `None` is safer than creating all triggers again. Added a test
for the `None` path.
--
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]