Skip to content

Set default workflowExecution.runId to a UUID in MockActivityEnvironment#1723

Merged
mjameswh merged 4 commits intotemporalio:mainfrom
TastyPi:tastypi/uuid
Aug 19, 2025
Merged

Set default workflowExecution.runId to a UUID in MockActivityEnvironment#1723
mjameswh merged 4 commits intotemporalio:mainfrom
TastyPi:tastypi/uuid

Conversation

@TastyPi
Copy link
Copy Markdown
Contributor

@TastyPi TastyPi commented Jun 10, 2025

What was changed

Set the default value of MockActivityEnvironment's workflowExecution.runId to a UUID to better match the real implementation.

Why?

Makes the mock environment closer to the real environment.

Checklist

  1. Closes [Bug] MockActivityEnvironment's activityInfo().workflowExecution.runId is not a UUID #1706

  2. How was this tested:

Made the change in my local environment and I was able to use workflowExecution.runId with UUID v5.

  1. Any docs updates needed?

I don't think so

@TastyPi TastyPi requested a review from a team as a code owner June 10, 2025 08:14
@mjameswh mjameswh merged commit 6a42938 into temporalio:main Aug 19, 2025
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] MockActivityEnvironment's activityInfo().workflowExecution.runId is not a UUID

2 participants