ASUKAAAAA1204 commented on issue #7080:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/7080#issuecomment-6270110869

   I would like to fix this. Confirmed the root cause on `rocketmq-studio`: the 
Mock branch of `web/src/services/opsService.ts` `createAlertSilence` only 
assigns an id and prepends to `alertSilencesState`, while the REST path never 
reaches persistence because `AlertSilenceService.create` rejects it with 
`BusinessException(400, "Silence end time must be after start time")`.
   
   I will make the Mock branch enforce the same strictly-after ordering before 
it mutates the inventory (so a rejected request leaves the list unchanged) and 
add a deterministic vitest regression in `opsService.test.ts`. Scope stays 
frontend/Mock only; no backend or form behaviour changes.


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