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

   ## Summary
   - use one fail-fast lookup for mock alert-rule assets
   - reject missing assets consistently for preview and export operations
   - cover unknown export names with a regression test
   
   ## Root cause
   The mock export path converted a failed lookup into an empty YAML Blob, 
while preview and real-mode requests surfaced a not-found error. This made 
stale exports look successful.
   
   Closes #1917
   
   ## Validation
   - `npm run test -- --run src/services/alertRuleAssetService.test.ts` (8 
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]

Reply via email to