Hanabi9248 opened a new pull request, #4867:
URL: https://github.com/apache/rocketmq-dashboard/pull/4867

   ### Which Issue(s) This PR Fixes
   
   Fixes #4866
   
   ### Brief Description
   
   A failed timeline refresh currently resolves successfully, so stream cleanup 
removes the live answer before persisted history can replace it. Propagate the 
refresh error to the existing cleanup handler, which retains the live blocks. 
The initial-load effect catches the rejection after the hook records the error.
   
   The regression test composes both real hooks with mocked API boundaries; it 
fails on the base branch because the answer becomes an empty array.
   
   ### How Did You Test This Change?
   
   From `web/`:
   - `npm test`: 140 files, 1,281 tests passed.
   - `npm run lint`: 0 errors, 11 existing warnings.
   - `npm run build`: passed.
   
   ### Checklist
   
   - [x] One coherent change
   - [x] Conventional Commit subject
   - [x] Regression test added, named `...Test`
   - [x] New source file carries the ASF header
   - No new UI text or backend changes. The refetch contract comment is updated.
   


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