Closed Bug 2094792 Opened 10 days ago Closed 5 days ago

Print a Treeherder link after `mach try` pushes to firefox-dev

Categories

(Developer Infrastructure :: Try, enhancement)

enhancement

Tracking

(firefox163 fixed)

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

(Blocks 1 open bug)

Details

Attachments

(2 external files)

When mach try pushes to the Lando try repo it prints a Treeherder link to the push. When the remote is github.com/mozilla-firefox/firefox-dev the push goes straight through VCS, and nothing is printed, so the user has to go find the push themselves.

mach try should print https://treeherder.mozilla.org/jobs?repo=firefox-dev&revision=<sha> after a successful push to firefox-dev. That needs push_to_try in mozversioncontrol to return the commit it pushed; with jj this means resolving the change ID to a commit ID.

Callers need it to link to the push. On jj the change ID is resolved to a
commit ID while the temporary try commit still exists.

Direct VCS pushes to firefox-dev printed nothing, unlike Lando pushes.

Attachment #9685893 - Attachment description: Bug 2094792 - Print a Treeherder link after `mach try` pushes to firefox-dev. r?#releng-reviewers! → Bug 2094792 - Print a Treeherder link after `mach try` pushes to known remote, r?#releng-reviewers!
Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9dae4852edeb https://hg.mozilla.org/integration/autoland/rev/27986a6e21c3 Return the pushed commit from `push_to_try` for git remotes. r=ahochheiden https://github.com/mozilla-firefox/firefox/commit/602a17a99d0b https://hg.mozilla.org/integration/autoland/rev/07cd6a01f1da Print a Treeherder link after `mach try` pushes to known remote, r=releng-reviewers,jcristau
Status: ASSIGNED → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: