You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "junaiddshaukat (via GitHub)" <gi...@apache.org> on 2026/07/19 06:03:07 UTC
[PR] [GSoC 2026] Kafka Streams runner: validatesRunner task; Create and Flatten suites green [beam]
junaiddshaukat opened a new pull request, #39380:
URL: https://github.com/apache/beam/pull/39380
Adds the \`validatesRunner\` gradle task, running Beam's @ValidatesRunner tests
(from the SDK core test jar) against \`TestKafkaStreamsRunner\` -- category
excludes for features the runner does not support yet (side inputs, state,
timers, TestStream, unbounded, SDF, ...) plus a sickbay list for known-failing
tests. Part of #18479; this is the milestone the midterm pointed at.
Current results:
- \`CreateTest\`: 5/5
- \`FlattenTest\`: 13/13, 1 sickbayed (needs multi-output executable stages --
output-tag dispatch in the stage processor; follow-up)
Enabling the suite immediately caught three real bugs, fixed here:
1. Impulse bootstrap topics are now per-transform. A pipeline can contain two
Impulses (an empty \`Create\` plus the dummy branch \`PAssert\` adds
internally), and Kafka Streams rejects registering the same topic on two
source nodes.
2. \`Flatten\` is no longer declared in \`knownUrns()\`. Declaring it native made
\`TrivialNativeTransformExpander\` corrupt the fused graph of a multi-branch
Flatten whose inputs come from composite expansions (the fuser's own
validation failed with "consumed but never produced"). This one change fixed
four failing tests. Mirrors the Flink runner, which keeps Read out of its
known URNs for expander reasons.
3. A Flatten of zero PCollections is rewritten before fusion into a primitive
Read of a new \`EmptyBoundedSource\`. A zero-input Flatten is a root of the
pipeline graph, and \`GreedyPipelineFuser\` only accepts Impulse or Read
roots; an empty read has exactly the right semantics (no elements, then the
terminal watermark) and reuses the existing Read translator.
Next: enabling the GroupByKey and ParDo suites and triaging their failures the
same way, and a follow-up issue for multi-output executable stages.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [GSoC 2026] Kafka Streams runner: validatesRunner task; Create and Flatten suites green [beam]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #39380:
URL: https://github.com/apache/beam/pull/39380#issuecomment-5015003064
Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment `assign set of reviewers`
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [GSoC 2026] Kafka Streams runner: validatesRunner task; Create and Flatten suites green [beam]
Posted by "gemini-code-assist[bot] (via GitHub)" <gi...@apache.org>.
gemini-code-assist[bot] commented on PR #39380:
URL: https://github.com/apache/beam/pull/39380#issuecomment-5014644615
## Summary of Changes
This pull request enables the 'validatesRunner' test suite for the Kafka Streams runner, significantly improving the runner's validation capabilities. The changes address critical issues discovered during testing, specifically regarding how Impulse transforms register topics and how Flatten transforms are handled within the pipeline graph to avoid fusion errors.
### Highlights
* **ValidatesRunner Task**: Introduced a new 'validatesRunner' Gradle task to execute Beam's core test suite against the TestKafkaStreamsRunner, including a sickbay mechanism for known-failing tests.
* **Impulse Bootstrap Topics**: Updated Impulse bootstrap topics to be unique per-transform, preventing Kafka Streams from rejecting topologies with multiple Impulse sources.
* **Flatten Transform Handling**: Removed Flatten from known URNs to improve graph fusion and implemented a rewrite for zero-input Flattens into empty BoundedSources to ensure correct pipeline graph roots.
<details>
<summary><b>New Features</b></summary>
🧠You can now enable **Memory** (public preview) to help **Gemini Code Assist** learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. **Click [here](https://codeassist.google/code-review/login) to enable Memory in your admin console.**
</details>
<details>
<summary><b>Activity</b></summary>
* Pull request created by junaiddshaukat.
* Gemini summary generation failed initially.
* Author requested summary generation via '/gemini summary'.
</details>
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [GSoC 2026] Kafka Streams runner: validatesRunner task; Create and Flatten suites green [beam]
Posted by "je-ik (via GitHub)" <gi...@apache.org>.
je-ik merged PR #39380:
URL: https://github.com/apache/beam/pull/39380
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [GSoC 2026] Kafka Streams runner: validatesRunner task; Create and Flatten suites green [beam]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #39380:
URL: https://github.com/apache/beam/pull/39380#issuecomment-5014844715
Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment `assign set of reviewers`
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [GSoC 2026] Kafka Streams runner: validatesRunner task; Create and Flatten suites green [beam]
Posted by "gemini-code-assist[bot] (via GitHub)" <gi...@apache.org>.
gemini-code-assist[bot] commented on PR #39380:
URL: https://github.com/apache/beam/pull/39380#issuecomment-5014638838
> [!WARNING]
> Gemini encountered an error creating the summary. You can try again by commenting `/gemini summary`.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [GSoC 2026] Kafka Streams runner: validatesRunner task; Create and Flatten suites green [beam]
Posted by "junaiddshaukat (via GitHub)" <gi...@apache.org>.
junaiddshaukat commented on PR #39380:
URL: https://github.com/apache/beam/pull/39380#issuecomment-5014644238
/gemini summary
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org