Closed Bug 1839891 Opened 1 year ago Closed 1 year ago

Replace `multi_dep` loaders with `from_deps` transforms

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox121 fixed)

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

Details

Attachments

(31 files, 2 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

The multi_dep loader has been subsumed by the from_deps transforms in upstream Taskgraph:
https://taskcluster-taskgraph.readthedocs.io/en/latest/reference/transforms/from_deps.html

Let's replace this loader with those transforms. As we work on projects like the Firefox Android repo migration, the more we can share code across projects, the easier stuff like that will become.

This results in an identical diff after running:

$ ./mach taskgraph full -p taskcluster/test/params --diff .~1 -J --fast --exclude-key attributes.primary-kind-dependency

Depends on D181899

See Also: → 1842023
Attachment #9340741 - Attachment description: Bug 1839891 - Update vendored taskcluster-taskgraph to 5.4.0, r?#taskgraph-reviewers! → Bug 1839891 - Update vendored taskcluster-taskgraph to 5.6.0, r?#taskgraph-reviewers!
Attachment #9340741 - Attachment description: Bug 1839891 - Update vendored taskcluster-taskgraph to 5.6.0, r?#taskgraph-reviewers! → Bug 1839891 - Update vendored taskcluster-taskgraph to 5.6.1, r?#taskgraph-reviewers!
Keywords: leave-open
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7a0483c6c4c0 Update vendored taskcluster-taskgraph to 5.6.1, r=taskgraph-reviewers,gbrown
Regressions: 1843975
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/16dd34d01d61 Update vendored taskcluster-taskgraph to 5.6.1, r=taskgraph-reviewers,gbrown https://hg.mozilla.org/integration/autoland/rev/ba91e51b4501 [ci] Convert signing tasks to 'from_deps' transforms, r=gbrown,jcristau,taskgraph-reviewers,releng-reviewers https://hg.mozilla.org/integration/autoland/rev/06748e1bdfcb [ci] Convert beetmover tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum

Backed out for causing py3 failures.

Flags: needinfo?(ahal)

I have a fix, but it will need a new Taskgraph change + release.

Flags: needinfo?(ahal)
Depends on: 1844592
Attachment #9340741 - Attachment description: Bug 1839891 - Update vendored taskcluster-taskgraph to 5.6.1, r?#taskgraph-reviewers! → Bug 1839891 - Update vendored taskcluster-taskgraph to 5.7.0, r?#taskgraph-reviewers!

Upstream taskgraph removed the special casing of docker-image tasks w.r.t
implicitly adding them to the graph, and instead switched over to relying on
the always_target feature to accomplish this.

However, in Gecko we usually disable the always_target feature entirely (only
enabling it on autoland and try). As a compromise, we implemented a feature in
Taskgraph to allow selectively enabling always_target to a specific list of
kinds.

This patch gets Gecko to start using this new feature.

Depends on D181899

Comment on attachment 9340741 [details]
Bug 1839891 - Update vendored taskcluster-taskgraph to 5.7.0, r?#taskgraph-reviewers!

Revision D181899 was moved to bug 1844592. Setting attachment 9340741 [details] to obsolete.

Attachment #9340741 - Attachment is obsolete: true

Comment on attachment 9344841 [details]
Bug 1839891 - [ci] Default enable_always_target parameter to docker-image tasks, r?jcristau!

Revision D184107 was moved to bug 1844592. Setting attachment 9344841 [details] to obsolete.

Attachment #9344841 - Attachment is obsolete: true
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8fa9011e9da0 [ci] Convert signing tasks to 'from_deps' transforms, r=gbrown,jcristau,taskgraph-reviewers,releng-reviewers https://hg.mozilla.org/integration/autoland/rev/c2750a529212 [ci] Convert beetmover tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum
See Also: → 1845106
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a249a76cfbdf [ci] Convert repackage tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum
See Also: → 1845872

Apologies for the Thunderbird bustage.. there will be quite a few more similar commits here before this is done. I can try to give you a heads up before landing in the future.

Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e2f9742243f9 [ci] Convert l10n tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/a7125d17ab8a [ci] Convert upload-symbols tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/9032e862dd83 [ci] Convert system-symbols-reprocess tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/5d2471f18196 [ci] Remove 'multi_dep' loader and move remaining logic to util/dependencies.py, r=releng-reviewers,taskgraph-reviewers,bhearsum
Regressions: 1846890
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/26dceb1c8969 [ci] Convert release-*-repack-repackage-signing tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/812a516dc9c0 [ci] Convert release-*-repack-beetmover tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/ddb697bc134f [ci] Convert geckodriver-signing tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/dcea1fb8f726 [ci] Convert release-beetmover-signed-langpacks-checksums tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/0b8c791fbc39 [ci] Convert repackage-signing tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/05541d66861f [ci] Convert partials tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/39eeca96f07d [ci] Convert mar-signing tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum

This is a bustage fix because I accidentally converted the
partner_repackage.py transforms to the new format without
converting a kind that used them. Normally I've been trying
to convert all kinds that use a given transform file at
once but I neglected this one.

Pushed by gbustamante@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a5c57fffac4b [ci] Convert release-partner-repack-repackage tasks to 'from_deps' transforms, r=releng-reviewers,gabriel

Comment on attachment 9348013 [details]
Bug 1839891 - [ci] Convert release-partner-repack-repackage tasks to 'from_deps' transforms, r?#releng-reviewers!

Beta/Release Uplift Approval Request

  • User impact if declined: Bustage fix for release-partner-repack-repackage tasks
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky):
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9348013 - Flags: approval-mozilla-beta?

