{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/20970","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/20970/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/20970/comments","events_url":"https://api.github.com/repos/angular/angular/issues/20970/events","html_url":"https://github.com/angular/angular/issues/20970","id":281562365,"node_id":"MDU6SXNzdWUyODE1NjIzNjU=","number":20970,"title":"bug(service-worker): does not start/install (zone not stabilizing)","user":{"login":"Ploppy3","id":7990765,"node_id":"MDQ6VXNlcjc5OTA3NjU=","avatar_url":"https://avatars2.githubusercontent.com/u/7990765?v=4","gravatar_id":"","url":"https://api.github.com/users/Ploppy3","html_url":"https://github.com/Ploppy3","followers_url":"https://api.github.com/users/Ploppy3/followers","following_url":"https://api.github.com/users/Ploppy3/following{/other_user}","gists_url":"https://api.github.com/users/Ploppy3/gists{/gist_id}","starred_url":"https://api.github.com/users/Ploppy3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ploppy3/subscriptions","organizations_url":"https://api.github.com/users/Ploppy3/orgs","repos_url":"https://api.github.com/users/Ploppy3/repos","events_url":"https://api.github.com/users/Ploppy3/events{/privacy}","received_events_url":"https://api.github.com/users/Ploppy3/received_events","type":"User","site_admin":false},"labels":[{"id":708923209,"node_id":"MDU6TGFiZWw3MDg5MjMyMDk=","url":"https://api.github.com/repos/angular/angular/labels/comp:%20service-worker","name":"comp: service-worker","color":"c5def5","default":false},{"id":375497160,"node_id":"MDU6TGFiZWwzNzU0OTcxNjA=","url":"https://api.github.com/repos/angular/angular/labels/freq2:%20medium","name":"freq2: medium","color":"fbca04","default":false},{"id":375498203,"node_id":"MDU6TGFiZWwzNzU0OTgyMDM=","url":"https://api.github.com/repos/angular/angular/labels/severity3:%20broken","name":"severity3: broken","color":"0052cc","default":false},{"id":130606843,"node_id":"MDU6TGFiZWwxMzA2MDY4NDM=","url":"https://api.github.com/repos/angular/angular/labels/type:%20bug/fix","name":"type: bug/fix","color":"EEEEEE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/82","html_url":"https://github.com/angular/angular/milestone/82","labels_url":"https://api.github.com/repos/angular/angular/milestones/82/labels","id":3045967,"node_id":"MDk6TWlsZXN0b25lMzA0NTk2Nw==","number":82,"title":"Backlog","description":"Milestone for triaged issues that have not yet been scheduled for resolution.","creator":{"login":"IgorMinar","id":216296,"node_id":"MDQ6VXNlcjIxNjI5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/216296?v=4","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"open_issues":1928,"closed_issues":322,"state":"open","created_at":"2018-01-18T16:52:20Z","updated_at":"2018-08-21T23:01:32Z","due_on":null,"closed_at":null},"comments":44,"created_at":"2017-12-12T22:38:27Z","updated_at":"2018-08-23T02:36:59Z","closed_at":null,"author_association":"NONE","body":"## I'm submitting a...\r\n<!-- Check one of the following options with \"x\" -->\r\n<pre><code>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[X] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n</code></pre>\r\n\r\n## Current behavior\r\nService worker does not start/install.\r\n\r\n## Expected behavior\r\nService worker should always start/install.\r\n\r\n## Minimal reproduction of the problem with instructions\r\n\r\n- create new project \r\n`ng new test-service-worker --service-worker`\r\n- add this code to the app.component's constructor:\r\n`setInterval(function() { console.log('test'); }, 1000);`\r\n- build app \r\n`ng build --prod`\r\n- service worker will never start/install\r\n\r\n## Environment\r\n<pre><code>\r\nAngular version: 5.1.0\r\nCLI: 1.6.0\r\n</code></pre>\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/415263111","html_url":"https://github.com/angular/angular/issues/20970#issuecomment-415263111","issue_url":"https://api.github.com/repos/angular/angular/issues/20970","id":415263111,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTI2MzExMQ==","user":{"login":"EatonZ","id":3020941,"node_id":"MDQ6VXNlcjMwMjA5NDE=","avatar_url":"https://avatars1.githubusercontent.com/u/3020941?v=4","gravatar_id":"","url":"https://api.github.com/users/EatonZ","html_url":"https://github.com/EatonZ","followers_url":"https://api.github.com/users/EatonZ/followers","following_url":"https://api.github.com/users/EatonZ/following{/other_user}","gists_url":"https://api.github.com/users/EatonZ/gists{/gist_id}","starred_url":"https://api.github.com/users/EatonZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EatonZ/subscriptions","organizations_url":"https://api.github.com/users/EatonZ/orgs","repos_url":"https://api.github.com/users/EatonZ/repos","events_url":"https://api.github.com/users/EatonZ/events{/privacy}","received_events_url":"https://api.github.com/users/EatonZ/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T02:36:59Z","updated_at":"2018-08-23T02:36:59Z","author_association":"NONE","body":"Ran into this issue on a new Angular 6.1.4 app. Service Worker doesn't install when rxjs' `interval` is used as advised in the [official documentation](https://angular.io/guide/service-worker-communications#checking-for-updates). When it's commented out, everything works as expected.\r\n\r\nIs there any sign of an official workaround/fix for this issue? It seems odd to me that the docs would recommend this approach if it doesn't work. It seems like there should be some kind of note in the docs that warns about this behavior."}}
{"actor":{"display_login":"EatonZ"}}