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

   ### What changes were proposed in this PR?
   
   Coordinate start- and end-channel markers by channel identity in the Python 
worker. The data processor now tracks active channels explicitly, validates 
marker ports, and finishes a channel only after every participating input has 
ended.
   
   This prevents one input's end marker from closing a multi-input channel 
prematurely while preserving the existing behavior for ordinary single-input 
channels.
   
   ### Any related issues, documentation, discussions?
   
   Related to #8319.
   
   ### How was this PR tested?
   
   ```powershell
   python -m pytest 
amber/src/test/python/core/architecture/handlers/control/test_channel_marker_handlers.py
 amber/src/test/python/core/runnables/test_data_processor.py 
amber/src/test/python/core/runnables/test_main_loop.py -q
   ```
   
   Result: 61 passed.
   
   The tests cover valid multi-input channel coordination and invalid marker 
ports.
   
   ### 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