Skip to content

[pull] master from apache:master - #501

Merged
pull[bot] merged 8 commits into
section9-lab:masterfrom
apache:master
Jun 25, 2026
Merged

[pull] master from apache:master#501
pull[bot] merged 8 commits into
section9-lab:masterfrom
apache:master

Conversation

@pull

@pull pull Bot commented Jun 25, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

shunping and others added 8 commits June 24, 2026 15:55
Previously, in ExecutorServiceParallelExecutor, if an exception
occurred during registry cleanup (such as a timeout inside
DoFn teardown), the pipeline state was transitioned to terminal
before the exception was queued in `visibleUpdates`.

This introduced a race condition where `waitUntilFinish()` could
detect the terminal state and exit successfully before the
exception was offered to the updates queue, swallowing the exception.

This caused tests like `CallTest.givenTeardownTimeout_throwsError`
to fail since they expected the pipeline to throw an exception.
This change swaps the order so that the exception is posted to
`visibleUpdates` before updating the pipeline state to terminal,
ensuring the exception is always propagated.
Fix race condition in DirectRunner executor shutdown
…ms. (#39098)

* Fix JsonToRow swallowing downstream errors when runners fuse transforms.

Separate JSON parsing from MultiOutputReceiver output in ParseWithError so
exceptions from fused downstream consumers are not misreported as parse
failures. Fixes #20935.

* Address review: use MapElements in JsonToRow regression test.

Avoid anonymous DoFn capturing the non-serializable test instance so the
test is safe on runners that enforce DoFn serialization.

* Fix JsonToRow regression test for runner integration suites.

Use a static DoFn to avoid serialization issues, set row schema on the
downstream transform, and tag the test with ValidatesRunner so it can
run via Dataflow validatesRunner tasks.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Merge apache/beam master and fix JsonToRowTest for CI.

Rebase onto current master (1141 commits behind) and remove ValidatesRunner
category so the regression test only runs on DirectRunner needsRunnerTests.
Suppress UnusedVariable on ThrowingDownstreamDoFn for Error Prone.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
@pull pull Bot locked and limited conversation to collaborators Jun 25, 2026
@pull pull Bot added the ⤵️ pull label Jun 25, 2026
@pull
pull Bot merged commit 8092349 into section9-lab:master Jun 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants