You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/06 00:39:12 UTC
[PR] test: cover queue browser and trace-by-key message APIs [rocketmq-dashboard]
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] test: cover queue browser and trace-by-key message APIs [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3896: test: cover queue browser and trace-by-key message APIs
URL: https://github.com/apache/rocketmq-dashboard/pull/3896
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org