Details
-
Type:
Task
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: blueocean-plugin
-
Labels:None
-
Similar Issues:
-
Epic Link:
-
Sprint:arctic, tasman
Description
The /activity and /runs endpoints have been reported to take up to 28 seconds on some Jenkins masters.
Tracing through the code, it looks like io.jenkins.blueocean.service.embedded.rest.RunContainerImpl#get will load all the runs using hudson.model.Job#getBuilds() for the Job then applies the pagination.
However, there is a method hudson.model.Job#getBuilds(hudson.model.Fingerprint.RangeSet) that will allow us to fetch a range of data which would be suitable for pagination.
Attachments
Issue Links
- relates to
-
JENKINS-39737 Update UI to support new artifacts endpoint
-
- Resolved
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link | JENKINS-37957 [ 174099 ] |
Rank | Ranked higher |
Remote Link | This issue links to "Customer data (Web Link)" [ 15039 ] |
Description |
The {{/activity}} and {{/runs}} endpoints have been reported to take up to 28 seconds on some Jenkins masters. Tracing through the code, it looks like {{io.jenkins.blueocean.service.embedded.rest.RunContainerImpl#get}} will load all the runs using {{hudson.model.Job#getBuilds()}} for the Job then apply the pagination. However, there is a method {{hudson.model.Job#getBuilds(hudson.model.Fingerprint.RangeSet)}} that will allow us to fetch a range of data which would be suitable for pagination. |
The {{/activity}} and {{/runs}} endpoints have been reported to take up to 28 seconds on some Jenkins masters. Tracing through the code, it looks like {{io.jenkins.blueocean.service.embedded.rest.RunContainerImpl#get}} will *load all the runs* using {{hudson.model.Job#getBuilds()}} for the Job *then apply the pagination*. However, there is a method {{hudson.model.Job#getBuilds(hudson.model.Fingerprint.RangeSet)}} that will allow us to fetch a range of data which would be suitable for pagination. |
Description |
The {{/activity}} and {{/runs}} endpoints have been reported to take up to 28 seconds on some Jenkins masters. Tracing through the code, it looks like {{io.jenkins.blueocean.service.embedded.rest.RunContainerImpl#get}} will *load all the runs* using {{hudson.model.Job#getBuilds()}} for the Job *then apply the pagination*. However, there is a method {{hudson.model.Job#getBuilds(hudson.model.Fingerprint.RangeSet)}} that will allow us to fetch a range of data which would be suitable for pagination. |
The {{/activity}} and {{/runs}} endpoints have been reported to take up to 28 seconds on some Jenkins masters. Tracing through the code, it looks like {{io.jenkins.blueocean.service.embedded.rest.RunContainerImpl#get}} will *load all the runs* using {{hudson.model.Job#getBuilds()}} for the Job *then applies the pagination*. However, there is a method {{hudson.model.Job#getBuilds(hudson.model.Fingerprint.RangeSet)}} that will allow us to fetch a range of data which would be suitable for pagination. |
Assignee | Tom FENNELLY [ tfennelly ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Sprint | arctic [ 131 ] |
Status | In Progress [ 3 ] | Open [ 1 ] |
Assignee | Tom FENNELLY [ tfennelly ] | Vivek Pandey [ vivek ] |
Link |
This issue relates to |
Link |
This issue is blocking |
Link |
This issue is blocking |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Sprint | arctic [ 131 ] | arctic, tasman [ 131, 136 ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Remote Link | This issue links to "CloudBees Internal UX-583 (Web Link)" [ 18214 ] |
I've linked the Customer Data here that is on the internal CloudBees tracker - non-employees will be able to see it. I am only referencing this here so we can keep the development of Blue Ocean out in the open and still respond to these requests.