devnp2007 commented on PR #77023:
URL: https://github.com/apache/airflow/pull/77023#issuecomment-6888660958

   Thanks @seanghaeli! I've updated the PR to address the design considerations 
from #76997:
   
   - **Producer vs. Consumer ownership (`is_producer`):** Stored per-Dag 
`DeadlineAlert` records so producer contracts (`outlets=[Asset(..., 
deadline=...)]`) and consumer SLAs (`schedule=Asset(..., deadline=...)`) are 
clearly distinguished while pooling evaluation across identical rules.
   - **Recovery lifecycle (`resolved_at` & `on_resolve`):** Late deadlines 
(`missed=True, resolved_at=None`) transition to resolved (`resolved_at = 
asset_event.timestamp`) when an `AssetEvent` arrives, firing an optional 
`on_resolve` callback with `resolved=True` context before scheduling the next 
window.
   - **Partitioning & `PartitionedAssetTimetable`:** Added partition-aware 
scheduling/pruning via `_discover_asset_partition_keys()` as well as Dag-level 
`run_deadline` support on `PartitionedAssetTimetable`.
   - **Core REST API:** Added `GET /api/v2/assets/{asset_id}/deadlines` and 
updated the OpenAPI spec (`v2-rest-api-generated.yaml`).
   - **UI Companion:** Added the `/assets/:assetId/deadlines` view in stacked 
PR #77047.
   
   Could a maintainer approve the pending CI workflows so the full test suite 
can run?


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