Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 19, 2025

Conversation

TastyPi
Copy link
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