Skip to content

no need to convert to ActorMaterializer#712

Merged
pjfanning merged 2 commits into
apache:mainfrom
pjfanning:materializer
Aug 6, 2025
Merged

no need to convert to ActorMaterializer#712
pjfanning merged 2 commits into
apache:mainfrom
pjfanning:materializer

Conversation

@pjfanning
Copy link
Copy Markdown
Member

@pjfanning pjfanning commented Aug 5, 2025

ActorMaterializerHelper is deprecated and due for removal in pekko 2.0.0. Relates to #714

@pjfanning pjfanning added this to the 1.3.0 milestone Aug 5, 2025
@pjfanning pjfanning requested review from Copilot and mdedetrich and removed request for Copilot August 5, 2025 15:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the deprecated ActorMaterializerHelper usage throughout the Pekko HTTP codebase in preparation for Pekko 2.0.0. The changes replace calls to ActorMaterializerHelper.downcast(materializer).system with direct access to materializer.system.

  • Removes import statements for the deprecated ActorMaterializerHelper
  • Updates materializer system access patterns to use the direct API
  • Affects server directives, unmarshalling, routing, and HTTP server blueprint components

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
MultipartUnmarshallers.scala Removes ActorMaterializerHelper import and updates ParserSettings initialization
BasicDirectives.scala Updates extractActorSystem directive to use direct materializer.system access
RouteResult.scala Removes ActorMaterializerHelper usage in deprecated route-to-flow conversion
Route.scala Updates ParserSettings creation to use direct materializer.system access
HttpServerBluePrint.scala Updates parsing error handler and timeout settings to use direct materializer access

@pjfanning pjfanning requested review from He-Pin, jrudolph and raboof August 5, 2025 15:33
@pjfanning pjfanning closed this Aug 5, 2025
@pjfanning pjfanning reopened this Aug 5, 2025
Copy link
Copy Markdown
Member

@He-Pin He-Pin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pjfanning pjfanning merged commit 2757eea into apache:main Aug 6, 2025
10 checks passed
@pjfanning pjfanning deleted the materializer branch August 6, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants