Skip to content

Comments

Revert recent changes to recoverWith#2674

Merged
pjfanning merged 2 commits intoapache:mainfrom
pjfanning:revert
Feb 23, 2026
Merged

Revert recent changes to recoverWith#2674
pjfanning merged 2 commits intoapache:mainfrom
pjfanning:revert

Conversation

@pjfanning
Copy link
Member

@pjfanning pjfanning commented Feb 23, 2026

see #2620 and apache/pekko-http#954

This keeps tests and doc changes but reverts the Ops.scala changes from #1775 and #2631

Update Ops.scala

revert recent changes to recoverWith
Copy link
Contributor

@mdedetrich mdedetrich left a comment

Choose a reason for hiding this comment

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

lgtm

We can reapply the improvements when the behaviour has been certified to be unchanged with tests.

If we do want to change behaviour than Pekko 2.0.x is an opening for that, but it should be intentional and explicit with clear reasoning why

@pjfanning
Copy link
Member Author

Thanks @mdedetrich - it would be my aim to get this backported to 1.5 and appear in the next 1.x release. I agree that on the main branch that we can try to improve the code again but we do need to improve the test coverage to avoid breaking pekko-http http2 tests again. I hope to find some time this week to try to find specifically what is going wrong in pekko-http with the existing changes. I suspect that it is one of the 2 usages of recoverWithRetries that is being affected.
https://github.com/search?q=repo%3Aapache%2Fpekko-http%20recoverWithRetries&type=code

@pjfanning pjfanning merged commit c9906c6 into apache:main Feb 23, 2026
9 checks passed
@pjfanning
Copy link
Member Author

I will revert this if there are objections but in the short term, my aim is to fix the pekko-http build - apache/pekko-http#954

@pjfanning pjfanning deleted the revert branch February 23, 2026 19:05
pjfanning added a commit to pjfanning/incubator-pekko that referenced this pull request Feb 24, 2026
* revert recent changes to recoverWith

Update Ops.scala

revert recent changes to recoverWith

* scalafmt
@pjfanning pjfanning added this to the 2.0.0-M2 milestone Feb 24, 2026
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.

2 participants