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

feat: use patches in scheduler to avoid races + add some more unit tests #419

Merged
merged 2 commits into from
Jul 10, 2023

Conversation

michaelawyu
Copy link
Contributor

@michaelawyu michaelawyu commented Jul 5, 2023

Description of your changes

This PR updates the scheduler logic to use patches (instead of updates) to avoid races.

It also adds a number of unit tests that wasn't included in previous scheduler PRs.

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

  • Unit tests

Special notes for your reviewer

@michaelawyu michaelawyu changed the title feat: use patches to avoid races + add unit tests feat: use patches in scheduler to avoid races + add unit tests Jul 5, 2023
@michaelawyu michaelawyu changed the title feat: use patches in scheduler to avoid races + add unit tests feat: use patches in scheduler to avoid races + add some more unit tests Jul 5, 2023
Copy link
Contributor

@zhiying-lin zhiying-lin left a comment

Choose a reason for hiding this comment

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

LGTM :)

@michaelawyu michaelawyu merged commit 0ccf780 into Azure:main Jul 10, 2023
10 checks passed
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.

2 participants