Sync cloud-sdk-go v0.14.1#85
Open
anekkanti wants to merge 2 commits into
Open
Conversation
Bump cloud-sdk dependency to the v0.14.1 release candidate and expose the new read-only namespace-assignment RPCs as CLI commands. - go.mod: go.temporal.io/cloud-sdk v0.13.0 -> v0.14.1-0.20260616191445-e6c2bafd1bf5 (pinned to RC commit e6c2bafd1bf5e2fcbdbfcb7ff1086cabcbb47b7a) - New commands (additive only): - cloud namespace user list - cloud namespace service-account list - cloud namespace user-group list - Regenerated commands.gen.go and cloudservice mock for the new RPCs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 86317a4. Configure here.
jeri-temporal
approved these changes
Jun 17, 2026
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.

Sync cloud-sdk-go v0.14.1
Keeps
cloud-clipinned to the current state of thecloud-sdk-goreleasecandidate/v0.14.1branch and exposes the new SDK API surface in theCLI. Runs before the SDK RC is merged so the downstream CLI work can be
reviewed alongside the SDK candidate.
Source candidates
(Sync cloud-api v0.17.1 cloud-sdk-go#57)
releasecandidate/v0.14.1@e6c2bafd1bf5e2fcbdbfcb7ff1086cabcbb47b7aDependency bump
go.temporal.io/cloud-sdk:v0.13.0→v0.14.1-0.20260616191445-e6c2bafd1bf5e6c2bafd1bf5e2fcbdbfcb7ff1086cabcbb47b7a(
go get go.temporal.io/cloud-sdk@e6c2bafd1bf5e2fcbdbfcb7ff1086cabcbb47b7a), thengo mod tidy.go.modon the RC branch(e.g.
go.temporal.io/api, the genproto modules).cloud-clialreadyrequires versions at or above everything the SDK declares, so MVS keeps the
existing (higher) versions — no alignment downgrade was needed and no drift
was introduced.
SDK changes detected (
v0.13.0→ RC)Purely additive — no removed, renamed, or signature-changed symbols.
New RPCs on
CloudService(all read-only, paginated):GetUserNamespaceAssignments(namespace, page_size, page_token)→users []UserNamespaceAssignmentGetServiceAccountNamespaceAssignments(namespace, page_size, page_token)→service_accounts []ServiceAccountNamespaceAssignmentGetUserGroupNamespaceAssignments(namespace, page_size, page_token)→groups []UserGroupNamespaceAssignmentNew identity message types (each: id, name/email/display_name,
namespace_access,inherited_access,resource_version):identity/v1.UserNamespaceAssignmentidentity/v1.ServiceAccountNamespaceAssignmentidentity/v1.UserGroupNamespaceAssignmentNew enum value:
region/v1.Region_CloudProvider:CLOUD_PROVIDER_AZURE = 3. No CLI codechange required — cloud-provider values render automatically via the existing
RegisterEnumToStringConverter[...Region_CloudProvider]registration incommands.go, socloud region get/listwill display Azure regions once theSDK is bumped.
CLI changes
Existing commands updated: none. (No wrapped SDK method changed signature or
gained fields; the only field-level additions are on the brand-new assignment
types.)
New commands added (read-only, mirroring existing
listconventions; eachtakes the standard required
--namespace/-n, optional--page-size,--page-token, and--api-key/--server):cloud namespace user list— wrapsGetUserNamespaceAssignmentscloud namespace service-account list— wrapsGetServiceAccountNamespaceAssignmentscloud namespace user-group list— wrapsGetUserGroupNamespaceAssignmentsImplemented in
temporalcloudcli/commands.namespace.access.gowith unit tests incommands.namespace.access_test.go.commands.yml, the generatedcommands.gen.go, and the regenerated cloudservice mock are updatedaccordingly.
make all(gen + build + mocks + test) passes.Backward compatibility
No backward-incompatible changes were made — additions only. No existing
command, subcommand, flag, positional argument, default, type, or output was
removed, renamed, or changed. All new flags are optional with safe defaults
(empty/zero), so existing invocations behave identically. Nothing had to be
skipped for compatibility reasons.
RC pseudo-version note
This pins an RC pseudo-version (
v0.14.1-0.20260616191445-e6c2bafd1bf5),not a published tag. Once
cloud-sdk-go v0.14.1is released, the dependencyshould be re-pinned to the tagged version. That is a separate, human-driven
follow-up and is out of scope for this PR.
Note
Medium Risk
Read-only identity and namespace-access APIs are security-sensitive, but changes are additive with no modifications to existing auth or assignment flows.
Overview
Bumps
go.temporal.io/cloud-sdkfromv0.13.0to thev0.14.1RC pseudo-version and wires up the new read-only Get*NamespaceAssignments RPCs in the CLI.Under
cloud namespace, three newlistsubcommands let operators see who has access to a namespace (direct and inherited):user list,service-account list, anduser-group list. Each takes--namespaceplus optional--page-size/--page-token, calls the matching Cloud API, and prints Id, Email, and NamespaceAccess. Handlers live incommands.namespace.access.go;commands.yml, generatedcommands.gen.go, and the cloudservice mock are updated to match, with unit tests incommands.namespace.access_test.go.No existing commands or flags are changed; the SDK bump is additive only (including Azure as a region provider value, which existing enum rendering should pick up automatically).
Reviewed by Cursor Bugbot for commit 67404cf. Bugbot is set up for automated code reviews on this repo. Configure here.