Closed
Bug 1304153
Opened 8 years ago
Closed 8 years ago
jobdetail endpoint can bring down treeherder
Categories
(Tree Management :: Treeherder, defect)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1280039
People
(Reporter: wlach, Assigned: wlach)
Details
Ok this has bitten us enough times that it's time to make a systemic fix.
The /jobdetail/ endpoint can easily timeout if you pass it the wrong parameters.
Most recently this happened because it doesn't support job_id as a parameter and I wrote some code on the front end which tried to do exactly that (bug 1303433). I've since corrected that problem, but honestly we should probably just support filtering based on job_id since that's something that people would often want to do.
To prevent timeouts in other cases (e.g. via use of treeherder client), let's make this method error out if we don't pass a filter on job_id, job_id__in, or job_guid.
Comment 1•8 years ago
|
||
Is this a dupe of bug 1280039?
Assignee | ||
Comment 2•8 years ago
|
||
(In reply to Ed Morley [:emorley] from comment #1)
> Is this a dupe of bug 1280039?
Yes it is, sorry!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•