Closed Bug 1091060 Opened 10 years ago Closed 9 years ago

The "Bug suggestions" artifact property "search" should be renamed

Categories

(Tree Management :: Treeherder: API, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: emorley, Unassigned)

Details

An example "Bug suggestions" artifact (due to be renamed in bug ) is:

[{"blob": [{"search": "TEST-UNEXPECTED-FAIL | test_switch_frame.py TestSwitchFrame.test_should_be_able_to_carry_on_working_if_the_frame_is_deleted_from_under_us | AssertionError: 0 != 1", "bugs": {"open_recent": [], "all_others": []}}, {"search": "Return code: 10", "bugs": {"open_recent": [], "all_others": []}}], "type": "json", "id": 2163814, "name": "Bug suggestions", "job_id": 353503}]

"search" is really "a slightly cleaned up log failure line", rather than the search term (which the name "search" implies). The logic for extracting the search term occurs later (and the search term is not stored currently - perhaps we should do that in the future to allow for more intelligent highlighting / the intermittent bug filer having more to work with?).

A name of "error_text" or something similar would be more accurate.
Component: Treeherder → Treeherder: API
Assignee: nobody → emorley
Priority: P3 → P4
Assignee: emorley → nobody
I think the "Bugs Suggestion" artifact is going to be replaced in the future, with the work in bug 1179263 and deps. As such, I don't think it's worth the effort of doing this, given the need to make it backwards compatible for 4 months after the name change.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.