Workflow Task Chunking: v2 - #1509
Draft
eamsden wants to merge 3 commits into
Draft
Conversation
eamsden
force-pushed
the
eamsden/wft-chunking-v2-rebased
branch
3 times, most recently
from
August 22, 2026 22:05
d5a7712 to
7fe1e29
Compare
eamsden
force-pushed
the
eamsden/wft-chunking-v2-rebased
branch
from
August 22, 2026 22:10
7fe1e29 to
36e3b75
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
TEMPORAL_USE_WFT_CHUNKING_V2; readers honor the durable history selection.Why?
The legacy heartbeat heuristic can choose different activation boundaries during live execution and replay, especially when
WorkflowExecutionUpdateAcceptedfollows another command or another history page. That can change workflow-visible time and command production, resulting in nondeterminism.Checklist
Closes [Bug] Potential NDE on empty WFT followed by WFT with inbound update #1146. Builds on the investigation in Add WFT Chunking v2 #1281.
How was this tested:
cargo test -p temporalio-sdk-core --libTEMPORAL_USE_WFT_CHUNKING_V2=true cargo test -p temporalio-sdk-core --libcargo lintcargo test-lintAny docs updates needed?