The GitHub Actions job "Binary Compatibility" on pekko.git/main has succeeded. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: f3654268e763be9b77024ad13d6924ae0c483376 / Minh Vu <[email protected]> Preserve throttler tokens on failed writes (#3097) Motivation: ThrottlerHandle reserved token-bucket capacity before delegating to the wrapped transport handle. Failed wrapped writes left capacity depleted even though no payload was sent. Modification: Move token reservation and refund helpers out of the write hot path, add an explicit unthrottled fast path, avoid allocation on successful reservations, and refund failed writes without disturbing blackhole or successful-write behavior. Add regression coverage for successful writes, unthrottled writes, blackhole writes, insufficient tokens, and refund after a same-settings throttle state change. Result: Failed wrapped writes preserve outbound throttle capacity while common successful and unthrottled writes avoid the extra allocation path. Tests: - sbt "remote / Test / testOnly org.apache.pekko.remote.transport.ThrottlerHandleSpec org.apache.pekko.remote.classic.transport.ThrottleModeSpec org.apache.pekko.remote.classic.transport.ThrottlerTransportAdapterSpec": passed - sbt "remote / scalafmtAll" "remote / headerCheck": passed - git diff --check: passed References: Refs #2825 Report URL: https://github.com/apache/pekko/actions/runs/28048442827 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
