pilichoumao opened a new issue, #6638: URL: https://github.com/apache/rocketmq-dashboard/issues/6638
### Before Creating the Bug Report - [x] Searched issues and PRs; no equivalent regression-script fix found. - [x] This concerns a script committed in this repository. - [x] Reproduced against the current rocketmq-studio revision. ### Studio Version `rocketmq-studio` at `e2f815fba774a1e399bf9bb3709246edca1a436d`, including #6633. ### Runtime Environment Ubuntu 24.04 ECS, Bash and Python 3. The original script was executed with task-local controlled HTTP/SSH fixtures. No real Broker or remote SSH target was accessed. ### Connected RocketMQ Cluster Not required to reproduce the regression script's incorrect verdict; the fixture uses the current DLQResendResultVO contract. ### Describe the Bug `.claude/skills/regression-rocketmq/scripts/dlq_check.sh` sends three messages but considers the resend successful whenever code is 200 and the consumer log count grows. The controller can return code=200 with PARTIAL or scanIncomplete. SUCCESS can also describe resending fewer than this regression's three messages. The script reports PASS in those cases. ### Steps to Reproduce Run the committed script with controlled responses: matched=3/resent=1/failed=2/PARTIAL; or scanIncomplete=true; or matched=2/resent=2/SUCCESS. Let the consumer log count increase. All three currently exit 0 and print PASS. ### Expected Behavior Only a complete SUCCESS with matched=3, resent=3, failed=0, scanIncomplete=false and failedQueueCount=0 proceeds to the consumer check and reports PASS. Other outcomes fail and still execute EXIT cleanup. ### Actual Behavior ECS research reproduced three false PASS verdicts. A prototype rejected them and retained the complete-success control. ### Additional Context DLQController wraps the result with Result.ok; its existing controller test explicitly returns HTTP/code=200 with PARTIAL. This fix changes the script's verification, not the backend resend protocol. Controlled regression tests should exercise the original shell/Python flow and verify cleanup as well as the exit status. ### Are You Willing to Submit a Pull Request? - [x] Yes. -- 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]
