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

   ## What is the purpose of the change
   
   Add auditability and recent execution visibility for AI tool runs so 
operators can trace which tools were executed, whether they succeeded, and 
which input fields were used without exposing input values.
   
   ## Brief changelog
   
   - Added backend audit recording for successful and failed AI tool executions.
   - Recorded tool name, cluster/instance context, input field names, result 
status, and sanitized error messages without storing input values.
   - Added recent AI tool execution history in the AI tool modal with 
success/failure status and result previews.
   - Added backend service tests and frontend tool-runner tests for the 
audit/history flow.
   
   ## Verifying this change
   
   - `/Users/yx9o/home/env/apache-maven-3.9.1/bin/mvn 
-Dtest=AiServiceTest,AiToolAuditServiceTest,AiControllerTest test`
   - 
`NODE_OPTIONS="--import=data:text/javascript,import%20dns%20from%20'node:dns';const%20p=dns.promises.lookup.bind(dns.promises);dns.promises.lookup=(h,...a)=>p(h==='localhost'?'127.0.0.1':h,...a);const%20l=dns.lookup.bind(dns);dns.lookup=(h,...a)=>l(h==='localhost'?'127.0.0.1':h,...a);"
 npx vitest run src/pages/ai/__tests__/AiPage.test.tsx`
   - `npm run build`
   - `npm run lint`
   - `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