You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "zjncs (via GitHub)" <gi...@apache.org> on 2026/10/11 03:46:59 UTC
[PR] test(audit): pin the audit operation vocabulary [rocketmq-dashboard]
zjncs opened a new pull request, #6231:
URL: https://github.com/apache/rocketmq-dashboard/pull/6231
### What
OperationAuditConstants is the vocabulary the audit trail is written in. It had no test. This pins: every operation and resource-type constant equals its own name (the catalog is its own wire format - a renamed constant silently orphans audit history), and the result vocabulary is exactly SUCCESS and FAILED.
### Verification
- New tests on unmodified code: **3/3 green**, checkstyle clean.
- Discriminating mutation: one operation constant's value drifted from its name (red).
- Restored: green. Test-only change; no product code touched.
--
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