Repository navigation
Add missing flag 4 behavior changes to the changelog - #2193
Merged
Conversation
VegetarianOrc
force-pushed
the
alexmazzeo/sdk-605-flag-4-add-the-missing-behavior-changes
branch
2 times, most recently
from
December 3, 2026 00:13
42b891a to
a2d988d
Compare
Base automatically changed from
alexmazzeo/sdk-604-flag-4-send-a-cancel-request-to-a-child
to
main
December 3, 2026 00:17
VegetarianOrc
changed the base branch from
main
to
amazzeo/workflow-wait-condition-cancellation
December 3, 2026 00:18
List the flag 4 effects that users can see but the fragment left out: external and child signals, handle cancel after a result, all_handlers_finished(), job failures during apply, Python 3.11 timeout rounding, and handler waits after cancellation. Also add a reminder to name the minimum replay version when flag 4 becomes a default. Refs SDK-605. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Address review findings on the flag 4 fragment: - Split the first entry into three entries. - Name the exact call or handler that each entry affects. - Add update handlers to the job failure entry. - Name asyncio.CancelledError. - Follow the existing flag reminder form in the TODO. Refs SDK-605. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
VegetarianOrc
force-pushed
the
alexmazzeo/sdk-605-flag-4-add-the-missing-behavior-changes
branch
from
December 3, 2026 00:22
a2d988d to
282c446
Compare
VegetarianOrc
deleted the
alexmazzeo/sdk-605-flag-4-add-the-missing-behavior-changes
branch
December 3, 2026 00:37
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
The flag 4 changelog fragment (
changelog/added/tumbling-job-basket.md) now lists the effects that users can see:workflow.wait_condition()call that is shielded or in another task, such as a signal or update handler, can finish after cancellation.asyncio.CancelledError.workflow.all_handlers_finished()can returnFalsemore often in the workflow task where a signal handler finishes.workflow.wait_condition()timeouts round to the nearest millisecond.The flag 4 comment in
temporalio/_workflow_context.pynow has a reminder: when a release enables flag 4 by default, its changelog must name the minimum SDK version that replays flag 4 histories.Why?
The fragment left out these effects. An older SDK can replay a flag 4 history with different results and no nondeterminism error, so the release that enables flag 4 must state the minimum version.
Checklist
Refs SDK-605. Stacked on Add activation batching flag with task-local cancellation #2149.
How was this tested:
changelog-tool checkpassed.Any docs updates needed? This PR is the changelog update.
🤖 Generated with Claude Code