Skip to content

Simplify and reorder the Stable IPs API examples - #5063

Open
lukeknep wants to merge 3 commits into
mainfrom
stable-ips-api-examples
Open

Simplify and reorder the Stable IPs API examples#5063
lukeknep wants to merge 3 commits into
mainfrom
stable-ips-api-examples

Conversation

@lukeknep

@lukeknep lukeknep commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Stacked on top of PR #5056. Merge #5056 first, and GitHub will retarget this to main.

All changes are in docs/cloud/connectivity/ip-addresses.mdx, and each applies to both the curl and the gRPC procedure.

1. Removed the temporal-cloud-api-version header

Previous instructions used a specific version of the Cloud Ops API -- which was an over-optimization added by AI.

Simplifies example steps by removing the Version (often called $H_VER in the steps)

We do still have a place that notes it requires "Cloud Ops API v0.15.0 or later," for clarity for customers who roll-their-own Ops API.

2. Reordered the steps to be more intuitive.

Same steps, different order that matches user behavior better.

Before After
Step 1 Read Namespace spec and resource version Create the Connectivity Rule — including capturing CR_ID and waiting for the async operation
Step 2 Create the Connectivity Rule Attach the rule to the Namespace — including the GetNamespace read
Step 3 Wait for the create operation (folded into Step 1)
Step 4 Attach the rule to the Namespace (folded into Step 2)

Internal cross-references were updated to match the new numbering.

3. Added a simpler, intuitive example command for confirming each step

Some users (like me) don't want to use the "async operation ID". They can just use the new sample commands in Step 1 and Step 2 to query ("look up") the state of the resource-they-just-created.

AI Verification

Claude checked field names and enum values were checked against the protos in temporalio/cloud-api.

🤖 Generated with Claude Code

┆Attachments: EDU-6912 Simplify and reorder the Stable IPs API examples

lukeknep and others added 2 commits August 6, 2026 16:04
Rewrite "Changes to Stable IP ranges" to state the actual commitments:
once a region's ranges are published Temporal avoids adding to them and
has no plans to remove one, and any unforeseen add or remove comes with
six months of advance notice.

Remove the "Don't depend on DNS resolution behavior" callout from the
Stable IPs section. It named High Availability as the *only* case with
guaranteed DNS resolution, which is wrong now that Stable IPs is a second
case. The accurate version, listing both, already exists in "When
Namespace Endpoint DNS resolution is predictable" on the same page and in
the Namespaces page callout.

Replace "routes to" with "redirects via DNS to" where the docs describe
the Namespace Endpoint reaching an active region. The endpoint does not
proxy traffic; it is a DNS redirect.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Drop the temporal-cloud-api-version header from the curl and gRPC
examples. Callers no longer need to pin the Cloud Ops API version, and
carrying it through every command added noise. This removes the H_VER
variable, the version entry in GRPC_HEADERS, the "two headers" preamble,
and the two minimum-version bullets.

Reorder both procedures to follow the order a caller actually works in.
Creating the Connectivity Rule is now Step 1, including capturing the
rule ID and waiting for the async operation to reach a terminal state.
Attaching the rule to the Namespace is Step 2, folding in the
GetNamespace read that the full-replace UpdateNamespace call depends on.

Add a non-polling way to confirm each step. Step 1 can list the account's
Connectivity Rules and read the new rule's state, which also reveals
whether a public rule already exists. Step 2 can describe the Namespace
and confirm connectivityRuleIds contains the new rule ID.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@lukeknep
lukeknep requested a review from a team as a code owner August 7, 2026 17:59
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview Aug 8, 2026 1:09am

Request Review

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

Base automatically changed from stable-ips-change-policy to main August 7, 2026 22:13
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.

1 participant