Closed
Bug 1057260
Opened 10 years ago
Closed 9 years ago
Retrigger success notification should display what type of build was retriggered
Categories
(Tree Management :: Treeherder, defect, P4)
Tree Management
Treeherder
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: Gijs, Assigned: jfrench)
Details
(Keywords: regression)
Attachments
(2 files)
STR: 1. click a build 2. Click the retrigger button ( |> ) on the bottom left ER: Notification like "Retriggering win32 mochitest-plain-5... SUCCESS" AR: "Retrigger SUCCESS" Basically, if I retrigger lots of things, I want to be able to see what things I've recently retriggered, and how many times (I've not tried to experiment with doing multiples, so it could be that more work is needed to make that workable if notifications don't stack properly).
Comment 1•10 years ago
|
||
Agreed, I find these messages essential in TBPL.
Blocks: treeherder-sheriff-transition
Priority: -- → P2
Updated•10 years ago
|
I don't even see any notification at all when I click the retrigger button...
Comment 3•10 years ago
|
||
(In reply to Wes Kocher (:KWierso) from comment #2) > I don't even see any notification at all when I click the retrigger button... I think that was bug 1071319.
Comment 4•10 years ago
|
||
https://github.com/mozilla/treeherder-ui/blob/master/webapp/app/plugins/controller.js#L165 $scope.retriggerJob = function() { thBuildApi.retriggerJob($scope.repoName, getRequestId()); }; https://github.com/mozilla/treeherder-ui/blob/master/webapp/app/js/services/buildapi.js#L29 retriggerJob: function(repoName, requestId) { $http({ ... }). success(function(data, status) { notify(status, "retrigger"); }). error(function(data, status) { notify(status, "retrigger"); }); },
Comment 5•10 years ago
|
||
One problem is that for non-buildbot jobs we don't currently have a friendly job name, so just passing in the buildername in the controller.js call isn't a complete fix. (Though might be good enough in the meantime).
Comment 6•10 years ago
|
||
Though for classifications we do: var saveClassification = function(job) { ... thNotify.send("classification saved for " + job.platform + ": " + job.job_type_name, "success");
Updated•10 years ago
|
Priority: P2 → P3
Updated•10 years ago
|
No longer blocks: treeherder-dev-transition
Keywords: regression
Updated•9 years ago
|
Priority: P3 → P4
Assignee | ||
Comment 7•9 years ago
|
||
I hoping to implement more minimal version (eg. 'B', 'Cpp') identifiers into retrigger notifications as part of improvements in bug 1148664 - which will expire non-sticky notifications as new ones appear. So that may end up sufficiently addressing the UX issue here.
Assignee | ||
Comment 8•9 years ago
|
||
I've integrated the type into https://github.com/mozilla/treeherder-ui/pull/483 for bug 1148664, pending review.
Assignee | ||
Comment 9•9 years ago
|
||
My thinking is also that minimal types ('B', 'Cpp') are always readable within the current notification persistence of 4000ms, whereas really long, detailed job names are perhaps not. So hopefully it will serve as a reasonable solution.
Assignee | ||
Comment 10•9 years ago
|
||
Merged PR 483, I anticipate it will be present in production sometime next week.
Assignee | ||
Comment 11•9 years ago
|
||
Hi Gijs, so we have bug 1148664 live on production, and successfully Retriggered jobs will now show up similar to: Retriggered job (Cpp) Let me know after trying it out if this is sufficient for your needs.
Flags: needinfo?(gijskruitbosch+bugs)
Comment 12•9 years ago
|
||
Or like "Retriggered job (6)".
Reporter | ||
Comment 13•9 years ago
|
||
It seems like it would be better if these showed the platform and the full test name (as philor somewhat implied).
Flags: needinfo?(gijskruitbosch+bugs)
Assignee | ||
Comment 14•9 years ago
|
||
Ok, will have a look.
Assignee: nobody → tojonmz
Status: NEW → ASSIGNED
Assignee | ||
Comment 15•9 years ago
|
||
Please see above PR for status and review.
Attachment #8599514 -
Flags: review?(wlachance)
Comment 16•9 years ago
|
||
Comment on attachment 8599514 [details] [review] treeherder-ui-PR#496 lgtm, I would ditch the parantheses as mentioned in the pr comment
Attachment #8599514 -
Flags: review?(wlachance) → review+
Assignee | ||
Comment 17•9 years ago
|
||
Here's an example using a Job: 'name' I managed to dig up. There are other long examples in pushes I have looked at. Beyond the peculiarities of this particular example (ie. replicating 'Mochitest' in the jobSearchStr name) I think using the Job: 'name' for notifications as it currently exists will present a problem in readability. Camd, wlach, what do you think? Is this example just a case of a job that needs better naming upstream? (and out of our control). This was one of the reasons I wanted to go just with .job_type_symbol in the retrigger message.
Flags: needinfo?(wlachance)
Flags: needinfo?(cdawson)
Assignee | ||
Comment 18•9 years ago
|
||
(In reply to Jonathan French (:jfrench) from comment #17) > There are other long examples in pushes I have looked at. Now entered as bug 1160187.
Comment 19•9 years ago
|
||
My two cents it that I'd rather err on the side of being overly descriptive, even if the end result is not as "beautiful". ;)
Flags: needinfo?(wlachance)
Assignee | ||
Comment 20•9 years ago
|
||
That's cool with me. We can sort out the stuff for Job: name, separately in bug 1160187.
Flags: needinfo?(cdawson)
Comment 21•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder-ui https://github.com/mozilla/treeherder-ui/commit/1ff90c0e00c70a5fbb666d6e5d07ce6e60b3dd71 Bug 1057260 - Display full Job name in retrigger notification
Assignee | ||
Comment 22•9 years ago
|
||
Marking fixed per above merge. I will verify on the next push to stage/prod.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 24•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/0790f427591d3af2e027a1b818a42026007071fb Bug 1057260 - Display full Job name in retrigger notification
You need to log in
before you can comment on or make changes to this bug.
Description
•