Open
Bug 1399994
Opened 8 years ago
Updated 4 years ago
Investigate sending classifications for multiple jobs as a single batched message to the server rather than spamming potentially hundreds of individual classifications.
Categories
(Tree Management :: Treeherder, enhancement, P3)
Tree Management
Treeherder
Tracking
(Not tracked)
NEW
People
(Reporter: KWierso, Unassigned)
Details
If I mass-classify a bunch of failures (either as a "fixed by commit" classification for a followup or backout commit, or from some infra-caused issue), there's a POST request to the job note endpoint for each individual failure.
The in-page notifications spam the corner of the screen for quite a while (especially if the pinboard is near its full 500 job capacity). Network requests between client and server get saturated until everything resolves, which makes it take longer to load a new failure's job details and log info.
I think it would be nice to let the job note API accept a batched grouping of classifications, so only one request gets send from the client to the server, and the server could respond with either a single acknowledgement of the classifications, or individual responses for any classifications that failed for whatever reason.
The notification in the client could just say "[XX] Classifications saved for the selected jobs" rather than showing dozens/hundreds of individual "classification saved" messages. The number of network requests between client/server stays much lower, allowing other requests to go through more quickly.
Updated•5 years ago
|
Priority: -- → P3
Assignee | ||
Updated•4 years ago
|
Component: Treeherder: Log Parsing & Classification → TreeHerder
You need to log in
before you can comment on or make changes to this bug.
Description
•