Closed Bug 1603463 Opened 5 years ago Closed 5 years ago

Implement a `mach try auto` selector

Categories

(Developer Infrastructure :: Try, enhancement, P1)

enhancement

Tracking

(firefox76 fixed)

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Once we have smarter scheduling algorithms available in the taskgraph, we should have a try selector that uses them. Possibly it can be as simple as "run the exact same thing that we would run on autoland". It should also be made the default selector, so simply running mach try will invoke it.

Eventually we may want to implement the ability to supplement / prune the task list, but that can be implemented later on.

Assignee: nobody → ahal
Attachment #9121406 - Attachment description: Bug 1603463 - Implement |mach try auto| → Bug 1603463 - Implement |mach try auto| and a new try_mode to go along with it, r?tomprince
Status: NEW → ASSIGNED

This allows us to change the default optimization strategy used in try pushes.
While probably not super useful to developers, it can help us easily test
changes to new and experimental optimizations on try.

This also changes the default to the 'bugbug_push_schedules' strategy, since
SETA is more or less random and shouldn't be used by 'mach try auto'. In the
future, we'll switch this back to simply using the default optimization as the
default will ideally be the best one that we have.

Depends on D60184

Attachment #9121406 - Attachment description: Bug 1603463 - Implement |mach try auto| and a new try_mode to go along with it, r?tomprince → Bug 1603463 - Implement |mach try auto| which selects tasks on try automatically, r?tomprince

Neither of these selectors involve the user choosing tasks, so showing
estimates or saving them in the 'mach try again' history doesn't make much
sense.

Depends on D65746

Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/12d3a008b699 Implement |mach try auto| which selects tasks on try automatically, r=tomprince https://hg.mozilla.org/integration/autoland/rev/ec855966b19b [tryselect] Add the ability to run 'mach try auto' with alternative scheduling algorithms, r=tomprince https://hg.mozilla.org/integration/autoland/rev/3d0e23deb7f6 [tryselect] Ignore 'auto' and 'empty' selectors in estimates and history, r=gbrown
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: