Closed Bug 1230576 Opened 9 years ago Closed 9 years ago

Shouldn't display error between the time commits are autolanded and when the results are available

Categories

(MozReview Graveyard :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcote, Assigned: mdoglio)

Details

Attachments

(1 file)

There's a brief period between when autoland has landed the commits on Try (or presumably other branches) and when results are available from Treeherder.  During this time you get

Commit(s) successfully landed on try
Error fetching the results for <revision> on try from Treeherder
Revision not found

There should be a special state here, with some sort of reasonable timeout, during which time something like "Waiting for results to be available on Treeherder for <revision> on try" is displayed.
mozreview: better message when push not found on treeherder (bug 1230576); r?mcote
Attachment #8698458 - Flags: review?(mcote)
Comment on attachment 8698458 [details]
MozReview Request: mozreview: better message when push not found on treeherder (bug 1230576); r?mcote

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/28009/diff/1-2/
Attachment #8698458 - Flags: review?(mcote)
Comment on attachment 8698458 [details]
MozReview Request: mozreview: better message when push not found on treeherder (bug 1230576); r?mcote

https://reviewboard.mozilla.org/r/28009/#review25071

::: pylib/mozreview/mozreview/static/mozreview/js/autoland.js:292
(Diff revision 1)
> -          $(actionMeta).text('Revision not found');
> +        $(actionHeading).text('Waiting for Treeherder to fetch the new info');

This is a little clumsy... maybe "Waiting for revision to appear in Treeherder"?

::: pylib/mozreview/mozreview/static/mozreview/js/autoland.js:294
(Diff revision 1)
> +      }else if (response.results.length > 1) {

Missing space after }.
Comment on attachment 8698458 [details]
MozReview Request: mozreview: better message when push not found on treeherder (bug 1230576); r?mcote

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/28009/diff/1-2/
Attachment #8698458 - Flags: review?(mcote)
Attachment #8698458 - Flags: review?(mcote) → review+
Comment on attachment 8698458 [details]
MozReview Request: mozreview: better message when push not found on treeherder (bug 1230576); r?mcote

https://reviewboard.mozilla.org/r/28009/#review25097
Assignee: nobody → mdoglio
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: