Skip to content

Use configured test environments in worker integration suites - #2286

Draft
THardy98 wants to merge 2 commits into
mainfrom
agent/cloud-worker-env-migration
Draft

Use configured test environments in worker integration suites#2286
THardy98 wants to merge 2 commits into
mainfrom
agent/cloud-worker-env-migration

Conversation

@THardy98

@THardy98 THardy98 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Worker and runtime integration suites still constructed server-backed resources with implicit localhost defaults. That prevented the envconfig harness from directing these tests to Temporal Cloud even though their behavior does not intrinsically require a local server.

This moves those paths onto environment-owned clients, native connections, and namespaces, with explicit teardown. Mock gRPC and invalid-connection coverage remains local to its existing test setup, and the change does not alter tests already classified as intrinsically local.

Validation: focused ESLint, Prettier, and diff checks pass. pnpm --dir packages/test build reports only the existing ActivityExecutionStatus.PAUSED mismatch from the locally advanced core submodule.

@THardy98 THardy98 added the skip-changelog No changelog is necessary for this PR. label Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog No changelog is necessary for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant