Loyal-Young opened a new pull request, #7100:
URL: https://github.com/apache/rocketmq-dashboard/pull/7100

   ## Summary
   
   - Reject missing alert-rule IDs in Mock mode instead of reporting a 
successful deletion.
   - Keep deletion scoped to the selected alert domain, matching the real 
service and Mock update/toggle behavior.
   - Cover unknown IDs, cross-domain IDs, successful deletion, and a repeated 
deletion in the service test.
   
   Fixes #7099.
   
   ## Verification
   
   - `npm test -- --run src/services/opsService.test.ts`: 17 passed.
   - ESLint and Prettier checks passed for both changed files.
   - `git diff --check` passed.
   
   ## AI assistance
   
   I used AI assistance to compare the Mock deletion path with the real alert 
service and to draft the regression test. I reviewed the two-file patch and ran 
the focused frontend checks locally; I will follow up on CI and review feedback.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to