The GitHub Actions job "Golang Coverage" on rocketmq-clients.git/master has failed. Run started by GitHub user RongtongJin (triggered by RongtongJin).
Head commit for run: 7448aa1cb7ab6cc3f19a65a2942ac28cb871113b / guyinyou <[email protected]> [Go] Fix data race in receiveMessage for push and simple consumers (#1275) The err and resps variables were shared between the main goroutine and a spawned goroutine without synchronization, causing a data race detectable by Go's race detector. The goroutine wrote to both variables while the select handler read them concurrently. Move resps and err into the goroutine as local variables, and pass results back through a typed channel (receiveResult struct) instead. This also fixes push_consumer.go not signaling the done channel on non-EOF errors, which previously caused it to wait for context timeout instead of returning the actual error immediately. Affected: - golang/push_consumer.go: receiveMessage() - golang/simple_consumer.go: receiveMessage() Co-authored-by: guyinyou <[email protected]> Report URL: https://github.com/apache/rocketmq-clients/actions/runs/27521403802 With regards, GitHub Actions via GitBox
