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/07/11 16:00:59 UTC

[GH] (pekko/fix/batching-executor-reentrancy): Workflow run "Pull Requests" is working again!

The GitHub Actions job "Pull Requests" on pekko.git/fix/batching-executor-reentrancy has succeeded.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
7edbcbaf5ab08c5403766ddb24687386058afadc / 虎鸣 <he...@alibaba-inc.com>
Fix reentrant BatchingExecutor execution #1708

Motivation:
Fork-join workers can execute another submitted batch while helping a join. The nested batch hit a single-level ThreadLocal requirement and could drop queued work.

Modification:
Preserve and restore the previous batch context around Batch and BlockableBatch execution. Add deterministic coverage for both modes and document nested fork-join execution.

Result:
Reentrant batches run without failing, and outer queued tasks continue. Normal execution retains one ThreadLocal lookup with no added allocations or locking.

Tests:
- sbt +actor-tests / Test / testOnly org.apache.pekko.dispatch.ExecutionContextSpec - passed on Scala 2.13 and Scala 3
- sbt headerCreateAll +headerCheckAll checkCodeStyle docs / paradox - passed
- sbt +mimaReportBinaryIssues - passed
- scalafmt --list --mode diff-ref=origin/main - passed
- git diff --check - passed
- sbt validatePullRequest - stopped at user request before completion
- Qoder review - No must-fix findings

References:
Fixes #1708

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

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