aglinxinyuan opened a new issue, #4749: URL: https://github.com/apache/texera/issues/4749
### Task Summary `FlowControl` (`amber/src/main/scala/org/apache/texera/amber/engine/architecture/messaginglayer/FlowControl.scala`) implements credit-based backpressure for outbound channels but currently has no unit tests. Add `FlowControlSpec` covering: - Initial state: full credit, not overloaded - `getMessagesToSend(msg)` forwards when credit available; stashes and marks overloaded when not - Stashed messages drain once credit is restored - `updateQueuedCredit` shrinks available credit and is relative (not cumulative) - `decreaseInflightCredit` adjusts the inflight bucket and updates available credit accordingly ### Priority P3 – Low ### Task Type - [x] Testing / QA -- 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]
