(In reply to Johan Lorenzo [:jlorenzo] from comment #3)
If we forget about
run-on-projects, I see a 3rd solution. As a matter of fact, Releng has also struggled with
taskgraph duplication in mobile projects. For instance, most of the changes we make in Fenix have to be done in Reference-Browser. Sometimes they have to be done to 2 more mobile repos. An idea we thought about was to centralize the mobile common config to a single repo. We haven't done anything yet, but maybe the mobile perf tests could belong to this (future) repo. How does that sound to you, :sparky?
Good to know we're not the only ones hitting this problem. Hmm, the issue for me with the mobile common config is that it seems like there will still be duplication for us since we'll be defining them in m-c and the common mobile config right? If we could centralize all of taskgraph somehow that would be the best solution for me. Thinking about it further, even if we only define the mobile tests in this common config, we'd still be duplicating transforms, and then there's the issue of being able to run these tests on try so we'd have to still duplicate them completely with this common config.
The single-run assumption is interesting. How do cron-decision tasks fit into this since they also trigger tasks? I wonder if there's a way we could make use of that behaviour in the mobile repos to run things from m-c.
you'll also need to figure out how to get the mozperftest package into the fenix repo from mozilla-central
May I have a link to that package? That'll help me finding a good way to fetch it in Fenix.
The android tests use sparse profiles rather than packages actually which you can see in the logs for this test: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&tier=1%2C2%2C3&searchStr=perftest&selectedTaskRun=VmhLvN5qRDe1AZDtITZvcg.0
[vcs 2020-08-05T04:05:40.977Z] executing ['hg', 'robustcheckout', '--sharebase', '/builds/worker/checkouts/hg-store', '--purge', '--upstream', 'https://hg.mozilla.org/mozilla-unified', '--sparseprofile', 'build/sparse-profiles/perftest', '--revision', '451800aa75df8b442154aa120806d77a2b5dc8b0', 'https://hg.mozilla.org/mozilla-central', '/builds/worker/checkouts/gecko']
[vcs 2020-08-05T04:05:41.026Z] (using Mercurial 4.5.3)
[vcs 2020-08-05T04:05:41.026Z] ensuring https://hg.mozilla.org/mozilla-central@451800aa75df8b442154aa120806d77a2b5dc8b0 is available at /builds/worker/checkouts/gecko
[vcs 2020-08-05T04:05:41.170Z] (cloning from upstream repo https://hg.mozilla.org/mozilla-unified)
[vcs 2020-08-05T04:05:41.225Z] (sharing from new pooled repository 8ba995b74e18334ab3707f27e9eb8f4e37ba3d29)
[vcs 2020-08-05T04:05:41.460Z] applying clone bundle from https://hg.cdn.mozilla.net/mozilla-unified/7cb90fa4f485fc9dda5c1fef3ae09a826f83774a.zstd-max.hg
[vcs 2020-08-05T04:05:41.502Z] adding changesets
[vcs 2020-08-05T04:05:44.503Z] changesets [> ] 21370/607105 55s