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

chore: Refactor externalGraderLocal to use async/await #5116

Merged
merged 5 commits into from
Apr 12, 2022

Conversation

nwalters512
Copy link
Contributor

We need to start chipping away at all of the code that's written with callbacks and converting it to async/await, which is in general significantly easier to understand and maintain. I'm going to try to do a few of these PRs each week. Here's the first one, converting lib/externalGraderLocal.js to use async/await.

This was a pretty direct conversion. The only deliberate change of behavior here was that we no longer log each status update from docker.pull(...). This was already pretty much useless, as it just logged a ton of docker pull output: [object Object].

@nwalters512 nwalters512 marked this pull request as ready for review November 25, 2021 02:10
@jonatanschroeder jonatanschroeder removed their request for review November 26, 2021 15:28
@nwalters512 nwalters512 merged commit 95302c0 into master Apr 12, 2022
@nwalters512 nwalters512 deleted the chore/external-grader-local-async-await branch April 12, 2022 00:18
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.

None yet

2 participants