X-LightYear commented on issue #6331:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/6331#issuecomment-6267741944

   ## Additional same-root-cause sibling
   
   The sibling enumeration also confirmed `deleteAlertSilence` in 
`web/src/services/opsService.ts` has the same Mock contract gap. The backend 
`AlertSilenceService.deleteSilence` returns `404 Alert silence not found: <id>` 
for an absent record, while the Mock branch filters the array and resolves 
`undefined`.
   
   A deterministic temporary Vitest probe on 
`97f668006bb0b8d6bb8e1f6a6fc661b961ad28b2` failed:
   
   ```text
   await expect(deleteAlertSilence(Number.MIN_SAFE_INTEGER)).rejects.toThrow()
   AssertionError: promise resolved undefined instead of rejecting
   Test Files 1 failed (1); Tests 1 failed (1)
   ```
   
   This remains part of the same Mock missing-delete contract issue and does 
not warrant a separate Issue.


-- 
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