The GitHub Actions job "Build and Run Tests by Maven" on 
rocketmq.git/fix/admin-send-message-keeps-all-system-keys has failed.
Run started by GitHub user Felix-Gong (triggered by Felix-Gong).

Head commit for run:
ae1457196b39941edd34588d8709933660fe3097 / Felix-Gong 
<[email protected]>
[ISSUE #11468] fix(proxy): keep every system property key on admin-sent messages

buildAdminMessage read request.system_properties.keys but kept only the
first non-empty entry (setKeys + break). The data plane preserves the
whole repeated field (SendMessageActivity joins the list via
Message.setKeys(Collection)), so an AdminSendMessage carrying several
index keys silently lost all but the first while still answering OK.

Collect every non-empty key and hand the full list to setKeys, matching
the data plane. Precedence with the singular key field is unchanged: a
non-empty system_properties.keys still overrides it, and an all-empty
list leaves the singular key in place.

The new adminSendMessageKeepsAllSystemPropertyKeysTest fails with
key1 vs 'key1 key2 key3' on the unpatched service (verified red/green).
Full proxy module: 454 tests green on JDK 11.

Report URL: https://github.com/apache/rocketmq/actions/runs/39414411373

With regards,
GitHub Actions via GitBox

Reply via email to