reduce eyes parallelism from 79 to 20 to deflake drone#72312
Merged
davidsbailey merged 3 commits intostagingfrom Apr 23, 2026
Merged
reduce eyes parallelism from 79 to 20 to deflake drone#72312davidsbailey merged 3 commits intostagingfrom
davidsbailey merged 3 commits intostagingfrom
Conversation
stephenliang
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sauce Labs is dropping our concurrency from 200 to 65 soon. As part of the work to move some of our UI test load to device farm, I noticed that our DTT currently maxes out our current Sauce Labs concurrency, using 120 + 79 = 199 at the beginning of the DTT:
Starting 738 dashboard UI tests in 120 threads...Starting 79 dashboard Eyes tests in 172 threads...(this is 79x not 172x parallel)We also use saucelabs during CI, but we use saucelabs
priorityoption to give higher priority to DTT:code-dot-org/lib/rake/test.rake
Line 46 in 7e49f6f
code-dot-org/dashboard/test/ui/runner.rb
Line 115 in 7e49f6f
Saucelabs docs explain that pending jobs with lower priority number are always selected before jobs with higher priority number. This could be creating a situation where saucelabs is entirely unavailable for CI jobs for a period of minutes at the start of each DTT.
Therefore this PR accomplishes 2 goals:
Speculation
This might explain why we have UI tests failing in drone with the following mysterious errors:
https://cucumber-logs.s3.amazonaws.com/circle/50416/Chrome_teacher_tools_teacher_student_toggle_eyes_output.html?versionId=ut_wgt3UCM4kyeH4Je_qUEbtqNOD1.iK
This is highly speculative and may be hard to verify, but it seems worth a shot at potentially fixing this class of errors.
Testing story
I patched this change into the test machine, and found that it will not have any impact on DTT runtimes, because eyes tests still finish faster than regular UI tests.
before:
after:
Deployment notes
Deploy independently of any Device Farm changes to help reduce drone flakiness