You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yuluo-yx (via GitHub)" <gi...@apache.org> on 2026/08/13 16:23:20 UTC

[I] [Studio] NameServer drift selector mixes instance names and IDs [rocketmq-dashboard]

yuluo-yx opened a new issue, #2153:
URL: https://github.com/apache/rocketmq-dashboard/issues/2153

   ## Affected branch
   
   rocketmq-studio at 737a7b4d
   
   ## Problem
   
   The NameServer configuration drift page initializes selectedInstanceId with Instance.id, but builds Select option values from Instance.name. The initial value is outside the option domain, so the selector can show a raw ID. After selection, the page also passes a name through variables and APIs that represent an instance ID.
   
   ## Expected behavior
   
   The selector and all downstream drift requests should use Instance.id consistently while displaying Instance.name as the label.
   
   ## Reproduction
   
   Load two instances whose IDs differ from their names, inspect the initial selector label, then select the second instance and inspect request arguments.


-- 
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] [Studio] NameServer drift selector mixes instance names and IDs [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #2153: [Studio] NameServer drift selector mixes instance names and IDs
URL: https://github.com/apache/rocketmq-dashboard/issues/2153


-- 
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] [Studio] NameServer drift selector mixes instance names and IDs [rocketmq-dashboard]

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

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The selector initializes `selectedInstanceId` with `Instance.id` but builds option values from `Instance.name`. This creates a domain mismatch — the initial value is never found in the option list, causing the selector to display a raw ID. Downstream APIs then receive inconsistent identifiers.
   
   **Root Cause:** Inconsistent use of `Instance.id` vs `Instance.name` as the selector value key.
   **Impact:** Incorrect drift analysis results when the selector defaults to an unmatched ID; confusing UI state.
   **Severity:** medium — affects NameServer drift analysis correctness.
   
   Suggested fix: use `Instance.id` consistently as the option value and display `Instance.name` as the label. Ensure all downstream drift API calls pass the ID.
   
   ---
   *Automated evaluation by github-manager-bot*


-- 
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] [Studio] NameServer drift selector mixes instance names and IDs [rocketmq-dashboard]

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

   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