You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/12 08:55:38 UTC
[I] [Studio][Bug] Refresh instance mutations with the latest list filters [rocketmq-dashboard]
Aias00 opened a new issue, #1996:
URL: https://github.com/apache/rocketmq-dashboard/issues/1996
## Problem
The Studio instance page captures `loadInstances` when a create, update, or delete mutation starts. That callback also captures the search and instance-type filters from the same render.
If an operator changes the list filters while the mutation request is still in flight, the mutation completion invokes the stale callback. Its refresh request uses the old filters and can overwrite the table with results that no longer match the visible search/type controls.
## Reproduction
1. Open the Studio instance list with the default filters.
2. Start creating, updating, or deleting an instance while the API request remains pending.
3. Change the instance-type or search filter.
4. Complete the mutation request.
5. Observe that the post-mutation list request uses the filter captured before step 3 and publishes mismatched rows under the current filter.
## Expected behavior
Post-mutation refreshes must use the latest active instance-list filters. Existing request sequencing should continue preventing older responses from overwriting newer data.
## Scope
Track 1 / instance management frontend. Add focused regression coverage for a filter change while a mutation is pending.
--
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][Bug] Refresh instance mutations with the latest list filters [rocketmq-dashboard]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1996:
URL: https://github.com/apache/rocketmq-dashboard/issues/1996#issuecomment-5264707474
**Issue Evaluation**
Category: `bug` | Status: **Confirmed**
The stale callback issue in the Studio instance list is a valid race condition:
**Problem:** When a mutation (create/update/delete) is in flight and the operator changes filters, the mutation completion uses the stale `loadInstances` callback captured at mutation start, causing the post-mutation refresh to use outdated filters and display mismatched results.
**Root Cause:** Callback closure captures filter state at render time, not at invocation time.
**Impact:** Studio instance management UI - operators see incorrect filtered results after concurrent filter changes and mutations.
**Severity:** Medium - UX issue that can confuse operators about the actual state of instances.
This is a valid bug. The fix should:
- Ensure post-mutation refreshes use the current active filters
- Maintain existing request sequencing to prevent older responses from overwriting newer data
- Add regression tests for filter changes during pending mutations
---
*Automated evaluation by RockteMQ-AI*
--
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][Bug] Refresh instance mutations with the latest list filters [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1996:
URL: https://github.com/apache/rocketmq-dashboard/issues/1996#issuecomment-5349552296
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] [Studio][Bug] Refresh instance mutations with the latest list filters [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1996: [Studio][Bug] Refresh instance mutations with the latest list filters
URL: https://github.com/apache/rocketmq-dashboard/issues/1996
--
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