Closed Bug 1624859 Opened 5 months ago Closed 4 months ago

Don't run all builds with `./mach try auto`

Categories

(Firefox Build System :: Task Configuration, task, P2)

task

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

While we want ./mach try auto to mimic what happens on autoland as closely as possible, one issue is that autoland runs every build by default. This gives sheriffs a place to backfill quickly in the event it is needed.

On I don't believe we want this behaviour. At the very least we probably shouldn't run builds that don't have any associated tests. Though an easier way to solve this is to simply optimize all of them and then we'd still run any builds for associated tests.

I think we should start with this approach and maybe create a more intelligent optimizer in the future (if it turns out its needed).

Build tasks that are dependencies of selected tests, or build tasks that are
explicitly selected via 'try_task_config' will skip optimization and are
therefore not affected by this change.

This simply ensures that we don't run every build with every push via ./mach
try auto.

Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9f55382156dd
[taskgraph] Remove 'bugbug' internal class in experimental optimization strategies, r=tomprince
https://hg.mozilla.org/integration/autoland/rev/ff704e8cb0ea
[taskgraph] Always optimize build tasks with ./mach try auto, r=tomprince
https://hg.mozilla.org/integration/autoland/rev/d82de935b08b
[ci] Rename 'fuzzing-builds' optimization alias to 'build-fuzzing', r=tomprince
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.