tstrilka opened a new pull request, #60409:
URL: https://github.com/apache/airflow/pull/60409

   ## Summary
   
   Implements `on_task_instance_skipped` hook support in the OpenLineage 
provider listener to emit COMPLETE events when tasks are skipped via 
`AirflowSkipException`.
   
   This is a follow-up to #59467 which added the `on_task_instance_skipped` 
hookspec to Airflow core.
   
   Related: #59370
   
   ## Changes
   
   - Added `on_task_instance_skipped` hookimpl to `OpenLineageListener`
   - Added `_on_task_instance_skipped` method to handle `RuntimeTaskInstance` 
(worker execution)
   - Extended `_on_task_instance_manual_state_change` to handle SKIPPED state 
(API/UI state changes)
   - Added 3 unit tests for the new functionality
   
   ## Test plan
   
   - [x] Unit tests added for:
     - `RuntimeTaskInstance` path (task raises `AirflowSkipException`)
     - Disabled operator check
     - TaskInstance path (manual state change via API)
   


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