Comment on attachment 9348013 [details]
Bug 1839891 - [ci] Convert release-partner-repack-repackage tasks to 'from_deps' transforms, r?#releng-reviewers!

Approved for 117.0b5

Attachment #9348013 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9348013 [details]
Bug 1839891 - [ci] Convert release-partner-repack-repackage tasks to 'from_deps' transforms, r?#releng-reviewers!

Removing the beta approval here to get this off the needs-landing radar.

Attachment #9348013 - Flags: approval-mozilla-beta+
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6f3fe563c4b3 [ci] Convert *-dummy tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,gbrown https://hg.mozilla.org/integration/autoland/rev/889eee3a1ad2 [ci] Convert release-generate-checksums-signing tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,hneiva https://hg.mozilla.org/integration/autoland/rev/1cc19a613941 [ci] Convert fxrecord tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,hneiva https://hg.mozilla.org/integration/autoland/rev/7453fae110a5 [ci] Convert release-partner-repack-chunking-dummy tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,hneiva https://hg.mozilla.org/integration/autoland/rev/12465a0d94a5 apply code formatting via Lando
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e574eedd0375 [ci] Convert balrog tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/170d2b5b7c48 [ci] Convert upload-generated-sources tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum
Regressions: 1852100
Attachment #9361475 - Attachment description: WIP: Bug 1839891 - [ci] Convert release-eme-free-repack-beetmover-checksums tasks to 'from_deps' transforms, r?#releng-reviewers! → Bug 1839891 - [ci] Convert release-eme-free-repack-beetmover-checksums tasks to 'from_deps' transforms, r?#releng-reviewers!
Attachment #9361476 - Attachment description: WIP: Bug 1839891 - [ci] Convert release-partner-attribution-beetmover tasks to 'from_deps' transforms, r?#releng-reviewers! → Bug 1839891 - [ci] Convert release-partner-attribution-beetmover tasks to 'from_deps' transforms, r?#releng-reviewers!
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/926172bb8c1b [ci] Convert release-eme-free-repack-beetmover-checksums tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/2f1f570f63be [ci] Convert release-partner-attribution-beetmover tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/adc35946027b [ci] Convert 'release-source-checksums-signing' tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/a67c296da97d [ci] Convert 'release-beetmover-source-checksums' tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/959d3f16353f [ci] Convert 'release-generate-checksums-beetmover' tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/0aff44a0f638 [ci] Convert 'geckodriver-mac-notarization' tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/ec256ad095cd [ci] Convert 'release-push-langpacks' tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/af2ca83ceae6 [ci] Convert 'openh264-signing' tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/985f16feb042 [ci] Convert 'release-beetmover-signed-langpacks' tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/29f3612d4cef [ci] Remove the 'single_dep' loader, r=releng-reviewers,taskgraph-reviewers,hneiva,bhearsum
Keywords: leave-open
Regressions: 1866258
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: