Closed Bug 1634679 Opened 5 years ago Closed 4 years ago

Output list of manifests selected by shadow schedulers

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox81 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: marco, Assigned: ahal)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Needed for showing manifest-level data on the dashboard (bug 1603467 / https://github.com/mozilla/cia-tasks/issues/1).

Do we want all manifests including the collateral damage ones? If not this will be a bit trickier.

I just wanted the list of actually selected manifests, not the collateral damage ones, so I can measure how the schedulers will be doing when we will have manifest-level scheduling.
I can just evaluate on historical data until this is more easily feasible though.

Could we simply make the shadow schedulers output the task graph as JSON instead of as a list of labels, and then let consumers choose how to use the data?

E.g. a consumer could:

  1. Load the task graph as JSON;
  2. List all manifests from manifest-level tasks by using MOZHARNESS_TEST_PATHS;
  3. List all non-manifest-level tasks (by filtering out tasks that have MOZHARNESS_TEST_PATHS).
Flags: needinfo?(ahal)

Yeah, I like that idea.

For now we could just paste the optimized taskgraph as an artifact (would require minimal changes to the shadow-scheduler task). In the future, we could re-do the shadow-schedulers such that they get invoked via decision.py and thus upload all the same artifacts that a normal decision task would. I'm not sure if that's important or not though.

Assignee: nobody → ahal
Status: NEW → ASSIGNED
Flags: needinfo?(ahal)

This will put some extra strain on the ETL, and we'll need to coordinate landing it with Kyle.

Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/82fcb84ee78a [ci] Output full taskgraph JSON from shadow-schedulers, r=marco
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: