{"action":"created","issue":{"url":"https://api.github.com/repos/buildbot/buildbot/issues/3844","repository_url":"https://api.github.com/repos/buildbot/buildbot","labels_url":"https://api.github.com/repos/buildbot/buildbot/issues/3844/labels{/name}","comments_url":"https://api.github.com/repos/buildbot/buildbot/issues/3844/comments","events_url":"https://api.github.com/repos/buildbot/buildbot/issues/3844/events","html_url":"https://github.com/buildbot/buildbot/issues/3844","id":283767718,"number":3844,"title":"Grid View Inconsistently Loads Builds","user":{"login":"rayalan","id":2250337,"avatar_url":"https://avatars3.githubusercontent.com/u/2250337?v=4","gravatar_id":"","url":"https://api.github.com/users/rayalan","html_url":"https://github.com/rayalan","followers_url":"https://api.github.com/users/rayalan/followers","following_url":"https://api.github.com/users/rayalan/following{/other_user}","gists_url":"https://api.github.com/users/rayalan/gists{/gist_id}","starred_url":"https://api.github.com/users/rayalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayalan/subscriptions","organizations_url":"https://api.github.com/users/rayalan/orgs","repos_url":"https://api.github.com/users/rayalan/repos","events_url":"https://api.github.com/users/rayalan/events{/privacy}","received_events_url":"https://api.github.com/users/rayalan/received_events","type":"User","site_admin":false},"labels":[{"id":557399128,"url":"https://api.github.com/repos/buildbot/buildbot/labels/web%20UI","name":"web UI","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-21T04:05:50Z","updated_at":"2018-02-23T02:10:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"After upgrading from v0.9.9p2 to v.0.9.14, the Grid view seems to inconsistently decide whether to display changes and builders. Sometimes I a blank grid like this:\r\n \r\n![image](https://user-images.githubusercontent.com/2250337/34239964-fad1b5bc-e5d8-11e7-81b9-ae2ea57564b2.png)\r\n\r\nand sometimes I get the data I expect. \r\n\r\nWith respect to the failure mode:\r\n\r\n* The branch select only shows `(all)`; no other branches are visible. \r\n* As far as I can tell, if I use the result selector to go from `(all)` to any of the results, the view instantly recalculates (correctly). This includes populating the branch selector with many branches. \r\n* The grid settings (maximum number of revisions, changes, builds) does not seem to matter. \r\n* Directly going to the url (e.g. `#/grid?branch=master&result=0`) is not sufficient to cause the recalculation. \r\n* There are a total of fourteen api calls (1 root, 8 to scripts/styles, 1 to Font Awesome, and five for data retrieval - builds, buildrequests, builders, changes, and buildsets). All of these calls succeed, and I can see lots of data in them when I inspect them. No additional calls are made between when no data is visible and data is populated. \r\n\r\n\r\nSpeculation:\r\n\r\n* It appears all the data is being delivered properly to the view. \r\n* It appears that while the view has a trigger to tell it \"data is available\", the view doesn't reliably notice when the data is loaded, which causes an empty grid until the user takes action such as selecting a result filter.\r\n\r\nThis is running buildbot v0.9.14 (including the grid view) on Python 2.7.5, just upgraded from v0.9.9p2. \r\n"},"comment":{"url":"https://api.github.com/repos/buildbot/buildbot/issues/comments/367887778","html_url":"https://github.com/buildbot/buildbot/issues/3844#issuecomment-367887778","issue_url":"https://api.github.com/repos/buildbot/buildbot/issues/3844","id":367887778,"user":{"login":"oliver-joos","id":205720,"avatar_url":"https://avatars3.githubusercontent.com/u/205720?v=4","gravatar_id":"","url":"https://api.github.com/users/oliver-joos","html_url":"https://github.com/oliver-joos","followers_url":"https://api.github.com/users/oliver-joos/followers","following_url":"https://api.github.com/users/oliver-joos/following{/other_user}","gists_url":"https://api.github.com/users/oliver-joos/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver-joos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver-joos/subscriptions","organizations_url":"https://api.github.com/users/oliver-joos/orgs","repos_url":"https://api.github.com/users/oliver-joos/repos","events_url":"https://api.github.com/users/oliver-joos/events{/privacy}","received_events_url":"https://api.github.com/users/oliver-joos/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T02:10:02Z","updated_at":"2018-02-23T02:10:02Z","author_association":"NONE","body":"I confirm this issue in buildbot 1.0.0 (on Twisted 17.9.0 / Python 3.5.2 / Apache 2.4.18)\r\n\r\nThe page Grid View and sometimes Home are affected, whereas Waterfall and Console View are not (yet).\r\nBoth affected pages are just out-dated, and \"Grid View\" sometimes is empty like rayalan writes.\r\nWhen I reloaded Home it was updated, but reloading Grid View did not help.\r\n\r\nI configured Apache as proxy with SSL and thought it could be a caching issue. But now I set \"ExpiresDefault A0\" in Apache config and verified that all response headers contain \"Cache-Control: max-age=0\". Only .css and .js are sent with status 304 by Twisted, so that Firefox loads them from cache. Others are fetched from server every time - issue still occurs!\r\n\r\nI see this issue in Firefox 58.0.2 on Linux Mint 18 64-bit. On a Windows 7 with Firefox 57.0.2 and with Chrome 64.0 I did not see this issue yet.\r\n\r\nRelevant parts of my Apache config:  (I am not Apache expert! ;-)\r\n```\r\n<VirtualHost *:443>\r\n    ...\r\n    ProxyPass /buildbot/ws ws://127.0.0.1:8010/ws\r\n    ProxyPassReverse /buildbot/ws ws://127.0.0.1:8010/ws\r\n    ProxyPass /buildbot/ http://127.0.0.1:8010/\r\n    ProxyPassReverse /buildbot/ http://127.0.0.1:8010/\r\n    SetEnvIf X-Url-Scheme https HTTPS=1\r\n    ProxyPreserveHost On\r\n    ExpiresActive On\r\n    ExpiresDefault A0\r\n    SSLCertificateFile /etc/letsencrypt/...\r\n    SSLCertificateKeyFile /etc/letsencrypt/...\r\n    SSLEngine On\r\n    SSLProtocol ALL -SSLv2 -SSLv3\r\n    SSLHonorCipherOrder On\r\n    SSLCompression Off\r\n    <Location /buildbot/*>\r\n        AuthType Digest\r\n        AuthName \"Buildbot\"\r\n        AuthDigestDomain /\r\n        AuthUserFile /var/...\r\n        Require valid-user\r\n    </Location>\r\n</VirtualHost>\r\n```"}}
{"actor":{"display_login":"oliver-joos"}}