`./mach try ... --artifact` should imply `--disable-pgo`
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox112 fixed)
| 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.
| Assignee | ||
Comment 1•3 years ago
|
||
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.
Updated•3 years ago
|
| Assignee | ||
Comment 3•3 years ago
|
||
| Assignee | ||
Comment 5•3 years ago
|
||
Comment 7•3 years ago
|
||
Backed out for causing try related failures.
Failure logs:
https://treeherder.mozilla.org/logviewer?job_id=405447099&repo=autoland
https://treeherder.mozilla.org/logviewer?job_id=405447077&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/046e3d52f7a96c643f6128873e9a727b10bcb617
Updated•3 years ago
|
Updated•3 years ago
|
Comment 9•3 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•3 years ago
|
Description
•