Closed
Bug 656908
Opened 14 years ago
Closed 14 years ago
Allow machineResult.getTestResults() to be asynchronous
Categories
(Tree Management Graveyard :: TBPL, defect)
Tree Management Graveyard
TBPL
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(1 file)
4.61 KB,
patch
|
Swatinem
:
review+
|
Details | Diff | Splinter Review |
With the buildbot DB backend, we don't get the "TinderboxPrint:" scrape supplied with the run data. Instead we need to generate it by parsing the logs, and I don't think we should parse all logs unconditionally, so we'll only do it on request, and that means that machineResult.getTestResults() needs to be asynchronous (since it needs the scrape).
TinderboxJSONUser won't go the async path, but BuildbotDBUser (coming in a different bug) will.
Attachment #532215 -
Flags: review?(arpad.borsos)
Comment 1•14 years ago
|
||
If we're all having to parse the logs for the same data, shouldn't we really be having buildbot or something generate separate logs (or some sort of file) with the extra information?
Comment 2•14 years ago
|
||
Comment on attachment 532215 [details] [diff] [review]
v1
Review of attachment 532215 [details] [diff] [review]:
-----------------------------------------------------------------
Well I do understand what you are doing here, but I don’t think its very clear to mix the callback and the non-callback version. Rather go the callback-way only, even if you have the scrape already. To avoid races, we would want to first insert the element into the dom, then call getresults that will write there hopefully immediately when we already have a cached _scrape.
I will r+ this for now but hopefully some followup patch will clean that up.
Attachment #532215 -
Flags: review?(arpad.borsos) → review+
Assignee | ||
Comment 3•14 years ago
|
||
(In reply to comment #1)
> If we're all having to parse the logs for the same data, shouldn't we really
> be having buildbot or something generate separate logs (or some sort of
> file) with the extra information?
When "or something" could also be "the TBPL server", then that's what we're doing, isn't it?
Assignee | ||
Comment 4•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Webtools → Tree Management
Updated•10 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•