Closed
Bug 721152
Opened 14 years ago
Closed 12 years ago
Display results for a push when rev=X is in the query string, even if that rev isn't in a pushlog or the pushlog fails to load
Categories
(Tree Management Graveyard :: TBPL, defect)
Tree Management Graveyard
TBPL
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: emorley)
References
Details
Attachments
(2 files)
|
2.59 KB,
patch
|
philor
:
review+
|
Details | Diff | Splinter Review |
|
128.33 KB,
image/jpeg
|
Details |
14:40 < philor> someday we ought to teach tbpl to display results for rev=, even if it can't load the pushlog, so people who at least have the first email can still
load their results
Comment 1•14 years ago
|
||
The fuller form of that being that the tryserver repo frequently gets messed up, and also frequently just gets so many heads that it gets horribly slow, and releng+IT would like to be able to just blow it away and reclone from m-c, but since that removes the pushlog, tbpl winds up unwilling to display results for the pushes from before the reset, so anyone who hasn't gotten or looked at their results yet loses. We should be able to special-case rev=deadbeef1234, just fake up a pushlog for (unknown) (unknown), and display the results, so that the people who kept the first email from try with the tbpl.m.o/tree=try&rev=deadbeef1234 link don't have to repush.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → emorley
Status: NEW → ASSIGNED
Summary: TBPL should be able to display results for a push when rev=X is in the query string, even if that rev isn't in a pushlog → Display results for a push when rev=X is in the query string, even if that rev isn't in a pushlog or the pushlog fails to load
| Assignee | ||
Comment 2•12 years ago
|
||
This patch:
* Adds a timeout to the json-pushes load, where there was not one before - making it clearer that it's a problem with hg.m.o not TBPL (hopefully reducing the number of times we have to explain on IRC). The longest json-pushes load I could find was on a release branch merge day push, which was 4s, which multiplied by a somewhat arbitrary 5 to allow for slow connections, gives 20s (happy to adjust).
* Adds a fall-back for the single revision mode case (ie: &rev=foo specified) when the json-pushes load failed (either due to timeout, or revision not found), which fakes the date/pusher name/patch list/commit messages etc - but means we at least populate job results in the UI.
* Makes the timeout shorter for the try + single revision case, since the fall-back provides 95% of the functionality & the longer timeout only really serves to irritate. The longest try single-changset json-pushes call I could find was 1.5s, which multiplied by the arbitrary 5, gives ~8s (again, happy to adjust).
Hopefully this will make the try hg.m.o issues much more tolerable - if json-pushes is timing out, people can view their job results as long as they use &rev= in the query string, plus when the try repo is reset, the old links will still work (the usual 30 day TBPL data cleanup excepted).
Attachment #8360378 -
Flags: review?(philringnalda)
| Assignee | ||
Comment 3•12 years ago
|
||
| Assignee | ||
Comment 4•12 years ago
|
||
Meant to say - I picked |Date(0)| rather than |Date()| for the fake date, since using today's date doesn't make it clear in the UI that it's an incorrect value.
Comment 5•12 years ago
|
||
(In reply to Ed Morley [:edmorley UTC+0] from comment #4)
> Meant to say - I picked |Date(0)| rather than |Date()| for the fake date,
> since using today's date doesn't make it clear in the UI that it's an
> incorrect value.
That looks really funny with the timezone adjustment we are doing, haha.
But its feedback+ from me.
Comment 6•12 years ago
|
||
Comment on attachment 8360378 [details] [diff] [review]
Patch v1
Nice!
Attachment #8360378 -
Flags: review?(philringnalda) → review+
| Assignee | ||
Comment 7•12 years ago
|
||
| Assignee | ||
Comment 8•12 years ago
|
||
In production :-)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 9•12 years ago
|
||
I object! This is wrong! tbpl stands for "tinderbox PUSH LOG". What part of "push log" don't you understand?
/me goes back to his cached tinderbox waterfall page, searching in vain for his build...
Updated•11 years ago
|
Product: Webtools → Tree Management
Updated•11 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
•