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

   ## Summary
   
   - Allocate Mock alert-rule IDs above the current inventory maximum, with the 
clock as the lower bound.
   - Use the same allocator for creation and import, so rapid operations and 
repeated imports do not reuse IDs.
   - Add a frozen-clock regression test covering two creates, a multi-rule 
import, and another import.
   
   Fixes #7101.
   
   ## 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 trace Mock alert-rule ID allocation across create 
and import and to draft a deterministic test. I reviewed the 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