tor-browser

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

commit 5edd0563450e43d81d905f1966f0fba723aa4603
parent b65d594db47784979ef4031abc658ae77a23cae3
Author: Yannis Juglaret <yjuglaret@mozilla.com>
Date:   Mon,  5 Jan 2026 09:51:46 +0000

Bug 2008032 - Fix test_add_all_browsertime and test_release_level[params3-staging]. r=releng-reviewers,taskgraph-reviewers,jcristau

These failures are regressions from bug 2006158.

- Fix incorrect parameters propagation in add_all_browsertime().
- Fix handling of "refs/tags/beta" head_ref value in release_level().

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

Diffstat:
Mtaskcluster/gecko_taskgraph/actions/backfill.py | 2+-
Mtaskcluster/gecko_taskgraph/util/attributes.py | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/taskcluster/gecko_taskgraph/actions/backfill.py b/taskcluster/gecko_taskgraph/actions/backfill.py @@ -398,7 +398,7 @@ def filter_raptor_jobs(full_task_graph, label_to_taskid, project): if entry.task.get("extra", {}).get("suite", "") != "raptor": continue if not match_run_on_projects( - project, entry.attributes.get("run_on_projects", []) + {"project": project}, entry.attributes.get("run_on_projects", []) ): continue if "macosx1500" in entry.attributes.get("test_platform", ""): diff --git a/taskcluster/gecko_taskgraph/util/attributes.py b/taskcluster/gecko_taskgraph/util/attributes.py @@ -167,7 +167,7 @@ def release_level(params): return "production" m = re.match(r"refs/heads/(\S+)$", params["head_ref"]) - if m.group(1) in branches: + if m is not None and m.group(1) in branches: return "production" return "staging"