You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2026/04/25 14:41:14 UTC
[PR] fix: stabilise JDK 25 nightly flakes [pekko]
He-Pin opened a new pull request, #2907:
URL: https://github.com/apache/pekko/pull/2907
Motivation:
The JDK 25 nightly workflow run 24922457328 failed only in the JDK 25 matrix. The failures were timeout-shaped: stream TCK subscription/sequential-signal stalls, remote system-message/send-consistency timeouts, BoundedSourceQueue burst delivery, and DurableStateBehaviorStashOverflowSpec draining 20k messages. The existing minimum-runnable=4 mitigation was not enough on the GitHub runners.
Modification:
- Enable fork-join dispatcher virtualize=on in JDK 21+ nightly builds for the actor default dispatcher, actor internal dispatcher, remote default dispatcher, and stream test dispatcher.
- Keep the JDK 21+ minimum-runnable override, using 8 for JDK 25 nightly runs and 4 for JDK 21.
- Document the nightly virtual-thread override and the system-property opt-in for dispatcher virtualize.
- Dilate two hard timeout assumptions exposed by the JDK 25 run: BoundedSourceQueueSpec burst delivery and DurableStateBehaviorStashOverflowSpec stash draining.
Result:
The production reference configuration remains unchanged; virtual threads are enabled only by nightly workflow parameters. This targets the CI-only JDK 25 starvation symptoms while preserving local and PR-test defaults.
Tests:
- git diff --check
- sbt -Dpekko.test.timefactor=4 -Dpekko.actor.testkit.typed.timefactor=4 -Dpekko.actor.default-dispatcher.fork-join-executor.minimum-runnable=8 -Dpekko.actor.internal-dispatcher.fork-join-executor.minimum-runnable=8 -Dpekko.remote.default-remote-dispatcher.fork-join-executor.minimum-runnable=8 -Dpekko.test.stream-dispatcher.fork-join-executor.minimum-runnable=8 -Dpekko.actor.default-dispatcher.fork-join-executor.virtualize=on -Dpekko.actor.internal-dispatcher.fork-join-executor.virtualize=on -Dpekko.remote.default-remote-dispatcher.fork-join-executor.virtualize=on -Dpekko.test.stream-dispatcher.fork-join-executor.virtualize=on "stream-tests / Test / testOnly org.apache.pekko.stream.scaladsl.BoundedSourceQueueSpec" "stream-tests-tck / Test / testOnly org.apache.pekko.stream.tck.FanoutPublisherTest" "persistence-typed-tests / Test / testOnly org.apache.pekko.persistence.typed.state.scaladsl.DurableStateBehaviorStashOverflowSpec"
- sbt -Dpekko.test.timefactor=4 -Dpekko.actor.testkit.typed.timefactor=4 -Dpekko.actor.default-dispatcher.fork-join-executor.minimum-runnable=8 -Dpekko.actor.internal-dispatcher.fork-join-executor.minimum-runnable=8 -Dpekko.remote.default-remote-dispatcher.fork-join-executor.minimum-runnable=8 -Dpekko.test.stream-dispatcher.fork-join-executor.minimum-runnable=8 -Dpekko.actor.default-dispatcher.fork-join-executor.virtualize=on -Dpekko.actor.internal-dispatcher.fork-join-executor.virtualize=on -Dpekko.remote.default-remote-dispatcher.fork-join-executor.virtualize=on -Dpekko.test.stream-dispatcher.fork-join-executor.virtualize=on "remote / Test / testOnly org.apache.pekko.remote.artery.ArteryUpdSendConsistencyWithOneLaneSpec org.apache.pekko.remote.artery.ArteryUpdSendConsistencyWithThreeLanesSpec org.apache.pekko.remote.ArteryMessageLoggingSpec org.apache.pekko.remote.artery.SystemMessageDeliverySpec"
- sbt "persistence-typed-tests / Test / scalafmtCheck" "stream-tests / Test / scalafmtCheck" "docs / Test / scalafmtCheck"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] fix: stabilise JDK 25 nightly flakes [pekko]
Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin commented on PR #2907:
URL: https://github.com/apache/pekko/pull/2907#issuecomment-4319883273
@pjfanning I will take another run about this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] fix: stabilise JDK 25 nightly flakes [pekko]
Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin merged PR #2907:
URL: https://github.com/apache/pekko/pull/2907
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org