You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by GitBox <gi...@apache.org> on 2026/06/23 04:14:49 UTC

[GH] (pekko/refactor/remove-failedCompletionStage): Workflow run "Binary Compatibility" failed!

The GitHub Actions job "Binary Compatibility" on pekko.git/refactor/remove-failedCompletionStage has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
5c5b478d4457658e01995af55b2f44da4dd8eff0 / 虎鸣 <he...@alibaba-inc.com>
refactor: remove deprecated failedCompletionStage, use CompletableFuture.failedStage

Motivation:
Futures.failedCompletionStage was deprecated since 2.0.0 and used the
dangerous obtrudeException API which can corrupt other futures sharing
the same underlying CompletableFuture. CompletableFuture.failedStage
(JDK 9) is the correct replacement.

Modification:
- Remove failedCompletionStage method from Futures object
- Replace internal call in CompletionStages.reduce with
  CompletableFuture.failedStage
- Replace test call sites with CompletableFuture.failedStage
- Remove unnecessary @SuppressWarnings("deprecation") from tests
- Remove unused CompletableFuture import from Future.scala

Result:
Eliminates obtrudeException usage, removes deprecated API.

Tests:
sbt "actor-tests / Test / testOnly org.apache.pekko.pattern.PatternsTest
    org.apache.pekko.dispatch.CompletionStagesTests" — 40/40 passed

References:
Refs #3136

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org