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

[PR] test: add contract coverage for audit log endpoints [rocketmq-dashboard]

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

   ### Summary
   
   `ops` exposes audit-log listing and cleanup. Neither endpoint had a dedicated contract test.
   
   ### Changes
   
   - `listAuditRecords` forwards the audit filters
   - `cleanupAuditLogs` posts the retention cutoff and returns the deleted count
   
   ### Testing
   
   `vitest run src/api/auditLogs.test.ts` passes: 2 tests, 0 failures (first coverage for this area). `tsc --noEmit` and `eslint` are clean.


-- 
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] test: add contract coverage for audit log endpoints [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3477: test: add contract coverage for audit log endpoints
URL: https://github.com/apache/rocketmq-dashboard/pull/3477


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