Closed Bug 1244504 Opened 10 years ago Closed 10 years ago

Switch trychooser to only use the aliases for all chunks for browser-chrome, devtools-chrome, and their e10s variants

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(e10s-)

RESOLVED FIXED
Tracking Status
e10s - ---

People

(Reporter: philor, Assigned: philor)

References

Details

(Keywords: trychooser)

Attachments

(1 file)

We do chunk-by-runtime for browser-chrome and devtools-chrome. That means that absolutely every single time that even one test file is added or removed from either suite, every single test might move into a different chunk, as we recalculate what needs to go where to get relatively even runtimes between chunks. As a result, there is only one single case, where you've pushed a patch already and found where the single test you are interested in ran and then didn't rebase and didn't add another test and didn't remove another test, where choosing to run a particular chunk rather than all chunks is sane behavior. If in an inattentive moment you rebase to the tip of the tree you work off of, boom, the chunk you are running starts passing and you think you fixed your test when really it moved into a chunk you didn't run. If you got backed out for breaking a test in mochitest-e10s-devtools-chrome-5, so you update to the tip of fx-team and reapply your patch and push to try choosing just that one, you probably didn't run that test since someone added three tests, someone else removed two, and because they like to thrash, someone else moved fifty tests into new directories between the push where you got backed out and the one you reapplied your patch on top of.
Depends on: 1244510
Attached patch FixSplinter Review
Bonus: this gets rid of the extreme weirdness of having only the alias for non-e10s bc, the alias plus chunks for e10s bc, the alias plus chunks for non-e10s dt, only the alias for e10s dt.
Assignee: nobody → philringnalda
Status: NEW → ASSIGNED
Attachment #8716782 - Flags: review?(jmaher)
Ah, clarity dawns while looking at how wrong the "(foo only)" labels are: that's not an alias for dt, that's the single chunk we started with, then we chunked on Linux but not elsewhere, then we chunked more on debug, etc.
Comment on attachment 8716782 [details] [diff] [review] Fix Review of attachment 8716782 [details] [diff] [review]: ----------------------------------------------------------------- this is great! thanks for pushing on this and making the patches.
Attachment #8716782 - Flags: review?(jmaher) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: