temporalio / temporalio/api

[Bug] Deprecate cross-namespace support in workflow commands/events

Open
#750 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
133
Forks
101
Avg merge
1d 22h
Merged PRs (30d)
11

Description

Describe the bug

Temporal Server 1.30.0 disabled support for cross-namespace workflow commands (i.e. starting a child workflow in a different namespace) by default due to security and reliability concerns. Admins must now explicitly set the system.enableCrossNamespaceCommands dynamic configuration to allow such operations.

This change should be reflected into SDKs by deprecating the namespace property on various workflow commands (and their events counterpart). There is no immediate desire to pull the plug on actual support of cross-namespace operations besides the existing system.enableCrossNamespaceCommands configuration, but we want to clearly communicate the intent that this property should not be used going forward.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the API definitions for workflow commands and their event counterparts, and locate each namespace property mentioned in the issue. Deprecate those properties while preserving existing cross-namespace support through the system.enableCrossNamespaceCommands configuration; completion means the affected API fields clearly communicate their deprecated status.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, grpc
Domain
api, backend-api-design
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.