in mozci/task.py [0:0]
def _get_configuration(platform, suite, label, test_variant) -> str:
assert platform is not None
retVal = f"test-{platform}"
# Hack #1: Android platform names do not match
if "android" in platform:
platform = platform.replace("7-0", "7.0")
retVal = f"test-{platform}"
if suite is None:
suite = "junit"
if "junit" not in suite:
retVal += "-geckoview"
# account for the suite being replaced
retVal += "-*"
# Hack #2: wpt tasks using tag=<X> have no attributes in test-settings
wpt_tags = ["privatebrowsing", "canvas", "webgpu"]
for wt in wpt_tags:
if f"web-platform-tests-{wt}" in label:
retVal += f"-{wt}"
# Hack #3: xpcshell-msix is a separate suite, but still has test_variant listed
# remove this on April 15, 2025 as that is 1 year after bug 1891629 landed
if test_variant:
if not (suite == "xpcshell-msix" and test_variant == "msix"):
retVal += f"-{test_variant}"
return retVal