Closed Bug 1729060 Opened 3 years ago Closed 3 years ago

Replace `taskgraph --diff` with the implementation in standalone taskgraph

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox94 fixed)

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

Details

Attachments

(4 files, 1 obsolete file)

The --diff implementation in standalone taskgraph now (or will soon) supports diffing against multiple parameters files in parallel. We'll need to sync this implementation over to mozilla-central if we want a task to use it.

Blocks: 1708189

This syncs the remaind of bug 1720715 from standalone taskgraph and modifies
the 'mach_commands.py' file to use it.

Of note is the 'setup_logging' override. This is necessary because once we set
up termimal logging in 'mach', it would be difficult for standalone taskgraph
to remove it again in the event we want to redirect logs to file. This way we
can avoid setting it up in the first place and while still keeping Gecko-isms
out of main.py.

Depends on D124831

Attachment #9239915 - Attachment description: Bug 1729060 - Use standalone taskgraph's --diff implementation in `mach taskgraph`, r?#taskgraph-reviewers! → Bug 1729060 - [taskgraph] Sync standalone taskgraph's --diff implementation, r?#taskgraph-reviewers!

This ensures logs from e.g Gecko won't get mixed up with ones from Fenix.

Depends on D124832

This replaces Gecko's old '--diff' implementation with the one included with
standalone taskgraph.

Note this revision is a straight sync from standalone taskgraph and should not
contain any additional changes.

Depends on D124835

Attachment #9239914 - Attachment is obsolete: true
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/10a72f098be5
[taskgraph] Sync standalone taskgraph's --diff implementation, r=taskgraph-reviewers,bhearsum
https://hg.mozilla.org/integration/autoland/rev/4662c81ea309
[taskgraph] Include 'basename' of current directory in log path, r=taskgraph-reviewers,jmaher
https://hg.mozilla.org/integration/autoland/rev/253231954d77
[taskgraph] Use --diff implementation from 'main.py', r=taskgraph-reviewers,bhearsum
https://hg.mozilla.org/integration/autoland/rev/0afe2b1f31b4
[taskgraph] Add '-J' warning back in when comparing diffs, r=taskgraph-reviewers,bhearsum
Regressions: 1733625
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: