tju-yxq opened a new pull request, #6164:
URL: https://github.com/apache/rocketmq-dashboard/pull/6164

   > Resubmission of #5161 — the original PR and its linked issue were closed 
by the repo's 7-day stale bot while awaiting review, not because the change was 
rejected. The fix is rebased unchanged onto the current `rocketmq-studio` head 
(5e4c39b0) and the linked issue is still reproducible on trunk.
   
   ### Which Issue(s) This PR Fixes
   
   - Fixes #3387
   
   ### Brief Description
   
   Re-submits the previously reviewed change (supersedes #4482, which was 
auto-closed by the stale bot after 7 days without activity) rebased onto 
current `master` at `0228dad5`. The audit dashboard gains an exact operator 
filter: `operator` is threaded through `queryLogs`/`summarize`/`exportLogs` and 
the AI audit list tool, included in the filter options, and rendered as a 
dropdown on the page. The rebase merges this with the search-term normalization 
from #4682 (both the `normalizeSearch` call sites and its tests were ported to 
the operator-aware signatures) and with the resource-operation timeline 
parameters.
   
   ### How Did You Test This Change?
   
   Run on the rebased branch (`7528e6c5`):
   
   ```
   cd server && mvn -B -ntp 
'-Dtest=AuditListToolHandlerTest,AuditControllerTest,AuditServiceTest,MybatisPlusAuditRepositoryTest'
 test
   AuditListToolHandlerTest: 1, AuditControllerTest: 11, AuditServiceTest: 19, 
MybatisPlusAuditRepositoryTest: 9
   Tests run: 40, Failures: 0, Errors: 0, Skipped: 0 — BUILD SUCCESS
   
   cd web && npm test -- AuditPage --run
   Test Files  1 passed (1)
        Tests  12 passed (12)
   
   cd web && npm run lint
   0 errors (11 pre-existing warnings in unrelated files)
   ```
   
   The `AuditServiceTest` run includes the four `normalizeSearch` regression 
tests from #4682, now asserting the trimmed search together with the operator 
parameter.
   
   ### Checklist
   
   - [x] One coherent change; unrelated modifications are not bundled in
   - [x] Commit subject follows Conventional Commits
   - [x] Tests added or updated for non-trivial changes, test methods named 
`...Test`
   - [x] New UI text has both Chinese and English entries under `web/src/i18n/`
   - [x] Architecture constraints stay green (`mvn test` runs the ArchUnit 
checks)
   - [x] New source files carry the ASF license header
   - [ ] Documentation touched where behaviour changed (README / `docs/` / 
in-app help)
   
   


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