Skip to content

Make integration test task queues unique - #2280

Draft
THardy98 wants to merge 5 commits into
mainfrom
agent/cloud-task-queue-isolation
Draft

Make integration test task queues unique#2280
THardy98 wants to merge 5 commits into
mainfrom
agent/cloud-task-queue-isolation

Conversation

@THardy98

@THardy98 THardy98 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

The shared integration-test helper currently derives task queue names only from AVA test titles. That is safe with an ephemeral server, but concurrent CI runs against one persistent Cloud namespace can create workers on identical queues and consume each other's workflow tasks.

This change retains the readable normalized title prefix and appends a UUID whenever the shared helper creates a task queue. It truncates the prefix on UTF-8 character boundaries so the complete name stays within Temporal's 1,000-byte limit. Local tests keep the same naming shape with an added uniqueness suffix; workflow IDs remain independently randomized.

Focused coverage verifies uniqueness, readable prefixes, the server length limit, and multi-byte truncation. The seven combined Cloud-foundation AVA tests pass. The package TypeScript build reaches only the two pre-existing ActivityExecutionStatus.PAUSED errors on current main.

Part of temporalio/features#851.

@THardy98 THardy98 added the skip-changelog No changelog is necessary for this PR. label Aug 3, 2026 — with ChatGPT Codex Connector
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