messere1 opened a new pull request, #1635:
URL: https://github.com/apache/rocketmq-dashboard/pull/1635

   ## Summary
   - version both mount-time and manual alert-rule loads
   - ignore list responses that were superseded by a completed mutation
   - invalidate older snapshots after successful toggle, create, update, and 
delete operations
   - cover an out-of-order refresh and toggle with a regression test
   
   ## Root cause and impact
   Alert-rule list requests applied their response unconditionally. Because 
mutations remain available while a refresh is pending, an older server snapshot 
could arrive after a successful mutation and visually restore the previous rule 
state. Request generations ensure a completed mutation remains authoritative 
until a newer explicit refresh.
   
   Closes #1607
   
   ## Validation
   - npm test -- --run src/pages/studio/__tests__/AlertManagement.test.tsx (10 
passed)
   - npx eslint src/pages/studio/AlertManagement.tsx 
src/pages/studio/__tests__/AlertManagement.test.tsx
   - 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]

Reply via email to