Skip to content

Conversation

Sushisource
Copy link
Member

@Sushisource Sushisource commented Nov 1, 2024

What was changed

Update core & handle start workflow rename. This just deals with the rename, it does not attempt to use the new job application scheme discussed in #606

Why?

Need Core updates

Checklist

  1. Closes

  2. How was this tested:
    Existing tests

  3. Any docs updates needed?

@Sushisource Sushisource requested a review from a team as a code owner November 1, 2024 22:40
Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one ordering confirmation. Would also like @dandavison to look.

elif not job.HasField("query_workflow"):
if job.HasField("start_workflow"):
start_job = job.start_workflow
if job.HasField("initialize_workflow"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We changed the order this item appears in the activation job list, correct? Can you confirm that that will have no effect here because of the built in Python ordering already present here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it doesn't matter because everything gets reordered anyway

Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please wait for @dandavison approval as well on this one, want him to make sure he doesn't see any issues.

Copy link
Contributor

@dandavison dandavison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too. I can't see how temporalio/sdk-core@5462522 would change Python behavior given the lang-level control over job ordering.

@Sushisource Sushisource enabled auto-merge (squash) November 6, 2024 20:00
@Sushisource Sushisource merged commit 5b897b1 into main Nov 6, 2024
12 checks passed
@Sushisource Sushisource deleted the core-update branch November 6, 2024 20:17
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.

3 participants