Aias00 opened a new issue, #920:
URL: https://github.com/apache/rocketmq-dashboard/issues/920

   ### Description
   
   In mock mode, `deleteInstance()` silently succeeds when the requested 
instance id does not exist.
   
   Location:
   - `web/src/services/instanceService.ts:65`
   
   The server-side instance service rejects missing ids with `InstanceVO not 
found: <id>`, and other mock write paths already reject missing records. The 
mock instance delete path currently returns success for a stale or invalid id.
   
   ### Impact
   
   The Instance page can show a successful delete toast for a row that was not 
actually deleted. This makes stale UI state and retry behavior harder to 
diagnose, especially while validating the Track 1 control-plane flows against 
mock data.
   
   ### Suggested fix
   
   Make the mock delete path reject unknown instance ids and add regression 
coverage that the stored instance list remains unchanged after a failed delete.
   


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