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

   ### Motivation
   
   The message API tests covered listing, paging, tracing by id, and direct 
consumption, but trace-by-key lookup and the queue browser endpoints (offsets 
and offset pulls) had no coverage. This PR adds four cases.
   
   ### Changes
   
   - `getMessageTraceByKey` forwards `key` plus instance/topic context to 
`/messages/trace-by-key`.
   - `getQueueOffsets` loads the per-broker queue bounds for a topic.
   - `pullMessageAtOffset` pulls the message stored at a precise 
broker/queue/offset, and resolves `null` when no message exists there.
   
   ### Verification
   
   - `vitest run src/api/message.test.ts`: 11/11 passed
   - `tsc --noEmit`: clean
   - `eslint src/api/message.test.ts`: clean


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