Skip to content

fix(client): Properly set temporal-namespace header on gRPC requests #1714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 12, 2025

Conversation

mjameswh
Copy link
Contributor

@mjameswh mjameswh commented May 12, 2025

This is backport of #1712 to the 1.11.x branch.

What was changed

  • Temporal Cloud requires presence of the temporal-namespace gRPC metadata on every request to the Workflow Service that contains a namespace property. This was not done on the pure-JS Connection. There it is. Fixes [Feature Request] Put temporal-namespace header on all requests from pure JS client #1697.

  • Note that this logic is taken care by Core SDK on NativeConnection.

  • Also added CI tests against Temporal Cloud. Credentials are provided through environment variables. Tests will be skipped if credentials are missing.

@mjameswh mjameswh requested a review from a team as a code owner May 12, 2025 03:44
@mjameswh mjameswh merged commit 48e8074 into releases/1.11.x May 12, 2025
21 of 22 checks passed
@mjameswh mjameswh deleted the apikey-namespace-metadata-1.11 branch May 12, 2025 23:45
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