Skip to content

Validate deployment options and test worker with versioning off and custom build ID#623

Merged
mjameswh merged 2 commits intomainfrom
worker-versioning-off-with-build-id
Mar 17, 2026
Merged

Validate deployment options and test worker with versioning off and custom build ID#623
mjameswh merged 2 commits intomainfrom
worker-versioning-off-with-build-id

Conversation

@mjameswh
Copy link
Contributor

Summary

  • Adds runtime validation rejecting DefaultVersioningBehavior != Unspecified when UseWorkerVersioning is false, preventing stuck workflows caused by server-side rejection during workflow task completion
  • Adds integration test confirming a worker with UseWorkerVersioning=false and a custom build ID can successfully run workflows (build ID appears in history)
  • Adds unit test for the new validation

Related: temporalio/sdk-typescript#1962

Test plan

  • WorkerWithDeploymentOptions_VersioningOff_CanRunWorkflows — integration test passes against local server
  • RejectsVersioningBehavior_WhenVersioningOff — validation test passes

🤖 Generated with Claude Code

…ustom build ID Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mjameswh mjameswh requested a review from a team as a code owner March 12, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants