tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 2a94b999bdbe80e3c30e470de79d48555c7270f6
parent b824db81a0f5f64d74a49a118d687c45477db2ab
Author: myeongjun <myeongjun.ko@gmail.com>
Date:   Mon,  1 Dec 2025 13:13:20 +0000

Bug 1996563 - Generate perfherder_data artifacts for jobs running fetch-content r=sparky,taskgraph-reviewers,ahal

Differential Revision: https://phabricator.services.mozilla.com/D270831

Diffstat:
Mtaskcluster/gecko_taskgraph/transforms/job/__init__.py | 27+++++++++++++++++++++++++++
1 file changed, 27 insertions(+), 0 deletions(-)

diff --git a/taskcluster/gecko_taskgraph/transforms/job/__init__.py b/taskcluster/gecko_taskgraph/transforms/job/__init__.py @@ -250,6 +250,33 @@ def use_uv(config, jobs): @transforms.add +def add_perfherder_fetch_content_artifact(config, jobs): + for job in jobs: + if not job.get("fetches"): + yield job + continue + + worker = job.setdefault("worker", {}) + env = worker.setdefault("env", {}) + artifacts = worker.setdefault("artifacts", []) + perfherder_fetch_content_json_path = ( + "/builds/worker/perf/perfherder-data-fetch-content.json" + if worker.get("implementation") == "docker-worker" + else "./perf/perfherder-data-fetch-content.json" + ) + artifacts.append( + { + "type": "file", + "name": "public/fetch/perfherder-data-fetch-content.json", + "path": perfherder_fetch_content_json_path, + } + ) + env["PERFHERDER_FETCH_CONTENT_JSON_PATH"] = perfherder_fetch_content_json_path + + yield job + + +@transforms.add def use_fetches(config, jobs): artifact_names = {} extra_env = {}