Aias00 opened a new pull request, #6959:
URL: https://github.com/apache/rocketmq-dashboard/pull/6959

   ### Which Issue(s) This PR Fixes
   
   - Fixes #6955
   
   ### Brief Description
   
   Add direct `AgentStreamSession` tests for bounded replay buffering, resumed 
live delivery, buffer discard on detach, exactly-once competing terminal 
callbacks, heartbeat cancellation and send-failure detachment. Reuse the 
existing recording emitter and controlled scheduler callbacks; no production 
seam or dependency is added.
   
   ### How Did You Test This Change?
   
   - Java 21: `mvn -B -ntp test 
-Dtest='AgentStreamSessionTest,AgentRunRegistryTest,AiRunExecutorTest,AiRunServiceTest,AiConversationControllerTest'`:
 90 tests, 0 failures/errors/skips; Checkstyle passed.
   - Mutation check: weakening the buffer bound and bypassing the terminal gate 
causes 3 of the 5 new tests to fail. Restoring production code returns the 
suite to green.
   - `git diff --check` passed. Only the new test file is committed.
   
   ### Checklist
   
   - [x] One coherent test-coverage change
   - [x] Conventional Commit and DCO sign-off
   - [x] Test methods end in Test
   - [x] New file has an ASF license header
   - [x] Production behavior and event contracts unchanged
   


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