refactor(amber): rename remaining Akka* identifiers to Pekko*#4949
Conversation
The project moved off Akka onto Apache Pekko, but several internal Scala identifiers still carried the `Akka` prefix even though they wrap Pekko APIs — confusing when grepping the codebase for the actor runtime. Pure rename: - `AkkaConfig` → `PekkoConfig` (object + file) - `AkkaActorService` → `PekkoActorService` (class + file) - `AkkaActorRefMappingService` → `PekkoActorRefMappingService` - `AkkaMessageTransferService` → `PekkoMessageTransferService` - `akkaConfig`, `akkaActorService` (methods/params) → pekko-prefixed. No string literals, config keys, or serialization registrations change — `cluster.conf` already uses `pekko.*` keys, kryo registry doesn't reference these classes by name. The intentional `"akka"` comment in `DeployStrategiesSpec.scala` (which contrasts pekko vs akka address strings) stays. Closes apache#4948.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4949 +/- ##
=========================================
Coverage 42.77% 42.77%
- Complexity 2185 2186 +1
=========================================
Files 1045 1045
Lines 39876 39876
Branches 4205 4205
=========================================
+ Hits 17055 17056 +1
+ Misses 21760 21759 -1
Partials 1061 1061
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Keeping this PR rename-only on purpose so it stays trivially revertable. The 82.6% patch coverage flag is a codecov artifact: project coverage is unchanged (+1 hit, −1 partial) — those four lines were already uncovered on main, the rename just made codecov re-attribute them to this patch. Will add tests for the actor-service / AmberRuntime gap in a follow-up PR. |
|
@Xiao-zhen-Liu please help review this. Thanks |
Xiao-zhen-Liu
left a comment
There was a problem hiding this comment.
LGTM with a minor comment.
Signed-off-by: Yicong Huang <17627829+Yicong-Huang@users.noreply.github.com>
…#4949) ### What changes were proposed in this PR? The project moved off Akka onto Apache Pekko, but several internal Scala identifiers still carried the `Akka` prefix even though they wrap Pekko APIs. Pure rename across `amber` and `common/config`: - `AkkaConfig` → `PekkoConfig` (object + file) - `AkkaActorService` → `PekkoActorService` (class + file) - `AkkaActorRefMappingService` → `PekkoActorRefMappingService` - `AkkaMessageTransferService` → `PekkoMessageTransferService` - `akkaConfig`, `akkaActorService` method/parameter names → pekko-prefixed No behavior change. No string literals, config keys, or serialization registrations are touched — `cluster.conf` already uses `pekko.*` keys, the kryo registry doesn't reference these classes by name. The intentional `"akka"` literal in `DeployStrategiesSpec.scala` that contrasts pekko vs akka address strings stays. ### Any related issues, documentation, discussions? Closes apache#4948. ### How was this PR tested? `sbt WorkflowExecutionService/Test/compile` clean, `sbt WorkflowExecutionService/scalafmtCheckAll` clean. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Opus 4.7 (Claude Code)
What changes were proposed in this PR?
The project moved off Akka onto Apache Pekko, but several internal Scala identifiers still carried the
Akkaprefix even though they wrap Pekko APIs. Pure rename acrossamberandcommon/config:AkkaConfig→PekkoConfig(object + file)AkkaActorService→PekkoActorService(class + file)AkkaActorRefMappingService→PekkoActorRefMappingServiceAkkaMessageTransferService→PekkoMessageTransferServiceakkaConfig,akkaActorServicemethod/parameter names → pekko-prefixedNo behavior change. No string literals, config keys, or serialization registrations are touched —
cluster.confalready usespekko.*keys, the kryo registry doesn't reference these classes by name. The intentional"akka"literal inDeployStrategiesSpec.scalathat contrasts pekko vs akka address strings stays.Any related issues, documentation, discussions?
Closes #4948.
How was this PR tested?
sbt WorkflowExecutionService/Test/compileclean,sbt WorkflowExecutionService/scalafmtCheckAllclean.Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 4.7 (Claude Code)