[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-12-13 Thread tom.fenne...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom FENNELLY started work on  JENKINS-39625  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Tom FENNELLY  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-12-13 Thread tom.fenne...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom FENNELLY updated  JENKINS-39625  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39625  
 
 
  OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
Change By: 
 Tom FENNELLY  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-12-02 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39625  
 
 
  OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Sprint: 
 arctic, tasman , frank  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-21 Thread tom.fenne...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom FENNELLY stopped work on  JENKINS-39625  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Tom FENNELLY  
 
 
Status: 
 In Progress Open  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-21 Thread tom.fenne...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom FENNELLY commented on  JENKINS-39625  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
 Wip PRs: 
 
Part 1: https://github.com/jenkinsci/blueocean-plugin/pull/612 
Part 2: https://github.com/jenkinsci/blueocean-plugin/pull/613 
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-20 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39625  
 
 
  OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Sprint: 
 arctic , tasman  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-17 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay commented on  JENKINS-39625  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
 Tom FENNELLY righto   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-17 Thread tom.fenne...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom FENNELLY commented on  JENKINS-39625  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
 James Dumay don't need to do that ... for now, just use pipelines that don't have artifacts and we avoid this.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-17 Thread tom.fenne...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom FENNELLY updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39625  
 
 
  OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
Change By: 
 Tom FENNELLY  
 
 
Sprint: 
 arctic  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-15 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay commented on  JENKINS-39625  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
 Tom FENNELLY Instead of waiting for JENKINS-39737 to be completed just make getArtifacts() return an empty collection (effectively removing it from the result) and continue experimenting here to see if there are any other gains to be made. AbstractRunImpl.java 

 

@Override
public Container getArtifacts() {
//Map m = new HashMap<>();
//List artifacts = run.getArtifacts();
//for (final Run.Artifact artifact: artifacts) {
//m.put(artifact.getFileName(), new BlueArtifact() {
//@Override
//public String getName() {
//return artifact.getFileName();
//}
//
//@Override
//public String getUrl() {
//return Stapler.getCurrentRequest().getContextPath() +
//"/" + run.getUrl()+"artifact/"+ artifact.getHref();
//}
//
//@Override
//public long getSize() {
//try {
//return artifact.getFileSize();
//} catch (NumberFormatException e) {
//return 0;
//}
//}
//
//@Override
//public Link getLink() {
//return new Link(getUrl());
//}
//
//});
//}
return Containers.fromResourceMap(getLink(), Maps.newConcurrentMap());
}
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

  

[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-15 Thread tom.fenne...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom FENNELLY started work on  JENKINS-39625  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Tom FENNELLY  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-15 Thread tom.fenne...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom FENNELLY commented on  JENKINS-39625  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
 Parking this until JENKINS-39737 and JENKINS-39661 are addressed.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-15 Thread tom.fenne...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom FENNELLY updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39625  
 
 
  OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
Change By: 
 Tom FENNELLY  
 
 
Sprint: 
 arctic  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-14 Thread tom.fenne...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom FENNELLY updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39625  
 
 
  OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
Change By: 
 Tom FENNELLY  
 

  
 
 
 
 

 
 On a fresh load of the run details we want to avoid fetching the pipeline's run. Note: What we're talking about here is when the user goes directly to the Run Details page e.g. from a notification of some sort (e.g. an email). We're not talking about "normal" navigation to the Run Details page. *In Scope** This data is attached to the {{$.blueOceanConfig}} object* When the page loads the data is injected into the store* We never have to do a XHR when loading the run details  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-14 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay assigned an issue to Tom FENNELLY  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39625  
 
 
  OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Assignee: 
 Tom FENNELLY  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-14 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39625  
 
 
  OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Sprint: 
 arctic  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39625) OPTIMIZATION: Pre-load Run data on fresh load of the Run Details

2016-11-09 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39625  
 
 
  OPTIMIZATION: Pre-load Run data on fresh load of the Run Details   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 blueocean-plugin  
 
 
Created: 
 2016/Nov/09 9:07 PM  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 James Dumay  
 

  
 
 
 
 

 
 On a fresh load of the run details we want to avoid fetching the pipeline's run. In Scope 
 
This data is attached to the $.blueOceanConfig object 
When the page loads the data is injected into the store 
We never have to do a XHR when loading the run details 
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment