Closed Bug 1884386 Opened 3 months ago Closed 3 months ago

Disable taskgraph-diff task to reduce load on hg.mozilla.org

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox125 fixed)

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: bhearsum, Assigned: bhearsum)

References

Details

Attachments

(4 files)

We currently do this as part of task generation, which means it happens anytime ./mach taskgraph runs, regardless of whether or not any relevant files have changed. We can avoid this by having it done when a ./mach taskgraph --diff task is actually running.

Blocks: 1884364

We currently hit hg.mozilla.org virtually anytime ./mach taskgraph is used, even though this task doesn't run most of the time, and thus the data we fetch for it is pointless. Let's discover this information at runtime instead.

(An alternative I considered was to move this call to a morph, but that seemed like it was more work and less discoverable.)

Pushed by bhearsum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c6b0c0cbab82
don't hit hg.mozilla.org to find base revision for taskgraph --diff until runtime r=ahal,taskgraph-reviewers
Pushed by bhearsum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ed837d0b34ab
load parameters file before trying to access parameters in taskgraph --diff r=ahal,taskgraph-reviewers

These ended up using the wrong value for base_ref for taskgraph-diff jobs.

Pushed by bhearsum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5f6463e81d9f
Revert D204065 and D204046 r=ahal,taskgraph-reviewers
https://hg.mozilla.org/integration/autoland/rev/49047047215d
Disable taskgraph-diff task for now to reduce load on hg.mozilla.org r=ahal,taskgraph-reviewers

Retitling to make it clear what actually landed.

Summary: defer finding taskgraph --diff base revision to runtime → Disable taskgraph-diff task to reduce load on hg.mozilla.org
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: