Skip to content

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

Open
mjameswh wants to merge 1 commit intomasterfrom
worker-versioning-off-with-build-id
Open

Validate deployment options and test worker with versioning off and custom build ID#2807
mjameswh wants to merge 1 commit intomasterfrom
worker-versioning-off-with-build-id

Conversation

@mjameswh
Copy link
Contributor

Summary

  • Adds validation in WorkerDeploymentOptions.build() rejecting defaultVersioningBehavior != UNSPECIFIED when useVersioning is false, preventing stuck workflows caused by server-side rejection during workflow task completion
  • Adds integration test confirming a worker with useVersioning=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

  • testWorkerWithDeploymentOptionsVersioningOffCanRunWorkflows — integration test (requires external server)
  • testRejectsVersioningBehaviorWhenVersioningOff — validation test passes locally

🤖 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 13, 2026 22:30
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.

1 participant