Skip to content

fix(composer): add beam_pipe_deadlock_fix - #14998

Merged
rafalbiegacz merged 1 commit into
GoogleCloudPlatform:mainfrom
mpapierowski:beam-fix
Nov 26, 2026
Merged

rafalbiegacz merged 1 commit into
GoogleCloudPlatform:mainfrom
mpapierowski:beam-fix

Conversation

@mpapierowski

Copy link
Copy Markdown
Member

Description

A workaround for inter-process pipe deadlock in Apache Beam Airflow provider.

Checklist

Testing

  • I have tested this change on a live environment and verified it works as intended.

Compliance & Style


Post-Approval Actions

  • Please merge this PR for me once it is approved

@mpapierowski
mpapierowski requested review from a team as code owners November 26, 2026 13:42
@snippet-bot

snippet-bot Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label Bot added api: composer Issues related to the Managed Service for Apache Airflow API. samples Issues that are directly related to samples. labels Nov 26, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new Airflow plugin BeamPipeDeadlockFixPlugin to work around an Apache Beam subprocess pipe deadlock in Cloud Composer by merging stderr into stdout. A review comment highlights a potential resource leak and zombie process issue when the function returns early upon a successful stop_callback(), suggesting to terminate and wait on the subprocess before returning.

@rafalbiegacz
rafalbiegacz merged commit cd16d64 into GoogleCloudPlatform:main Nov 26, 2026
10 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: composer Issues related to the Managed Service for Apache Airflow API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants