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 21:03:48 UTC

[I] [Bug] The metrics explorer hands one account the query history of another [rocketmq-dashboard]

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

   ### Studio Version
   branch: `rocketmq-studio` @ `7e7aa344`
   ### Runtime Environment
   Frontend tests: `cd web && npx vitest run src/utils/metricsExplorerDiagnostics.test.ts`.
   ### Describe the Bug
   The metrics explorer keeps its query history in localStorage under one global key, loaded once when the panel mounts and cleared only by the explicit button. Logout clears the auth store's own keys only, so the next account on a shared browser sees the previous account's history: PromQL text, metric/profile names, instance ids, data-source keys and the queried windows are rendered in the drawer and can be re-run under the new session. `/ops/dashboard` has no admin gate, so any signed-in account reaches the panel. The sibling client stores (composer draft, prompt templates, trace-topic preference) already carry the account in their keys.
   ### Steps to Reproduce
   1. Sign in as A, run queries in the metrics explorer. 2. Sign out, sign in as B, open the explorer: A's history is listed.
   ### What Did You Expect to See?
   An empty history for B.
   ### What Did You See Instead?
   A's queries, re-runnable.
   ### Impact
   Cross-account disclosure of query content (including instance and data-source identifiers) on a shared workstation.
   ### Acceptance Criteria
   The history is stored per account, the key builder is exported for the panel's tests, and a regression test proves the isolation.
   **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 metrics explorer hands one account the query history of another [rocketmq-dashboard]

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

   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


Re: [I] [Bug] The metrics explorer hands one account the query history of another [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #5982: [Bug] The metrics explorer hands one account the query history of another
URL: https://github.com/apache/rocketmq-dashboard/issues/5982


-- 
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 metrics explorer hands one account the query history of another [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #5982: [Bug] The metrics explorer hands one account the query history of another
URL: https://github.com/apache/rocketmq-dashboard/issues/5982


-- 
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 metrics explorer hands one account the query history of another [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on issue #5982:
URL: https://github.com/apache/rocketmq-dashboard/issues/5982#issuecomment-6416758769

   Resolved by #7145 (merged into rocketmq-studio as 128fd3c49).


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