Open
Conversation
Allows pinned workflows to upgrade to a newer deployment version by continuing-as-new with AUTO_UPGRADE behavior. Adds: - ContinueAsNewVersioningBehavior enum (UNSPECIFIED, AUTO_UPGRADE) - SuggestContinueAsNewReason enum - Workflow.target_worker_deployment_version_changed? API - Workflow.suggest_continue_as_new_reasons API - initial_versioning_behavior option on ContinueAsNewError - Integration test for full CAN version upgrade flow - RBS type signatures for all new APIs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The sdk-core bump changed the Nexus handler error message. Comment out the message assertion until the failure message is stabilized, matching the approach taken in the TypeScript SDK (PR #1972). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
ContinueAsNewVersioningBehaviorandSuggestContinueAsNewReasonenumsWorkflow.target_worker_deployment_version_changed?andWorkflow.suggest_continue_as_new_reasonsAPIsinitial_versioning_behavioroption onContinueAsNewErrorfor AUTO_UPGRADE behaviorAllows pinned workflows to detect when a newer deployment version is available and explicitly continue-as-new with
AUTO_UPGRADEto switch to it.Ref: temporalio/features#738