The GitHub Actions job "Build" on rocketmq-clients.git/master has failed. Run started by GitHub user fuyou001 (triggered by fuyou001).
Head commit for run: d35c2c2546001931612a75682685c339a98b76d5 / guyinyou <[email protected]> fix(csharp): correct inverted condition in GetMacAddress to prevent ArgumentOutOfRangeException on macOS arm64 (#1255) The ternary condition in Utilities.GetMacAddress() was inverted: - When MAC address length < 6, it returned the short array - When MAC address length >= 6, it returned random bytes This caused MessageIdGenerator to throw ArgumentOutOfRangeException when calling writer.Write(macAddress, 0, 6) with an array shorter than 6 bytes, which occurs on macOS arm64 where some network interfaces return MAC addresses less than 6 bytes. Fixed by changing 'mac.Length < 6' to 'mac.Length >= 6' so that real MAC addresses are used when valid (>=6 bytes), and random bytes are used as fallback when too short. Co-authored-by: guyinyou <[email protected]> Report URL: https://github.com/apache/rocketmq-clients/actions/runs/26825518015 With regards, GitHub Actions via GitBox
