The GitHub Actions job "CI" on rocketmq-dashboard.git/rocketmq-studio has 
failed.
Run started by GitHub user lizhimins (triggered by lizhimins).

Head commit for run:
cc1e74cf2873ee219c745d3639f43befb1a5ab71 / Yu Xinqiang <[email protected]>
fix(message): scan resilience, UTF-8 display and query/send validation (#1378, 
#1425, #1434, #1444)

* [ISSUE #1353] Handle OFFSET_ILLEGAL in message and DLQ pull scans

When PullResult returns OFFSET_ILLEGAL, the scan loop was breaking
out of the current queue, silently dropping all remaining messages
in that queue. The broker returns a corrected offset in
nextBeginOffset that should be retried.

This fix:
- Adds OFFSET_ILLEGAL handling to both queryByTopic() and
  collectDeadLetters() with continue instead of break
- Adds a max-retry guard (3 consecutive OFFSET_ILLEGAL per queue)
  to prevent infinite loops
- Resets the counter on successful FOUND pulls
- Preserves existing NO_NEW_MSG/NO_MATCHED_MSG break behavior

Fixes #1353

* [ISSUE #1424] Fix UTF-8 body display truncation at multi-byte boundary

When truncating message body for display, the truncation point could
fall in the middle of a multi-byte UTF-8 character, causing the decoder
to throw CharacterCodingException and fall through to BASE64 encoding
even for valid UTF-8 text. This fix walks back the truncation point to
the last complete UTF-8 character boundary before decoding.

Fixes #1424

* [ISSUE #1433] Validate message query time range start < end

The message query accepted inverted time ranges (start > end) without
validation, returning zero results with no explanation.

Fixes #1433

* [ISSUE #1443] Validate message body size before sending

The send message endpoint did not validate body size, causing HTTP 500
for messages exceeding the 4MB broker limit. This fix adds a pre-send
size check that returns HTTP 400 with a clear message.

Fixes #1443

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/31408918456

With regards,
GitHub Actions via GitBox

Reply via email to