Rework StackdriverTaskHandler for the structlog era #65191#65198
Open
haseebmalik18 wants to merge 2 commits intoapache:mainfrom
Open
Rework StackdriverTaskHandler for the structlog era #65191#65198haseebmalik18 wants to merge 2 commits intoapache:mainfrom
haseebmalik18 wants to merge 2 commits intoapache:mainfrom
Conversation
eladkal
reviewed
Apr 14, 2026
Contributor
There was a problem hiding this comment.
If possible this file should be extracted to a separated PR since core and providers don't have the same release cycle
Member
There was a problem hiding this comment.
@amoghrajesh This sort of change (needing this in the provider for it to be functional) was exactly the sort of thing I wanted us to look at
ashb
requested changes
Apr 14, 2026
Member
ashb
left a comment
There was a problem hiding this comment.
Please follow the pattern used for for the other Google logging provider -- make the *TaskHandler have a self.io property of the new Remote IO class and delegate things to it, rather than duplicating all the logic twice.
5fdf14f to
4f52dbc
Compare
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.
Add
StackdriverRemoteLogIOwithprocessorsfor real-time log streaming,upload(), andread()methods following the same pattern as CloudWatch, GCS, S3, HDFS, and other backends migrated in #48491.Update
airflow_local_settings.pyto setREMOTE_TASK_LOGinstead of patchingDEFAULT_LOGGING_CONFIGhandlers.closes: #65191