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

have temporal workers return unwrapped objects #2318

Merged
merged 2 commits into from
Mar 9, 2021
Merged

Conversation

cgardens
Copy link
Contributor

@cgardens cgardens commented Mar 5, 2021

What

We used to wrap the output of workers in OutputAndStatus but this wrapper no longer makes sense in the worker. We keep it around in the scheduler since it is specific to how we track asynchronous jobs. Workers now just worry about returning the type they are built for.

Worker

Basically removed OutputAndStatus everywhere. It's not used on the worker side at this point so it's a pretty boring change. I'm splitting it out so that the next PR (which is actually interesting) will be smaller and easier to read.

@cgardens cgardens marked this pull request as draft March 5, 2021 01:33
@cgardens cgardens changed the base branch from master to cgardens/get_spec_temporal_fixes March 5, 2021 01:33
Base automatically changed from cgardens/get_spec_temporal_fixes to cgardens/check_connection_worker_on_temporal March 5, 2021 01:38
Base automatically changed from cgardens/check_connection_worker_on_temporal to master March 5, 2021 02:30
@cgardens cgardens force-pushed the cgardens/tng_worker branch 2 times, most recently from 0cb63dd to 550d000 Compare March 9, 2021 01:50
@cgardens cgardens force-pushed the cgardens/tng_worker branch from 550d000 to b0b8d46 Compare March 9, 2021 02:41
@cgardens cgardens changed the title wip: have temporal workers return "naked" objects without wrappers have temporal workers return unwrapped objects Mar 9, 2021
@cgardens cgardens marked this pull request as ready for review March 9, 2021 02:45
@cgardens cgardens requested a review from jrhizor March 9, 2021 02:45
@cgardens cgardens merged commit 79f0935 into master Mar 9, 2021
@cgardens cgardens deleted the cgardens/tng_worker branch March 9, 2021 21:07
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.

1 participant