Open Bug 1354295 Opened 7 years ago Updated 10 months ago

Add an option to the bug_suggestions api to fetch uncached results

Categories

(Tree Management :: Treeherder, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: KWierso, Unassigned)

Details

At the moment, requests to bug_suggestions are cached for ~24 hours, so if you file a new bug for a failure, it won't get suggested for other already-ingested occurrences of that failure (or failures that are ingested before the bugscache gets updated).

I think it'd be useful to be able to be able to re-request results for a job using the most up-to-date bugscache possible. Then we could do something in the bug filer to prevent filing duplicate bugs as easily. (Make a request to bug_suggestions, then a request to the uncached version and warn if there's differences? If one of the suggestions matches what the bugfiler parses out for the summary, warn of an exact match?)
We could also consider removing the cache altogether, and just generating results on the fly. This is pretty fast already, and could probably be made even faster without too much effort.
Mentor: cdawson
Component: Treeherder → Treeherder: Log Parsing & Classification

Could we update the bugs cache every time a new bug is submitted through the BugFiler? Anyway, still a valid issue.

Priority: -- → P3
Component: Treeherder: Log Parsing & Classification → TreeHerder
You need to log in before you can comment on or make changes to this bug.