Skip to content
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

Add initial memo to scheduler workflows #3839

Merged
merged 3 commits into from
Jan 26, 2023
Merged

Add initial memo to scheduler workflows #3839

merged 3 commits into from
Jan 26, 2023

Conversation

dnr
Copy link
Member

@dnr dnr commented Jan 25, 2023

What changed?
The ListSchedules api depends on the memo fields of internal scheduler workflows. The memo is upserted by each workflow task, but before the first workflow task has run, it would be empty, so ListSchedules would return a schedule with no metadata, which is confusing. This adds an initial memo with the same contents that the first workflow task would have set.

Why?
So ListSchedules always returns a sensible result.

How did you test it?
New integration test

Potential risks

Is hotfix candidate?

@dnr dnr requested a review from a team as a code owner January 25, 2023 03:44
@dnr dnr merged commit 909ca96 into temporalio:master Jan 26, 2023
@dnr dnr deleted the sched38 branch January 26, 2023 07:16
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.

2 participants