Skip to content

Deprecate namespace field in ChildWorkflowOptions#2831

Merged
mjameswh merged 3 commits intomasterfrom
deprecate-cross-namespace-apis
Apr 7, 2026
Merged

Deprecate namespace field in ChildWorkflowOptions#2831
mjameswh merged 3 commits intomasterfrom
deprecate-cross-namespace-apis

Conversation

@mjameswh
Copy link
Copy Markdown
Contributor

@mjameswh mjameswh commented Apr 7, 2026

Closes #2826

Summary

  • Deprecates ChildWorkflowOptions.Builder.setNamespace() and ChildWorkflowOptions.getNamespace()
  • These APIs enable cross-namespace child workflow execution, which has been disabled by default in Temporal Server since v1.30.1 (via the system.enableCrossNamespaceCommands dynamic config flag)
  • Follows the proto-level deprecation added in temporalio/api#751

@mjameswh mjameswh requested a review from a team as a code owner April 7, 2026 05:54
@mjameswh mjameswh enabled auto-merge (squash) April 7, 2026 16:37
@mjameswh mjameswh merged commit 187b778 into master Apr 7, 2026
28 of 29 checks passed
@mjameswh mjameswh deleted the deprecate-cross-namespace-apis branch April 7, 2026 18:11
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.

Deprecate namespace fields on cross-namespace workflow command options

2 participants