Classify SDK tests for Cloud execution - #3033
Open
THardy98 wants to merge 4 commits into
Open
Conversation
THardy98
force-pushed
the
feat/cloud-test-namespace
branch
from
August 25, 2026 12:06
80d1c35 to
e951a65
Compare
THardy98
force-pushed
the
feat/cloud-test-filtering
branch
4 times, most recently
from
August 25, 2026 14:51
63b9ab2 to
ed1103c
Compare
THardy98
force-pushed
the
feat/cloud-test-namespace
branch
from
August 25, 2026 17:00
e951a65 to
21ae1f4
Compare
THardy98
force-pushed
the
feat/cloud-test-filtering
branch
from
August 25, 2026 20:17
ed1103c to
5e01735
Compare
THardy98
force-pushed
the
feat/cloud-test-filtering
branch
6 times, most recently
from
September 3, 2026 12:49
a33de7e to
602d1ec
Compare
THardy98
force-pushed
the
feat/cloud-test-filtering
branch
from
September 3, 2026 17:35
602d1ec to
e7e7d86
Compare
THardy98
marked this pull request as ready for review
September 3, 2026 17:39
THardy98
force-pushed
the
feat/cloud-test-filtering
branch
from
September 3, 2026 18:43
e7e7d86 to
a86883f
Compare
THardy98
force-pushed
the
feat/cloud-test-filtering
branch
3 times, most recently
from
September 3, 2026 20:35
6db5e63 to
f6957f4
Compare
THardy98
force-pushed
the
feat/cloud-test-filtering
branch
from
September 3, 2026 23:00
f6957f4 to
561917f
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.
What was changed?
Temporal SDK tests are now eligible for Cloud execution by default. Tests that cannot run in the isolated Cloud namespace use JUnit 4 categories with one of three explicit reasons:
Every exclusion also carries a required
CloudTestExclusionNoteexplaining its concrete limitation.The new
:temporal-sdk:testCloudtask excludes that category hierarchy while leaving the normaltesttask unchanged.The complementary
:temporal-sdk:listCloudExcludedTeststask lists concrete excluded test names without executing them and accepts-PcloudTestExclusionReason=<reason>to inspect one reason category.Ex:
to see all tests that need cloud adaptation.
Straightforward compatibility issues were fixed rather than excluded: secondary clients use the configured namespace and connection, direct external clients preserve envconfig TLS and authentication, and assertions use the active namespace.
Review guide
Commits are split logically, will be much easier to review that way.
Why?
A hand-picked Cloud smoke test does not show which parts of the SDK suite are compatible with Temporal Cloud. Runner-native categories keep eligibility beside each test, make exclusions reviewable, and allow new compatible tests to enter the Cloud lane automatically without maintaining a separate allowlist. Machine-enforced notes preserve reviewer context while keeping reason filtering idiomatic to JUnit.
Breaking changes?
None. The category types and Gradle task are internal test infrastructure, and normal local test execution is unchanged.
Server PR
None.
How was this tested?
CI job runs the integration test suite against cloud now (skips tests that are not ready for cloud)
Documentation
CONTRIBUTING.mddocuments the Cloud task, excluded-test inventory, default eligibility policy, exclusion reasons, and required note metadata.