Skip to content

[examples]: Add a listnamespace example - #155

Open
Vaughan-Temporal wants to merge 1 commit into
vaughan/translation-integrationfrom
vaughan/translation-example
Open

[examples]: Add a listnamespace example#155
Vaughan-Temporal wants to merge 1 commit into
vaughan/translation-integrationfrom
vaughan/translation-example

Conversation

@Vaughan-Temporal

@Vaughan-Temporal Vaughan-Temporal commented Sep 4, 2026

Copy link
Copy Markdown

Stacked on #154. Docs and config only — no Go.

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.

The point the README makes: nothing in config.yaml asks for translation. The upstream's .tmprl.cloud address is
what 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:

  • ListNamespaces succeeding via the proxy
  • the same call sent straight at Cloud, failing with namespace mismatch between header "quickstart" and request body ""
  • paging via nextPageToken
  • GetSystemInfo and DescribeNamespace still reaching the frontend untouched
  • an optional namespaces.rules block for short namespace names

Scope

+248 / −0, 3 files. Verified the config loads, validates, and the proxy starts on it.


Stack

PR
1 #152 translation library — mechanism only
2 #153 ListNamespaces → CloudService.GetNamespaces mapping
3 #154 integration — first behaviour change
4 #155 listnamespace example

Merge bottom-up. Each PR targets the one above it, so its diff shows only its own change.

🤖 Generated with Claude Code

@Vaughan-Temporal
Vaughan-Temporal requested review from a team and pseudomuto as code owners September 4, 2026 16:39
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Vaughan-Temporal
Vaughan-Temporal force-pushed the vaughan/translation-example branch from f3d1eb9 to 31e52a8 Compare September 4, 2026 17:24
@Vaughan-Temporal
Vaughan-Temporal force-pushed the vaughan/translation-example branch from 31e52a8 to f3311d3 Compare September 4, 2026 17:27
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
Vaughan-Temporal force-pushed the vaughan/translation-example branch from f3311d3 to fb58401 Compare September 4, 2026 17:31
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.

3 participants