[examples]: Add a listnamespace example - #155
Open
Vaughan-Temporal wants to merge 1 commit into
Open
Conversation
|
|
This was referenced Sep 4, 2026
Vaughan-Temporal
force-pushed
the
vaughan/translation-example
branch
from
September 4, 2026 16:49
e0d106e to
f3d1eb9
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! 🚀 New features to boost your workflow:
|
Vaughan-Temporal
force-pushed
the
vaughan/translation-example
branch
from
September 4, 2026 17:24
f3d1eb9 to
31e52a8
Compare
Vaughan-Temporal
force-pushed
the
vaughan/translation-example
branch
from
September 4, 2026 17:27
31e52a8 to
f3311d3
Compare
A runnable example for calling WorkflowService.ListNamespaces against Temporal Cloud through the proxy, driven by curl rather than a worker so the behaviour can be checked without an SDK. Nothing in the config asks for translation: the upstream's .tmprl.cloud address is what turns it on, which the README explains. It walks through the call working via the proxy, the same call failing when sent straight to Cloud, paging, and GetSystemInfo and DescribeNamespace still reaching the frontend untouched.
Vaughan-Temporal
force-pushed
the
vaughan/translation-example
branch
from
September 4, 2026 17:31
f3311d3 to
fb58401
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A runnable example for calling
WorkflowService.ListNamespacesagainst Temporal Cloud through the proxy, driven bycurlrather than a worker so the behaviour can be checked without an SDK.The point the README makes: nothing in
config.yamlasks for translation. The upstream's.tmprl.cloudaddress iswhat turns it on. That is the design from #154 working as intended, and it is worth seeing what the resulting config
does not contain.
Walks through:
ListNamespacessucceeding via the proxynamespace mismatch between header "quickstart" and request body ""nextPageTokenGetSystemInfoandDescribeNamespacestill reaching the frontend untouchednamespaces.rulesblock for short namespace namesScope
+248 / −0, 3 files. Verified the config loads, validates, and the proxy starts on it.
Stack
Merge bottom-up. Each PR targets the one above it, so its diff shows only its own change.
🤖 Generated with Claude Code