You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yx9o (via GitHub)" <gi...@apache.org> on 2026/08/08 16:29:34 UTC

[PR] [Studio] feat: add AI tool execution audit history [rocketmq-dashboard]

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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Studio] feat: add AI tool execution audit history [rocketmq-dashboard]

Posted by "yx9o (via GitHub)" <gi...@apache.org>.
yx9o closed pull request #1272: [Studio] feat: add AI tool execution audit history
URL: https://github.com/apache/rocketmq-dashboard/pull/1272


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Studio] feat: add AI tool execution audit history [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on PR #1272:
URL: https://github.com/apache/rocketmq-dashboard/pull/1272#issuecomment-5241086861

   ⚠️ **Merge conflict detected**
   
   This PR has conflicts with the base branch and cannot be merged. Please rebase or merge the base branch into your branch and resolve the conflicts.
   
   This is a one-time reminder. Feel free to @mention me for a re-review after conflicts are resolved.
   
   ---
   *Automated notification by github-manager-bot*


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org