-
Notifications
You must be signed in to change notification settings - Fork 195
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: serial workflow advance fix #2149
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2149 +/- ##
=======================================
Coverage 94.93% 94.93%
=======================================
Files 191 191
Lines 20568 20570 +2
Branches 1864 1864
=======================================
+ Hits 19526 19528 +2
Misses 779 779
Partials 263 263
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
56b76c3
to
78f3251
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.
Approved.
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.
LGTM 👍
* fix: also check "graded" on workflow when advancing * chore: bump ORA to 6.0.21 * style: more consistent styling in workflow API file
TL;DR - Check both
graded
andcomplete
workflow status indicators to confirm we've completed a workflow step instead of justcomplete
.What changed?
In the new ORA UI we serially progress through steps, blocking movement forward to a subsequent step until all requirements are met for the current step. This blocks us from determining workflow status directly (as previously, we would jump forward as far as you are able to view, skipping peer if it was followed by an additional step) and requires us to manually determine how far we have progressed.
Previous checks incorrectly determined this by only checking
complete
(whether you have finished your required work on a step) instead of also checkinggraded
(whether you have received required external grades e.g. from peers).This adds the additional check that both
complete
andgraded
must beTrue
for a step to be considered finished.Developer Checklist
Reviewer Checklist
Collectively, these should be completed by reviewers of this PR:
FYI: @openedx/content-aurora