carloea2 opened a new pull request, #8090:
URL: https://github.com/apache/texera/pull/8090

   ### What changes were proposed in this PR?
   
   `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`.
   
   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.
   
   ```shell
   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?
   
   Generated-by: OpenAI Codex, GPT-5


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to