You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "unbridled-41 (via GitHub)" <gi...@apache.org> on 2026/10/09 20:06:52 UTC

[I] [Bug] The Verify tab renders an empty consumer table when the trace request fails [rocketmq-dashboard]

unbridled-41 opened a new issue, #5953:
URL: https://github.com/apache/rocketmq-dashboard/issues/5953

   ### Studio Version
   branch: `rocketmq-studio` @ `7e7aa344` (the revision verified; the branch is based on it)
   deployed as: not required to reproduce
   
   ### Runtime Environment
   
   Reproduced with the frontend tests (`cd web && npx vitest run src/pages/instance/__tests__/MessagePageAsyncState.test.tsx`).
   
   ### Connected RocketMQ Cluster
   
   Any instance whose trace provider is not configured or fails; the same applies while the request is still in flight.
   
   ### Describe the Bug
   
   The Trace and Verify tabs render the same payload - `handleModalTabChange` fetches it on entering either - but only the Trace pane renders that request's state:
   
   ```tsx
   // trace tab
   {traceLoading ? <Text>{t('messagePage.loadingTrace')}</Text>
     : traceError ? <Alert type="warning" message={traceError} />
     : traceData?.nodes?.length ? ... : <Text>{t('messagePage.noTraceData')}</Text>}
   
   // consumer (Verify) tab
   <Table dataSource={traceData?.consumerStatus?.map(...) || []} ... />
   ```
   
   A failed or pending trace request therefore renders antd's empty-table placeholder on the Verify pane, which reads as "no consumer group consumed this message" - the opposite of the truth - and the only way to see the error is to switch tabs. The change that added the fetch for this tab (#4910) did not bring the request state along.
   
   ### Steps to Reproduce
   
   1. Point Studio at an instance whose trace provider is unavailable.
   2. Open a message's detail, select the 验证 tab.
   3. The consumer table is empty with no error and no loading state.
   
   ### What Did You Expect to See?
   
   The same loading/error presentation the Trace tab shows for the same request.
   
   ### What Did You See Instead?
   
   An empty table that looks like a measured "no consumers".
   
   ### Evidence
   
   - `web/src/pages/instance/message.tsx` (the two tab children, `handleModalTabChange`).
   - `cd web && npx vitest run src/pages/instance/__tests__/MessagePageAsyncState.test.tsx -t 'verify tab'` - fails before the fix.
   
   ### Impact
   
   The delivery-verification view reports "nothing consumed this message" when the data simply could not be loaded.
   
   ### Acceptance Criteria
   
   - The Verify pane renders the same loading text and error alert as the Trace pane, with a regression test.
   
   **Corresponding PR:** #ISSUEPR#
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] The Verify tab renders an empty consumer table when the trace request fails [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #5953: [Bug] The Verify tab renders an empty consumer table when the trace request fails
URL: https://github.com/apache/rocketmq-dashboard/issues/5953


-- 
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: [I] [Bug] The Verify tab renders an empty consumer table when the trace request fails [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5953:
URL: https://github.com/apache/rocketmq-dashboard/issues/5953#issuecomment-6227227599

   This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.


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