tor-browser

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

commit efef7bb8e3540e76561e41c123ff548f89184364
parent c790483b6371a52d355e23eca827c24cbdcad028
Author: Andrew Halberstadt <ahal@mozilla.com>
Date:   Mon, 22 Dec 2025 15:20:46 +0000

Bug 2003628 - Disable backstops for Github based graphs, r=releng-reviewers,taskgraph-reviewers,amadan

It's likely we'll need to handle this eventually, but for now there's no
integration branches for any of the Git-based Firefox forks. So let's
just always return False for the time being.

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

Diffstat:
Mtaskcluster/gecko_taskgraph/test/test_util_backstop.py | 9+++++++++
Mtaskcluster/gecko_taskgraph/util/backstop.py | 4++++
2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/taskcluster/gecko_taskgraph/test/test_util_backstop.py b/taskcluster/gecko_taskgraph/test/test_util_backstop.py @@ -50,6 +50,7 @@ def params(): "project": "autoland", "pushdate": LAST_BACKSTOP_PUSHDATE + 1, "pushlog_id": f"{LAST_BACKSTOP_PUSHID + 1}", + "repository_type": "hg", "target_tasks_method": "default", } @@ -145,6 +146,14 @@ def params(): True, id="last backstop failed", ), + pytest.param( + {}, + { + "repository_type": "git", + }, + True, + id="git", + ), ), ) def test_is_backstop( diff --git a/taskcluster/gecko_taskgraph/util/backstop.py b/taskcluster/gecko_taskgraph/util/backstop.py @@ -45,6 +45,10 @@ def is_backstop( if params.get(backstop_strategy, False): return True + # Backstops not used / supported on Github yet. + if params["repository_type"] == "git": + return True + project = params["project"] if project in TRY_PROJECTS: return False