The GitHub Actions job "Golang Coverage" on 
rocketmq-clients.git/fix/inverted-ack-dlq-hook-status has failed.
Run started by GitHub user guyinyou (triggered by guyinyou).

Head commit for run:
b46d9a9a85f3e1ec34f0c85dff770d66f53c8fda / guyinyou 
<[email protected]>
[Go] Fix inverted hook status in Ack/DLQ methods

The messageHookPointsStatus was incorrectly initialized to ERROR and
set to OK when the response code was not OK, which is the opposite
of the intended behavior. This affected three locations:
- push_consumer.go: Ack()
- push_consumer.go: ForwardMessageToDeadLetterQueue()
- simple_consumer.go: Ack()

Also set status to ERROR before early return on err != nil, so that
the hook always reports the correct status on failure.

Report URL: https://github.com/apache/rocketmq-clients/actions/runs/27335692980

With regards,
GitHub Actions via GitBox

Reply via email to