The GitHub Actions job "Binary Compatibility" on 
pekko.git/perf/1668-actor-receive-timeout has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
879a0483c80b7aba7270e928c68101ff1e99a892 / 虎鸣 <[email protected]>
Split isNotInfluenceReceiveTimeout into Scala 2/3 version-specific files

Motivation:
The @inline annotation does not work for Scala 3. Reviewer requested
splitting the method into version-specific files to preserve the inline
optimization for Scala 2 while supporting Scala 3.

Modification:
- Create ReceiveTimeoutCompat object in scala-2.13 with @inline annotation
- Create ReceiveTimeoutCompat object in scala-3 with inline keyword
- Move isNotInfluenceReceiveTimeout method from ReceiveTimeout to 
ReceiveTimeoutCompat
- Update all call sites to use ReceiveTimeoutCompat

Result:
Code compiles cleanly on both Scala 2.13 and Scala 3 with appropriate
inline optimizations for each version.

Tests:
sbt "actor-tests/Test/testOnly org.apache.pekko.actor.ReceiveTimeoutSpec"
All 14 tests passed.

References:
Refs #3332

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

With regards,
GitHub Actions via GitBox


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

Reply via email to