Anurag-S1ngh commented on PR #77086:
URL: https://github.com/apache/airflow/pull/77086#issuecomment-7319094780

   Addressed all three points in the latest push.
   
   - The migration is now `0159` with `down_revision = "feb8b1e719ee"`, rebased 
on the `used_by_ref` rename, and the revision heads map and migration reference 
are updated. The Triggers page shows the finished status.
   - Watcher triggers record their asset in `used_by_ref` while the watcher 
still exists, so `PermittedTriggerFilter` and both trigger endpoints work after 
it goes. A finished trigger is returned with `finished_at`, its last error, and 
the asset it recorded; deferred task triggers are also listed after their task 
instance lets go. Tests read finished watcher and task triggers through the API.
   - Removed the UPDATE from `get_sorted_triggers`. `finished_at` is cleared in 
`add_asset_trigger_references` when a reference is added, with tests for the 
recorded asset and revival.


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