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

   ### Verification evidence
   
   **CI** — this PR's head is `7ce3b1c111e37f4d356fdac801a8862356c7ad07`. 
GitHub reports exactly one workflow run for it: `35495119634` `CI` 
(`pull_request`) → `startup_failure` (2026-09-20T06:46:53Z); `check-runs` = 0 
and the combined status is `pending` with 0 statuses. This is the 
repository-level failure that affects every branch, including `master`'s own 
recent runs — nothing ran, so the checks below were executed locally.
   
   ```
   $ gh api "repos/apache/rocketmq-dashboard/actions/runs?head_sha=7ce3b1c1..." 
--jq '.workflow_runs[] | "\(.id) \(.name) \(.event) \(.conclusion)"'
   35495119634 CI pull_request startup_failure
   $ gh api "repos/apache/rocketmq-dashboard/commits/7ce3b1c1.../check-runs" 
--jq .total_count
   0
   ```
   
   **Red-light (base commit, source unmodified, new test present)**
   
   ```
   $ git checkout origin/master -- web/src/pages/ops/alerts.tsx   # d50ffecc
   $ npx vitest run src/pages/ops/__tests__/AlertsTestResultResidue.test.tsx
    FAIL  src/pages/ops/__tests__/AlertsTestResultResidue.test.tsx > AlertsPage 
rule test results > shows no test samples for a rule the user never tested
   AssertionError: expected <div class="ant-table-title"></div> to be null
   
   - Expected:
   null
   
   + Received:
   <div class="ant-table-title">
     规则试运行结果
   </div>
   
    ❯ src/pages/ops/__tests__/AlertsTestResultResidue.test.tsx:172:53
   
    Test Files  1 failed (1)
         Tests  1 failed (1)
   ```
   
   **Module tests (with the fix)**
   
   ```
   $ npx vitest run src/pages/ops/__tests__/AlertsTestResultResidue.test.tsx 
src/pages/ops/__tests__/AlertsPage.test.tsx
    Test Files  2 passed (2)
         Tests  27 passed (27)      (1 new + 26 existing)
   ```
   
   **Full suite + baseline**
   
   ```
   $ npx vitest run          # branch head
    Test Files  4 failed | 119 passed (123)
         Tests  9 failed | 1026 passed (1035)
   ```
   
   `1035 = 1034 (pristine origin/master) + 1 new` — cross-checked in the same 
session: while three other in-progress regression files from my local tree were 
still present, the same command reported `1038`, i.e. exactly `1035 + 3`. The 9 
failures are all in files this PR does not touch (MetricsExplorer 1, 
ClusterPage 1, ConsumerPage 6, TopicPage 1), the load-fragile set that also 
fails intermittently on pristine `master` under a full parallel run. Isolation 
run of exactly those four files:
   
   ```
   $ npx vitest run src/components/__tests__/MetricsExplorer.test.tsx 
src/pages/cluster/__tests__/ClusterPage.test.tsx 
src/pages/instance/__tests__/ConsumerPage.test.tsx 
src/pages/instance/__tests__/TopicPage.test.tsx
    Test Files  4 passed (4)
         Tests  111 passed (111)
   ```
   
   **Build**
   
   ```
   $ npx tsc -b                        # clean (exit 0)
   $ npx eslint src/pages/ops/alerts.tsx 
src/pages/ops/__tests__/AlertsTestResultResidue.test.tsx
   ✖ 5 problems (0 errors, 5 warnings)
   $ npm run build                     # ✓ built in 11.04s
   ```
   
   The 5 warnings are pre-existing: `npx eslint` on `origin/master`'s own copy 
of `alerts.tsx` (written to a temp file in the same directory) reports the 
identical 5 warnings at the same code positions — 
`react-refresh/only-export-components` ×2, `react-hooks/exhaustive-deps` `t` 
×1, `@typescript-eslint/no-unused-vars` ×2 for the `_id`/`_lastTriggered` 
destructuring in `openDuplicateModal`. The line numbers differ only by the +1 
line this PR inserts.
   
   **Diff self-check**
   
   ```
   $ git show --numstat --format="" HEAD
   175  0       web/src/pages/ops/__tests__/AlertsTestResultResidue.test.tsx
   1    0       web/src/pages/ops/alerts.tsx
   ```
   
   One commit, two files, no unrelated changes; the only source edit is the 
single `setTestResult(null);` line in `openEditModal`.
   


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