Skip to content

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

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

mjameswh merged 2 commits into
mainfrom
worker-versioning-off-with-build-id

Conversation

@mjameswh

Copy link
Copy Markdown
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
@mjameswh
mjameswh merged commit 76fbcc1 into main Mar 17, 2026
17 of 18 checks passed
@mjameswh
mjameswh deleted the worker-versioning-off-with-build-id branch March 17, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants