unbridled-41 commented on PR #4283:
URL:
https://github.com/apache/rocketmq-dashboard/pull/4283#issuecomment-5657467401
## 复测实证(应用户要求对缺陷做最终实测)
在干净 worktree(pristine 6c24d2ed)上重新做了两层验证:
**① 基线复现(只带本 PR 的回归测试文件,基线源码)**:
```
npx vitest run src/components/__tests__/QueueBrowser.test.tsx
× clears the pulling indicator when the queue list reloads mid-pull
Tests 2 failed | 22 passed (24) ← 另一失败为 #4285 的同批验证用例
```
新回归在未修复的基线代码上失败,其余 8 个既有用例全过——失败与改动精确对应。
**② 修复解除(仅替换 QueueBrowser.tsx 为修复版)**:
```
Test Files 2 passed (2) / Tests 24 passed (24) ← 含 #4285 用例同批全绿
```
**③ 触发路径前置条件(源码逐行核实)**:`QueueBrowserResults` 的"加载队列"按钮为
`disabled={!instanceId || !state.topic}`、`loading={state.loading}`——拉取在途时
`state.loading` 为 false(它只由 loadQueues 维护),按钮**可点击**,"拉取中重载"序列真实可达;行按钮
`loading={state.pulling.has(key)}` 即缺陷表现位置。
--
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]