Open
Bug 1401543
Opened 8 years ago
Updated 8 years ago
Job state shown in details panel can be out of sync with main jobs view for up to 60s
Categories
(Tree Management :: Treeherder: Frontend, defect, P3)
Tree Management
Treeherder: Frontend
Tracking
(Not tracked)
NEW
People
(Reporter: emorley, Unassigned)
Details
Attachments
(1 file)
120.70 KB,
image/png
|
Details |
STR:
1) Find a running job that is going to complete shortly
2) Click it in the Treeherder jobs view as soon as possible after the Treeherder API reports it as complete (eg have another tab open to the same page, that you refresh constantly to see when it completes)
3) Compare the job result shown in the panel with the colour of the job in the main jobs view
Expected:
The panel and the jobs view say the same result (complete).
Actual:
The panel says the job is complete, but the jobs view says it's still running (see screenshot). When the next UI jobs poll occurs (which are every 60s) the jobs view then updates.
This is because the jobs panel takes the job state from the jobs get API call made when the job is clicked, whereas the main view updates the jobs list only every 60s.
To avoid this temporary difference in displayed state, the jobs panel could pass back the updated job metadata to the main jobs data model too.
Reporter | ||
Updated•8 years ago
|
Component: Treeherder → Treeherder: Frontend
You need to log in
before you can comment on or make changes to this bug.
Description
•