yuluo-yx opened a new pull request, #1810:
URL: https://github.com/apache/rocketmq-dashboard/pull/1810

   ## What is the purpose of the change
   
   Preserve known pagination metadata when a message task page is beyond the 
available rows. The response remains empty but keeps total elements and the 
requested page number.
   
   Fixes #1805
   
   ## Brief changelog
   
   - Replace the default empty Page with a PageImpl containing the calculated 
total and requested pageable.
   - Cover an out-of-range task page with five known messages.
   
   ## Verifying this change
   
   - JDK: Temurin 17.0.19
   - Focused backend Maven compile and test phases completed
   - `MessageServiceImplTest`: 1 focused test, 0 failures, 0 errors
   - `mvn validate`: passed
   - `git diff --check`: passed
   - PR scope check: passed (2 files, 20 changed lines, one commit, base 
`master`)
   - Full lifecycle, integration, E2E, and container checks were not run 
because this five-PR workflow requires lightweight local verification and 
leaves heavyweight checks to upstream CI.
   
   Follow this checklist to help us incorporate your contribution quickly and 
easily.
   
   - [x] Make sure there is a Github issue filed for the change. This PR 
addresses only that issue.
   - [x] Format the pull request title like `[ISSUE #123] Fix UnknownException 
when host config not exist`. Each commit has a meaningful subject and body.
   - [x] Write a pull request description that explains what, how, and why.
   - [x] Write necessary unit tests to verify the logic correction.
   - [ ] Run the repository full basic, install, and integration command 
matrix. The focused backend checks above pass; heavyweight checks are delegated 
to upstream CI.
   - [ ] If this contribution is large, file an Apache Individual Contributor 
License Agreement.


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