The GitHub Actions job "Pull Requests" on 
pekko.git/fix/actor-selection-queue-distribution has succeeded.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
37d7aedc9b0125ced8d8c7b8fd77f5d3b2b5f63b / 虎鸣 <[email protected]>
fix(artery): avoid full actor selection parse for lane hash

Motivation:
Inbound ActorSelection lane partitioning needs the selected target path hash, 
but parsing the full SelectionEnvelope in the inbound hot path adds avoidable 
allocation and CPU cost.

Modification:
Scan only the SelectionEnvelope pattern fields with CodedInputStream when 
computing the lane hash. Skip unknown fields and fall back to the existing 
recipient uid hash if scanning fails. Add coverage for unknown fields so the 
read-side hash remains tolerant of rolling-upgrade wire data.

Result:
ActorSelection lane distribution keeps the same wire format and avoids full 
protobuf object construction before normal deserialization.

Tests:
- sbt 'remote / Test / testOnly 
org.apache.pekko.remote.artery.ActorSelectionQueueDistributionSpec' (passed, 11 
tests)
- git diff --check (passed)

References:
Refs #3092

Report URL: https://github.com/apache/pekko/actions/runs/27837386795

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to