Open
Bug 1072940
Opened 10 years ago
Updated 10 months ago
Remove failure classification of "not classified"
Categories
(Tree Management :: Treeherder, defect, P3)
Tree Management
Treeherder
Tracking
(Not tracked)
NEW
People
(Reporter: RyanVM, Unassigned)
Details
Attachments
(1 file)
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Updated•10 years ago
|
Priority: P2 → P3
Updated•9 years ago
|
Priority: P3 → P4
Given bug 1146491 and this bug, should we just get rid of "not classified" as a classification option? I've never used it in the three years of using Treeherder.
Flags: needinfo?(emorley)
Updated•7 years ago
|
Component: Treeherder → Treeherder: Log Parsing & Classification
Updated•7 years ago
|
Mentor: cdawson
Keywords: good-first-bug
Priority: P4 → P3
Summary: Annotating a failure with the "not classified" option doesn't star the job → Remove failure classification of "not classified"
Whiteboard: py
Updated•7 years ago
|
Whiteboard: py → [lang=py]
Comment 4•7 years ago
|
||
Do I remove line no. 146 and 147 in https://github.com/mozilla/treeherder/blob/75e2766e7b55f8b92b5f813369b64f1e3e65210c/treeherder/etl/jobs.py ?
Flags: needinfo?(ryanvm)
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(ryanvm) → needinfo?(emorley)
Comment 5•7 years ago
|
||
There are more places that need adjusting: https://github.com/mozilla/treeherder/search?utf8=%E2%9C%93&q=%22not+classified%22&type=
Flags: needinfo?(emorley)
Comment 6•7 years ago
|
||
Reporter | ||
Comment 9•7 years ago
|
||
Just as before, no. Redirecting to Ed like last time.
Flags: needinfo?(ryanvm) → needinfo?(emorley)
Comment 10•7 years ago
|
||
For mentored bugs, if the PR is ready for review, ask for review from the mentor via the "details" link on the attachment above :-) (For non-mentored bugs, use the "suggested reviewers" feature inside the "details" section)
Flags: needinfo?(emorley)
Comment 11•7 years ago
|
||
(In reply to Farhan from comment #7) > Hi Can I work on this? if no one else is doing it. Generally if the bug has recent activity from someone else (such as the open PR in this bug from only 10 days ago), then it is being worked on by someone, so you'll be best off looking at another bug.
Assignee: nobody → dyex719
Status: NEW → ASSIGNED
Updated•7 years ago
|
Attachment #8920163 -
Flags: review?(emorley)
Comment 12•7 years ago
|
||
Comment on attachment 8920163 [details] [review] [treeherder] Dyex719:Dyex719-patch-2 > mozilla:master Cameron is mentoring this bug (see the "Mentor" field and the inline bug change history)
Attachment #8920163 -
Flags: review?(emorley) → review?(cdawson)
Comment 13•7 years ago
|
||
After taking a look at the PR, this is not going to be as simple as removing "not classified" from the list of possible classifications. We COULD do that, but I'm leaning against it. If we remove "not classified" from the possible failure classifications, we'll need an expensive migration. The ``job.failure_classification_id`` field in the DB is "Not Null" so we can't use the value of "Null" for "not classified" without changing the schema. So our two options would be: 1. Change the schema to allow nulls on ``job.failure_classification``. Do an update query to modify all the values of "1" in that field to be null. Then modify the UI to leave the field null on ingestion and only set it when we classify. 2. Leave the schema as-is and just don't allow the user to choose "not classified" as an option when classifying. I think we should take approach 2 for a few reasons: 1. We wouldn't have to do an expensive db migration and change all the back-end code. 2. The changes would be only on the front-end and remove the workflow option of "classifying" a job as "not classified". Instead, you'd just delete the classification and it would go back to the value of "1" being "not classified" 3. The existing filtering for "Unstarred Only" relies on a failure_classification_id of "1" and the filter code would be more complicated to look for null. Not that bad, but a hassle. So, let's go that way. Just remove it as an option in the pinboard dropdown select for the classification when the user goes to classify a job and be done with it. Here's where we populate that select: https://github.com/mozilla/treeherder/blob/51dc3cc938234c441c6b95a9715ac0daf5f03f9c/ui/partials/main/thPinboardPanel.html#L47-L49 You might create a separate ``$scope`` array that's used for that list which omits the "not classified" option.
Comment 14•7 years ago
|
||
Comment on attachment 8920163 [details] [review] [treeherder] Dyex719:Dyex719-patch-2 > mozilla:master Please see comment above on the approach I'd rather we take on this. Thanks for your work on this! :)
Attachment #8920163 -
Flags: review?(cdawson) → review-
Comment 15•6 years ago
|
||
Unassigning for inactivity. If you'd still like to work on it, let us know :-)
Assignee: dyex719 → nobody
Status: ASSIGNED → NEW
Comment 16•6 years ago
|
||
Can I be assigned this if no one is working on this?
Comment 17•6 years ago
|
||
Hi I wanted to work on this bug if no one has assigned this bug.
Comment 18•5 years ago
|
||
Hi, can I take this up? Can someone please guide me on how/where to get started on this?
Comment 19•4 years ago
|
||
Hi , Can I work on this bug now? Please also guide me how to proceed with this.
Comment 20•4 years ago
|
||
What should I do to fix this issue? Please provide the details.
I would like to fix it.
Comment 21•4 years ago
|
||
@camd
We can add the $scope
here https://github.com/mozilla/treeherder/blob/master/ui/job-view/App.jsx#L98
and do the required filtering.
Shall I go on to proceed to solve this issue this way?
Assignee | ||
Updated•2 years ago
|
Component: Treeherder: Log Parsing & Classification → TreeHerder
Comment 22•2 years ago
|
||
Hello. I would like to work on it. How can I get started?
Flags: needinfo?(ryanvm)
Comment 23•2 years ago
|
||
Hello Venkatesh, Cam is gone from here and this not a good bug for people new to Treeherder (see comment 13).
Updated•10 months ago
|
Mentor: cameron
You need to log in
before you can comment on or make changes to this bug.