Add on_task_instance_skipped support to OpenLineage listener#60409
Merged
mobuchowski merged 1 commit intoapache:mainfrom Jan 12, 2026
Merged
Add on_task_instance_skipped support to OpenLineage listener#60409mobuchowski merged 1 commit intoapache:mainfrom
mobuchowski merged 1 commit intoapache:mainfrom
Conversation
Contributor
|
@tstrilka code formatting is failing: https://github.com/apache/airflow/actions/runs/20921891743/job/60110209910?pr=60409 |
0e16d0e to
396324f
Compare
mobuchowski
approved these changes
Jan 12, 2026
Contributor
Author
|
Thanks for the review @mobuchowski! Appreciate the guidance on the original PR split as well. |
iharsh02
pushed a commit
to iharsh02/airflow
that referenced
this pull request
Jan 13, 2026
jason810496
pushed a commit
to jason810496/airflow
that referenced
this pull request
Jan 22, 2026
jhgoebbert
pushed a commit
to jhgoebbert/airflow_Owen-CH-Leung
that referenced
this pull request
Feb 8, 2026
3 tasks
choo121600
pushed a commit
to choo121600/airflow
that referenced
this pull request
Feb 22, 2026
Subham-KRLX
pushed a commit
to Subham-KRLX/airflow
that referenced
this pull request
Mar 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements
on_task_instance_skippedhook support in the OpenLineage provider listener to emit COMPLETE events when tasks are skipped viaAirflowSkipException.This is a follow-up to #59467 which added the
on_task_instance_skippedhookspec to Airflow core.Related: #59370
Changes
on_task_instance_skippedhookimpl toOpenLineageListener_on_task_instance_skippedmethod to handleRuntimeTaskInstance(worker execution)_on_task_instance_manual_state_changeto handle SKIPPED state (API/UI state changes)Test plan
RuntimeTaskInstancepath (task raisesAirflowSkipException)