You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NetworkOutputBuffer now rejects a batch size of zero or less during construction. This prevents invalid workflow settings from silently turning buffered transfer into one message per tuple.
The characterization and pending tests are replaced with one active regression test covering zero and negative values. Existing tests continue to cover valid batch sizes.
Before: A nonpositive batch size was accepted.
After: A nonpositive batch size raises IllegalArgumentException.
The active regression test failed before the production change with 16 tests passing and 1 test failing. It passed after the change with all 17 tests passing.
sbt "set DAO / Compile / sourceGenerators := Seq.empty""WorkflowExecutionService / Test / testOnly org.apache.texera.amber.engine.architecture.sendsemantics.partitioners.NetworkOutputBufferSpec"
sbt "set DAO / Compile / sourceGenerators := Seq.empty""scalafixAll --check"
sbt scalafmtCheckAll
Was this PR authored or co-authored using generative AI tooling?
This fix: PR was checked against each actively-supported release branch. release/* labels drive the post-merge backport, so add or remove one to change where this fix lands.
Release branch
Analysis
✅ release/v1.2
Already labeled — this fix is queued to backport here.
Compared against main 2173ec5 benchmarked on this same runner, so the delta is largely free of cross-runner hardware noise. The "7d avg" column still reflects the gh-pages dashboard. Treat <±5% as noise unless repeated.
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.98%. Comparing base (2173ec5) to head (27710f8). ⚠️ Report is 189 commits behind head on main.
✅ All tests successful. No failed tests found.
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
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.
What changes were proposed in this PR?
NetworkOutputBuffernow rejects a batch size of zero or less during construction. This prevents invalid workflow settings from silently turning buffered transfer into one message per tuple.The characterization and pending tests are replaced with one active regression test covering zero and negative values. Existing tests continue to cover valid batch sizes.
Before: A nonpositive batch size was accepted.
After: A nonpositive batch size raises
IllegalArgumentException.This change removes 39 lines overall.
Any related issues, documentation, discussions?
Closes #8089
How was this PR tested?
The active regression test failed before the production change with 16 tests passing and 1 test failing. It passed after the change with all 17 tests passing.
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Codex