-
Notifications
You must be signed in to change notification settings - Fork 976
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
New work interface #1801
New work interface #1801
Conversation
Thanks for reviewing! I've made some updates, mostly addressing design-related comments. Like I mentioned before, I'm not focusing on particular optimizations/other nits for this iteration, as it will be addressed once we agree on the design. |
7e8ef67
to
946fbde
Compare
946fbde
to
dbbc73e
Compare
dbbc73e
to
ad5fe17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few questions just on BasicWork
for now
This prototype has served its purpose - closing it in favor of #1819 |
{should NOT be merged}
This is an initial prototype of the Work interface described here. It includes implementations of the new interface (BasicWork & Work), the scheduler (WorkScheduler), as well as a few examples on how existing works can utilize it (including RunCommandWork, DownloadBucketsWork etc).
For the refactored works, it's better to look at the whole files (as opposed to diffs). I left some of the tests from before I made the breaking changes (like actually renamed the classes) in case it is useful.