Open Bug 1970153 Opened 6 months ago Updated 2 months ago

decision tasks should use --target-kind when appropriate

Categories

(Firefox Build System :: Task Configuration, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: bhearsum, Unassigned)

References

(Blocks 1 open bug)

Details

At the moment all decision tasks generate all tasks. This is appropriate in many cases, and certainly in the general case of a regular push to a repository. In other cases, such as cron tasks or actions, we know ahead of time which tasks we're going to need. In these cases, we end up spending time generating many tasks that go unused (most notably: the test kind tasks).

The braindead way to avoid this would be to have cron hooks and actions include a target kind in the parameters. This would be a change in policy, and require some code changes in taskgraph and/or gecko_taskgraph to make it possible.

There may be more clever ways to do this, too.

Severity: -- → S3
Type: task → enhancement
Priority: -- → P3
Blocks: 1840828
You need to log in before you can comment on or make changes to this bug.