You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Loyal-Young (via GitHub)" <gi...@apache.org> on 2026/10/02 11:47:59 UTC
[PR] fix(audit): clear failed filtered records and summary [rocketmq-dashboard]
Loyal-Young opened a new pull request, #5381:
URL: https://github.com/apache/rocketmq-dashboard/pull/5381
### Which Issue(s) This PR Fixes
- Fixes #5379
### Brief Description
The audit page now clears the record rows and total when the latest record request fails, and clears the filtered summary when its current request fails. The summary cards render the existing localized fetch-failed message for an unavailable summary instead of treating it as a real zero-record result. Older requests remain guarded and cannot erase newer results.
### Verification
- The new regression fails on unmodified trunk: after both filtered reads fail, the old `topic-a` timeline action stays in the table.
- `cd web && node node_modules/vitest/vitest.mjs run src/pages/ops/__tests__/AuditPage.test.tsx src/pages/ops/__tests__/AuditSummaryCards.test.tsx --pool=threads --maxWorkers=1 --reporter=dot` — 15 tests passed.
- `cd web && node node_modules/eslint/bin/eslint.js src/pages/ops/audit.tsx src/pages/ops/AuditSummaryCards.tsx src/pages/ops/__tests__/AuditPage.test.tsx` — passed.
- `cd web && node node_modules/typescript/bin/tsc -p tsconfig.app.json --noEmit --pretty false` — passed.
- `git diff --check` — passed.
### AI Assistance
AI assistance helped inspect the audit list and summary request paths and draft the failed-filter regression. I reproduced the stale display on the original code, reviewed the failure state and localized placeholder, and ran the checks above.
--
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] fix(audit): clear failed filtered records and summary [rocketmq-dashboard]
Posted by "Loyal-Young (via GitHub)" <gi...@apache.org>.
Loyal-Young commented on PR #5381:
URL: https://github.com/apache/rocketmq-dashboard/pull/5381#issuecomment-6261569577
Progress update (2026-10-19): GitHub currently reports the branch as mergeable. All five current CI checks pass. The change is ready for maintainer review. I will follow up on any new feedback.
--
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] fix(audit): clear failed filtered records and summary [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #5381: fix(audit): clear failed filtered records and summary
URL: https://github.com/apache/rocketmq-dashboard/pull/5381
--
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] fix(audit): clear failed filtered records and summary [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on PR #5381:
URL: https://github.com/apache/rocketmq-dashboard/pull/5381#issuecomment-6263622723
Folded into #6719, merged into `rocketmq-studio` as 1c80e63a3 — your change is in that commit and stays authored by you.
We batched four related alerting/audit PRs (#6719 #6906 #6442 #5381) into a single integration commit to keep the history readable, so this one is closed as folded rather than merged separately. No action needed; the linked issue is closed as resolved by #6719.
--
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] fix(audit): clear failed filtered records and summary [rocketmq-dashboard]
Posted by "Loyal-Young (via GitHub)" <gi...@apache.org>.
Loyal-Young commented on PR #5381:
URL: https://github.com/apache/rocketmq-dashboard/pull/5381#issuecomment-6076146902
### Maintenance update — 2026-10-09
I am still maintaining this PR and awaiting review. The change clears failed audit records and summary data and displays the existing localized failure state instead of retaining stale data or showing a false zero.
Local validation recorded on October 2: 15 audit page and summary-card tests passed, including the reproduced failed-filter regression. ESLint, TypeScript and diff checks passed. The commands and reproduction details are in the PR description.
The current [CI run](https://github.com/apache/rocketmq-dashboard/actions/runs/37002995003) has rmqctl Build passing and Backend Tests plus the three build jobs failing. The Backend Tests log identifies `AiRunServiceTest.stopShouldAbortALiveRunAndLeaveItStoppedWithUserStopTest` as the single failure out of 3,322 tests; the cause remains to be established.
Please keep this PR open for review. If the review queue exceeds the seven-day inactivity window, a maintainer-applied `pinned` label would help, as described in the contribution guide. I am available to address review feedback.
--
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