[JIRA] (JENKINS-57386) Durations calculated inaccurately in inactive tabs

8 views
Skip to first unread message

sanniassin@gmail.com (JIRA)

unread,
May 9, 2019, 7:18:02 AM5/9/19
to jenkinsc...@googlegroups.com
Nikita Lobachev created an issue
 
Jenkins / Bug JENKINS-57386
Durations calculated inaccurately in inactive tabs
Issue Type: Bug Bug
Assignee: Unassigned
Components: blueocean-plugin
Created: 2019-05-09 11:17
Priority: Minor Minor
Reporter: Nikita Lobachev

TimeDuration component relies on timers which aren't accurate and may not fire at all if the browser tab is inactive or if I close my laptop. Therefore, if I start a long build, switch to another tab for 10 minutes and then switch back, I'll see durations several minutes behind their actual values.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

sanniassin@gmail.com (JIRA)

unread,
May 9, 2019, 9:39:01 AM5/9/19
to jenkinsc...@googlegroups.com

sanniassin@gmail.com (JIRA)

unread,
May 9, 2019, 9:39:02 AM5/9/19
to jenkinsc...@googlegroups.com
Nikita Lobachev started work on Bug JENKINS-57386
 
Change By: Nikita Lobachev
Status: Open In Progress

sanniassin@gmail.com (JIRA)

unread,
May 9, 2019, 9:40:04 AM5/9/19
to jenkinsc...@googlegroups.com
Nikita Lobachev updated an issue
[TimeDuration component|https://github.com/jenkinsci/blueocean-plugin/blob/master/jenkins-design-language/src/js/components/TimeDuration.jsx] relies on timers which aren't accurate and may not fire at all if the browser tab is inactive or if I close my laptop. Therefore, if I start a long build, switch to another tab for 10 minutes and then switch back, I'll see durations several minutes behind their actual values.

PR: https://github.com/jenkinsci/blueocean-plugin/pull/1959
Reply all
Reply to author
Forward
0 new messages