Skip to content

Provision Cloud namespace for each test run - #541

Merged
THardy98 merged 3 commits into
mainfrom
feat/cloud-namespace-per-run
Aug 18, 2026
Merged

Provision Cloud namespace for each test run#541
THardy98 merged 3 commits into
mainfrom
feat/cloud-namespace-per-run

Conversation

@THardy98

@THardy98 THardy98 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

What was changed

Cloud CI now generates a short-lived certificate authority and client certificate, provisions an ephemeral Temporal Cloud namespace that trusts that authority, and runs the existing envconfig-backed workflow smoke test against it. Namespace cleanup runs after the test even when provisioning or execution fails, and cleanup failures are reported as warnings.

This PR is stacked on #534 and follows the namespace lifecycle established by the Python and .NET SDKs.

Why?

This isolates parallel Cloud CI runs instead of sharing a persistent namespace and serializing access to it.

Checklist

  1. Closes N/A

  2. How was this tested:

    • Ruby syntax check
    • RuboCop
    • actionlint .github/workflows/ci.yml
    • OpenSSL certificate-chain verification
    • Ephemeral namespace creation, envconfig mTLS smoke execution, and deletion in GitHub Actions
  3. Any docs updates needed?

    No. This is internal test and CI infrastructure.

@THardy98
THardy98 force-pushed the feat/cloud-namespace-per-run branch from 47594bb to 34fb2c6 Compare August 17, 2026 18:01
@THardy98 THardy98 added the skip-changelog PR changes do not require changelog updates label Aug 17, 2026
@THardy98
THardy98 force-pushed the feat/cloud-namespace-per-run branch from c6bb7ba to 9c8f276 Compare August 17, 2026 19:55
Base automatically changed from feat/envconfig-harness to main August 17, 2026 20:11
@THardy98
THardy98 force-pushed the feat/cloud-namespace-per-run branch from 9c8f276 to 05a1ac5 Compare August 18, 2026 02:13
@THardy98
THardy98 marked this pull request as ready for review August 18, 2026 02:28
@THardy98
THardy98 requested a review from a team as a code owner August 18, 2026 02:28

@chris-olszewski chris-olszewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the cloud_namespace.rb script get moved to temporalio/extra? That's where we keep all of our scripting logic and linting etc is already setup for it.

Comment thread .github/scripts/cloud_namespace.rb Outdated
Comment thread .github/scripts/cloud_namespace.rb Outdated
@THardy98
THardy98 merged commit 91b6518 into main Aug 18, 2026
11 checks passed
@THardy98
THardy98 deleted the feat/cloud-namespace-per-run branch August 18, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog PR changes do not require changelog updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants