-
Notifications
You must be signed in to change notification settings - Fork 299
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
race condition when fetching schedule quality, just after creating an oncall-shift, leads to a "Bad" quality schedule ("Schedule is Empty") #1968
Comments
Can't reproduce :( |
to reproduce:
Since (I believe) it's a race condition, it's not easily reproducable via the UI. |
Here are 3 To open these, first download the file, then: unzip test-results.zip
npx playwright show-trace test-results/schedules-quality-check-schedule-quality-for-simple-1-user-schedule-chromium/trace.zip |
Updating a schedule using the web UI sometimes you don't get the change immediately available (since the ical refresh is async). Related to #1968
I think this should have been fixed by the referenced change (reviewing last runs), please re-open if that's not the case. |
there seems to be a race condition regarding the API call we make to fetch a "Schedule Quality". Most of the time, when you create a brand new schedule and add one rotation layer, the schedule quality score will show "good" (expected). However, on rare occasions, the schedule quality score will show "bad" for the same schedule setup. It appears to be related to the response from the backend, my guess is because of some race condition in the ordering of the API calls the UI is making
The text was updated successfully, but these errors were encountered: