Upgrade Pekko to 2.0.0
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start with build.sbt and the PekkoVersion setting, then review the release workflow and the public EvalonRunner API described in the issue. The trial reports that sbt clean test and scalafixAll --check pass with Pekko 2.0.0; run those checks and a real Claude scenario to exercise timer driven response_speed paths. Done means the dependency and release are updated to 0.4.0 with a note requiring Pekko 2.x and Java 17+.
Written by the indexing model from the issue text.
Description
Summary
Pekko 2.0.0 is on Maven Central. We're on 1.7.1 (build.sbt, PekkoVersion). A trial upgrade showed no source changes are needed, but it breaks binary compatibility for downstream users, so it needs a breaking version bump.
Trial results
I set PekkoVersion = "2.0.0" in a throwaway worktree:
sbt clean test: all 50 tests pass.scalafixAll --checkis clean. No compile errors or deprecation warnings.- Every Pekko artifact resolves to 2.0.0 (
pekko-actor,pekko-actor-typed,pekko-slf4j), with no 1.x versions left. Pekko 2.0 is built against Scala 3.3.9, and sbt replaces it with our 3.9.0. - Pekko 2.0 needs Java 17 or newer.
release.ymlalready uses Temurin 17. - The breaking changes in the 2.0 release notes are mostly in the Java DSL, persistence, streams, classic
TypedActor, and remoting. We use none of those, only the Scala typed API (Behaviors,ActorContext,TimerScheduler,AskPattern,SpawnProtocol,ActorTestKit).
Why this is a breaking change for users
Pekko says 2.0 is not binary-compatible with 1.x. Our public API exposes Pekko types: EvalonRunner(system: ActorSystem[SpawnProtocol.Command]) takes a system the caller owns, and EvalonRunner.newSystem returns one. A project that uses evalon and also depends on Pekko 1.x would have to upgrade Pekko at the same time, or it would end up with mismatched Pekko jars and fail at runtime.
We use versionScheme := early-semver and the latest tag is v0.3.2, so the release with this change should be 0.4.0.
To do
- Bump
PekkoVersionto2.0.0 - Run at least one real scenario end to end against Claude. The unit tests use stubbed LLMs, so the timer-driven
response_speedpaths only run with real delays in an actual run. - Release as
0.4.0, with a release note that users must be on Pekko 2.x and Java 17+
- Dominant language
- Scala
- Stars
- 0
- Forks
- 7
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 11
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from salesforce/evalon
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 55/100
salesforce/evalon#25 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
salesforce/evalon#15 ·
Maintainers usually reply within 1 day
-
Scored/Rubric criteria without a passThreshold always report passed=falsePossibly taken @hippi345 claimed this 14 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 72/100
salesforce/evalon#13 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
salesforce/evalon#3 ·
Maintainers usually reply within 1 day
All issues in salesforce/evalon
Similar issues
-
CI/CD ⚒️ Flaky-tests 🐦
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
valkey-io/valkey-glide#7921 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Random.nextLongBounded uses u % (n - 1) in its rejection test, so some values are never returnedOpen
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
ci: retry setup-java / setup-sbt in release.yml and the other workflows outside the merge queueOpentask
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day