Repository navigation
Add an optional artifact-build moz.yaml key that passes --artifact to mach try - #450
Merged
tomrittervg merged 1 commit intoNov 4, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The new YAML option lacks a direct regression assertion because library equality ignores artifact_build, allowing the tests to pass even if parsing always returns False.
1 open issue
What changed in this PR
Adds optional updatebot.artifact-build support in moz.yaml so libraries can request artifact builds on Try, addressing the Application Services use case in #410.
Changes:
- Parse and store the option, defaulting to
false. - Append
--artifactto preset, fuzzy, and auto Try commands when enabled. - Enable the option in test fixtures and check the preset command.
| File | Description |
|---|---|
tests/mock_libraryprovider.py |
Enable artifact builds in the mock preset library. |
tests/library.py |
Add the expected artifact-build value to the library fixture. |
tests/functionality_all_platforms.py |
Assert the preset command includes --artifact. |
components/libraryprovider.py |
Parse, store, and display the artifact-build setting. |
apis/taskcluster.py |
Append --artifact when the library enables it. |
.github/gecko-test/libcubeb-preset/moz.yaml |
Enable artifact builds in the preset YAML fixture. |
Review effort: Balanced
rvandermeulen
force-pushed
the
artifact-build-410
branch
from
November 4, 2026 19:28
2d19576 to
88bdc51
Compare
lando-worker Bot
pushed a commit
to mozilla-firefox/firefox
that referenced
this pull request
Nov 10, 2026
…he application-services version bump r=RyanVM,android-build-system-reviewers Updatebot passes --artifact to ./mach try when a library's moz.yaml sets artifact-build: true (mozilla-services/updatebot#450). The application-services version bump doesn't change compiled Gecko code, so its try runs can use artifact builds. Differential Revision: https://phabricator.services.mozilla.com/D339918
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this pull request
Nov 11, 2026
…he application-services version bump r=RyanVM,android-build-system-reviewers Updatebot passes --artifact to ./mach try when a library's moz.yaml sets artifact-build: true (mozilla-services/updatebot#450). The application-services version bump doesn't change compiled Gecko code, so its try runs can use artifact builds. Differential Revision: https://phabricator.services.mozilla.com/D339918 UltraBlame original commit: 644cb9f238c80cc769c1629294c15c6281786c33
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this pull request
Nov 11, 2026
…he application-services version bump r=RyanVM,android-build-system-reviewers Updatebot passes --artifact to ./mach try when a library's moz.yaml sets artifact-build: true (mozilla-services/updatebot#450). The application-services version bump doesn't change compiled Gecko code, so its try runs can use artifact builds. Differential Revision: https://phabricator.services.mozilla.com/D339918 UltraBlame original commit: 644cb9f238c80cc769c1629294c15c6281786c33
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this pull request
Nov 11, 2026
…he application-services version bump r=RyanVM,android-build-system-reviewers Updatebot passes --artifact to ./mach try when a library's moz.yaml sets artifact-build: true (mozilla-services/updatebot#450). The application-services version bump doesn't change compiled Gecko code, so its try runs can use artifact builds. Differential Revision: https://phabricator.services.mozilla.com/D339918 UltraBlame original commit: 644cb9f238c80cc769c1629294c15c6281786c33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Fixes #410. When
artifact-build: trueis set in theupdatebotsection of moz.yaml,--artifactis appended to themach trycommand (preset, fuzzy or auto). The matching moz.yaml schema change in mozilla-central will turn it on for the application-services version bump.