Update variants.yml path to mozilla-firefox/firefox repository #2748
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the variants.yml file path to point to the new location in the
mozilla-firefox/firefoxrepository on GitHub, as the file has been moved from its previous location inmozilla-central.Changes
Updated three constants in
bugbot/rules/variant_expiration.py:VARIANTS_PATH: Changed from
taskcluster/kinds/test/variants.ymltotaskcluster/test_configs/variants.ymlVARIANTS_URL (renamed from
VARIANTS_HG_URL): Changed from the Mercurial URL to the new GitHub raw URL:https://hg.mozilla.org/mozilla-central/raw-file/tip/taskcluster/kinds/test/variants.ymlhttps://raw.githubusercontent.com/mozilla-firefox/firefox/refs/heads/main/taskcluster/test_configs/variants.ymlVARIANTS_SEARCHFOX_URL: Updated to use the new path while keeping the searchfox.org domain:
https://searchfox.org/mozilla-central/source/taskcluster/kinds/test/variants.ymlhttps://searchfox.org/mozilla-central/source/taskcluster/test_configs/variants.ymlImpact
get_variants()method will now fetch variants from the new GitHub locationTesting
Fixes the issue where the old Mercurial URL was no longer accessible after the repository migration.
Original prompt
<issue_description>The new path seems to be https://raw.githubusercontent.com/mozilla-firefox/firefox/refs/heads/main/taskcluster/test_configs/variants.yml</issue_description>
Comments on the Issue (you are @copilot in this section)
Fixes #2747
Original prompt
Fixes #2747
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.