Closed Bug 1816440 Opened 3 years ago Closed 3 years ago

`./mach try ... --artifact` should imply `--disable-pgo`

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox112 fixed)

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: bhearsum, Assigned: bhearsum)

Details

Attachments

(1 external file, 2 obsolete files)

Currently, ./mach try ... --artifact only affects non-shippable (aka PGO) builds. This is fine for many use cases, but there are a number of tasks that depend exclusively on shippable builds, and it's when testing those types of tasks it usually doesn't matter if you have a full build, or whether or not it's PGO. --disable-pgo partly does this: it disables the profile run and instrumented build parts of shippable builds. When combined with --artifact, you end up with a single, artifact build - exactly what we want!

We should make this the default behaviour for --artifact. It's very surprising behaviour to pass --artifact and end up with a full, 2 stage build because you happen to be testing something that needs a shippable build.

Currently, ./mach try ... --artifact only affects non-shippable (aka PGO) builds. This is fine for many use cases, but there are a number of tasks that depend exclusively on shippable builds, and it's when testing those types of tasks it usually doesn't matter if you have a full build, or whether or not it's PGO. --disable-pgo partly does this: it disables the profile run and instrumented build parts of shippable builds. When combined with --artifact, you end up with a single, artifact build - exactly what we want!

We should make this the default behaviour for --artifact. It's very surprising behaviour to pass --artifact and end up with a full, 2 stage build because you happen to be testing something that needs a shippable build.

Assignee: nobody → bhearsum
Status: NEW → ASSIGNED
Pushed by bhearsum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f853b488db5d /mach try ... --artifact should imply --disable-pgo r=releng-reviewers,jcristau
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/073d6070b7cf bustage fix for test failure. r=jcristau
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5b5c8d6892fb bustage fix #2 for test failure. r=jcristau
Attachment #9317363 - Attachment is obsolete: true
Attachment #9317376 - Attachment is obsolete: true
Pushed by bhearsum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/44b9f814ccd4 /mach try ... --artifact should imply --disable-pgo r=releng-reviewers,jcristau
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
Flags: needinfo?(bhearsum)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: