You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "zmuxuny (via GitHub)" <gi...@apache.org> on 2026/10/15 14:17:12 UTC
[I] [Bug] Alert Rules keeps toggled rules in a status-filtered result set [rocketmq-dashboard]
zmuxuny opened a new issue, #6746:
URL: https://github.com/apache/rocketmq-dashboard/issues/6746
### Before Creating the Bug Report
- [x] I have searched the [open issues](https://github.com/apache/rocketmq-dashboard/issues) of this repository and believe that this is not a duplicate.
- [x] This is a defect in RocketMQ Studio, not a usage question and not a defect in another Apache RocketMQ repository.
- [x] I can reproduce this on the current `master` branch, or I have stated the exact version I am running below.
### Studio Version
rocketmq-studio a92c23144408cdf5729707050e9ecd9b75f1bad0
### Runtime Environment
Linux, Node24.19.0, Vitest4.1.10/jsdom. Real AlertsPage and Ant Design with controlled synthetic API responses.
### Connected RocketMQ Cluster
No live broker or database required; frontend response-state reproduction.
### Build Toolchain
Node24.19.0; one Vitest worker.
### Describe the Bug
Successful single and bulk status toggles patch visible rule objects without reconciling the server-backed status filter, page or total. Disabling a rule in Enabled-only results leaves it visible and actionable with its switch off.
### Steps to Reproduce
1. Load an enabled rule (for example Broker disk usage).
2. Select Enabled-only status.
3. Disable the rule using its switch, or select it and use Bulk Disable.
4. Let the service successfully return enabled:false.
### What Did You Expect to See?
Reconcile the filtered page and total with the server, excluding rules outside enabled:true and backfilling/paginating as appropriate.
### What Did You See Instead?
The disabled row remains visible, total remains 1, and no new list request occurs. Two real-component regressions (single and bulk) fail on the retained visible row against untouched production code. Existing unfiltered bulk-toggle and filter-fetch controls pass.
### Additional Context
Source: web/src/pages/ops/alerts.tsx single/bulk handlers around lines533–540 and564–578. Searched open/closed issues and PRs for status filter, toggle+filter/refresh, enabledFilter, enabled-only. #4515/#4518 protects controls during a pending filter load; #1607/#1635 prevents older list snapshots replacing completed mutations. Neither reconciles membership after the successful mutation. Own #4457/#5546 concerns backend policy, not this frontend state.
### Are You Willing to Submit a Pull Request?
- [x] Yes, I am willing to submit a pull request.
--
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] Alert Rules keeps toggled rules in a status-filtered result set [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6746:
URL: https://github.com/apache/rocketmq-dashboard/issues/6746#issuecomment-6405414567
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] Alert Rules keeps toggled rules in a status-filtered result set [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #6746: [Bug] Alert Rules keeps toggled rules in a status-filtered result set
URL: https://github.com/apache/rocketmq-dashboard/issues/6746
--
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