Skip to content
New issue

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

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

Already on GitHub? # to your account

Wait for activity completes to reach server before shutdown #681

Conversation

Sushisource
Copy link
Member

What was changed

Make sure we flush activity completions to server before shutting down

Why?

It's nice. We already wait for outstanding activities to complete. It makes sense to make sure we actually do something with those results.

Checklist

  1. Closes [Feature Request] Do not complete shutdown until all activities have returned and results pushed to server #594

  2. How was this tested:
    Added UT

  3. Any docs updates needed?

@Sushisource Sushisource requested a review from a team as a code owner February 3, 2024 00:09
@Sushisource Sushisource merged commit ee687bf into temporalio:master Feb 12, 2024
7 checks passed
@Sushisource Sushisource deleted the wait-for-activity-completes-to-server branch February 12, 2024 19:12
@bergundy
Copy link
Member

@mjameswh we may want to modify TS to not also wait on activity completion to be delivered to the server, need to look into this.

Definitely better done Core side.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Do not complete shutdown until all activities have returned and results pushed to server
3 participants