JH0917 commented on PR #68792:
URL: https://github.com/apache/airflow/pull/68792#issuecomment-6014408341

   Added `self.releasing_triggers -= unhandled` (`:817`) and extended the 
recovery
   test to cover an unhandled id that is also in `releasing_triggers`, asserting
   it gets re-created. The workflow runs need approving again.
   
   It traces exactly as you said. A trigger being released is added to
   `releasing_triggers` (`:1056`) and stays in `running_triggers` as well
   (`:1029-1030`), so it can be among the unhandled ids. All three sets feed
   `known_trigger_ids` (`:1022-1027`), so clearing only two of them leaves the 
id
   there and `update_triggers` never rebuilds it. Besides the line above, the 
only
   thing that clears `releasing_triggers` is the `finished` handler at `:608`, 
and
   the re-sent `to_release` cannot produce that report -- `cancel_triggers` 
skips
   ids it does not hold (`:1513`).
   
   ---
   Drafted-by: Claude Code (Opus 5); reviewed by @JH0917 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