Closed Bug 1637810 Opened 2 months ago Closed 1 month ago

Define a new strategy that optimizes builds away if they are not selected by bugbug

Categories

(Firefox Build System :: Task Configuration, enhancement)

enhancement

Tracking

(firefox79 fixed)

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: marco, Assigned: marco)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

Attachments

(1 file)

I think we can treat build tasks with no associated tests just like test tasks: we don't need those builds ready for backfilling purposes.

The same smart scheduler we use to schedule tests could easily be modified to schedule build tasks as well.

The main benefit of this is that these optimizations will be handled automatically without us having to 1) notice build tasks that can be moved to backstop pushes/m-c only; 2) figure out if they can actually be moved and what the drawbacks are; 3) figure out what the cost savings are to see if the benefits outweigh the drawbacks; 4) convince people it's the right thing. See for example bug 1636902 or bug 1637542. So, it'd clearly save us time.

Type: task → enhancement
See Also: → 1636110
Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
Attachment #9149506 - Attachment description: Bug 1637810 - Create a new strategy that optimizes builds away if they are not selected by bugbug. r=ahal → Bug 1637810 - Optimizes builds away if they are not selected by bugbug. r=ahal
Attachment #9149506 - Attachment description: Bug 1637810 - Optimizes builds away if they are not selected by bugbug. r=ahal → Bug 1637810 - Create a new strategy that optimizes builds away if they are not selected by bugbug. r=ahal
Blocks: 1642938
Summary: Schedule builds with no associated tests on a subset of pushes using the bugbug smart scheduler → Define a new strategy that optimizes builds away if they are not selected by bugbug
Attachment #9149506 - Attachment description: Bug 1637810 - Create a new strategy that optimizes builds away if they are not selected by bugbug. r=ahal → Bug 1637810 - Define a new strategy that optimizes builds away if they are not selected by bugbug. r=ahal DONTBUILD
Pushed by mcastelluccio@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aae052147b30
Define a new strategy that optimizes builds away if they are not selected by bugbug. r=ahal DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.