unbridled-41 commented on PR #4603:
URL: 
https://github.com/apache/rocketmq-dashboard/pull/4603#issuecomment-5749610077

   ## Verification evidence
   
   **CI (this head SHA)** — `95b2996c4bfefbdf3866919dc75cdcbaa2521b74`: exactly 
one `CI` (`pull_request`) run, id `35507312187`, `status=completed`, 
`conclusion=startup_failure`; `check-runs=0`; combined status `state=pending, 
count=0`. Repo-wide condition: every recent `pull_request` run is 
`startup_failure`, including other contributors' PRs.
   
   **Red before the fix** — two independent baselines:
   
   1. New test against the pre-fix page source:
   ```
   AssertionError: failed summary must not be shown as zero matched records: 
expected '匹配记录0' not to be '匹配记录0'
   Tests  1 failed (1)
   ```
   2. Page and card components restored from `origin/master` with the test kept:
   ```
   TestingLibraryElementError: Unable to find an element with the text: 审计概览加载失败
   ```
   
   **Module tests (green)** — `cd web && npx vitest run --maxWorkers=2 
src/pages/ops/__tests__/AuditPage.test.tsx`:
   
   ```
    Test Files  1 passed (1)
         Tests  11 passed (11)
   ```
   
   (10 pre-existing + 1 new.)
   
   **Full web suite** — `cd web && npx vitest run --maxWorkers=4`:
   
   ```
    Test Files  1 failed | 121 passed (122)
         Tests  1 failed | 1034 passed (1035)
   ```
   
   The single failure is `ConsumerPage > keeps the latest client stack when an 
older request resolves last`, which is unrelated to this PR (the audit page and 
its tests are untouched) and reproduces with the `ConsumerPage` test file 
restored from `origin/master` under the same load (`Tests 1 failed | 31 
skipped`).
   
   **Build** — `npx tsc -b`: clean. `npx eslint src/pages/ops/audit.tsx 
src/pages/ops/AuditSummaryCards.tsx 
src/pages/ops/__tests__/AuditPage.test.tsx`: 0 errors, 0 warnings.
   
   **Diff self-check** — `git diff --numstat origin/master` → `14/3 
web/src/pages/ops/audit.tsx`, `29/2 web/src/pages/ops/AuditSummaryCards.tsx`, 
`12/0 web/src/pages/ops/__tests__/AuditPage.test.tsx` (3 files, net +55/−5). 
The `+29/−2` in the card component is the new failure branch; the `−2` are two 
import-line reformats by prettier, no behaviour change.
   


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