Closed Bug 1296057 Opened 8 years ago Closed 8 years ago

Possible race condition when using the bugfiler tool.

Categories

(Tree Management :: Treeherder, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: KWierso, Assigned: KWierso)

Details

Attachments

(1 file)

I've noticed times when using the bugfiler that the selected failure does not get the classification saved when the new bug is filed. I guess it's some sort of race condition between clicking the submit button, sending off the bug to bugzilla, pinning the failure to the pinboard, classifying the failure with the new bug number, and submitting the classification.


One thing we could do is pre-pin the job the moment the bugfiler button is clicked in the failure summary panel, so we don't need to waste time after the bug is submitted?
Assignee: nobody → wkocher
Comment on attachment 8782226 [details] [review]
[treeherder] KWierso:filerrace > mozilla:master

This just moves the call to pin the selected job up to right after the bug filer modal gets opened up. 
I'm hoping this could fix these weird instances where I successfully file a bug, the job gets pinned to the pinboard and the bug number gets assigned to the bug, but it doesn't save the classification for me.
Attachment #8782226 - Flags: review?(emorley)
May be a different thing, or may be a convenient way to test whether that fixes it, but I get this most consistently when I have two tabs open and file from the second one:

* have inbound open, onlyunstarred
* open the (sig) link from a failure in a new tab, toggle off onlyunstarred
* file from there
Attachment #8782226 - Flags: review?(emorley) → review+
Lets reopen if this is still happening after this gets deployed.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: