[Buildbot] #2960: Builder page show that some build exists, but their own page doesn't
    Buildbot trac 
    trac at buildbot.net
       
    Tue Oct 28 21:20:18 UTC 2014
    
    
  
#2960: Builder page show that some build exists, but their own page doesn't
----------------------+-----------------------
Reporter:  Ben        |       Owner:  tardyp
    Type:  undecided  |      Status:  accepted
Priority:  major      |   Milestone:  0.9.0
 Version:  0.8.9      |  Resolution:
Keywords:  web        |
----------------------+-----------------------
Comment (by Ben):
 You're right, I was able to reproduce the trouble by first visiting the +1
 page, and then forcing a build. I automatically landed on the page of the
 build previous to the one I just forced. (CACHE HIT -> 404 -> id - 1 )
 I was also able to mitigate the trouble via commenting out the line 27 and
 28 here:
 https://github.com/buildbot/buildbot/blob/master/www/base/src/app/common/services/buildbot/buildbot.service.coffee#L28
 I believe we are caching (memoizing to be right) on the wrong level.
 restangular is based on $http, and $http also implements caching ... I do
 believe that $http can better handle request caching than _.
 https://docs.angularjs.org/api/ng/service/$http#caching
 restangular itself, recommends using $http caching:
 https://github.com/mgonto/restangular/issues/25
--
Ticket URL: <http://trac.buildbot.net/ticket/2960#comment:3>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
    
    
More information about the bugs
mailing list