messere1 opened a new pull request, #1926: URL: https://github.com/apache/rocketmq-dashboard/pull/1926
## Summary - add a monotonic suffix to mock instance IDs - preserve timestamp context while guaranteeing uniqueness within the module lifetime - cover two creations performed at the same clock value ## Root cause Mock instances used `String(Date.now())` as their entire ID. Multiple creations within one millisecond produced duplicate row keys and made ID-based update/delete operations ambiguous. Closes #1925 ## Validation - `npm run test -- --run src/services/instanceService.test.ts` (5 passed) - focused ESLint on both changed files - `npm run build` - `git diff --check` -- 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]
