Aias00 opened a new issue, #6955:
URL: https://github.com/apache/rocketmq-dashboard/issues/6955

   ## Gap
   
   On `rocketmq-studio@c34535db0`, `AgentStreamSession` coordinates replay 
buffering, terminal frames, detach notification and scheduled heartbeat 
delivery. Run/service tests exercise the class indirectly, but the session has 
no dedicated contract suite for overflow and competing terminal callbacks.
   
   ## Proposed bounded change
   
   Add direct tests using the existing recording emitter plus controlled 
scheduler callbacks. Lock down: bounded replay buffering and continued delivery 
after replay; exactly one terminal completion under competing 
`complete`/`completeWithError`; idempotent detach and buffer discard; heartbeat 
cancellation and suppression after close; and send-failure detachment. No new 
production seam or dependency is needed.
   
   This issue does not propose a new replay ordering algorithm (that has 
separate existing work) or claim these contracts are currently broken. The 
tests should discriminate meaningful mutations to the close gate, buffer bound 
and heartbeat/detach cleanup.
   
   Run the session and surrounding registry/run/controller suites on Java 21, 
Maven Checkstyle and diff checks.
   


-- 
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