{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/26042","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/26042/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/26042/comments","events_url":"https://api.github.com/repos/angular/angular/issues/26042/events","html_url":"https://github.com/angular/angular/pull/26042","id":362306393,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MDY0MDYy","number":26042,"title":"fix(service-worker): do not blow up when caches are unwritable","user":{"login":"gkalpak","id":8604205,"node_id":"MDQ6VXNlcjg2MDQyMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/8604205?v=4","gravatar_id":"","url":"https://api.github.com/users/gkalpak","html_url":"https://github.com/gkalpak","followers_url":"https://api.github.com/users/gkalpak/followers","following_url":"https://api.github.com/users/gkalpak/following{/other_user}","gists_url":"https://api.github.com/users/gkalpak/gists{/gist_id}","starred_url":"https://api.github.com/users/gkalpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkalpak/subscriptions","organizations_url":"https://api.github.com/users/gkalpak/orgs","repos_url":"https://api.github.com/users/gkalpak/repos","events_url":"https://api.github.com/users/gkalpak/events{/privacy}","received_events_url":"https://api.github.com/users/gkalpak/received_events","type":"User","site_admin":false},"labels":[{"id":217969169,"node_id":"MDU6TGFiZWwyMTc5NjkxNjk=","url":"https://api.github.com/repos/angular/angular/labels/PR%20action:%20review","name":"PR action: review","color":"fbca04","default":false},{"id":655699838,"node_id":"MDU6TGFiZWw2NTU2OTk4Mzg=","url":"https://api.github.com/repos/angular/angular/labels/PR%20target:%20master%20&%20patch","name":"PR target: master & patch","color":"5319e7","default":false},{"id":149476251,"node_id":"MDU6TGFiZWwxNDk0NzYyNTE=","url":"https://api.github.com/repos/angular/angular/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false},{"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":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":null,"comments":1,"created_at":"2018-09-20T18:21:46Z","updated_at":"2018-09-20T19:17:25Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/26042","html_url":"https://github.com/angular/angular/pull/26042","diff_url":"https://github.com/angular/angular/pull/26042.diff","patch_url":"https://github.com/angular/angular/pull/26042.patch"},"body":"## PR Checklist\r\n- [x] The commit message follows our guidelines: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit\r\n- [x] Tests for the changes have been added (for bug fixes / features)\r\n- [ ] ~~Docs have been added / updated (for bug fixes / features)~~\r\n\r\n\r\n## PR Type\r\n```\r\n[x] Bugfix\r\n```\r\n\r\n## What is the current behavior?\r\nIn some cases, example when the user clears the caches in DevTools but the SW remains active on another tab and keeps references to the deleted caches, trying to write to the cache throws errors (e.g. `Entry was not found`).\r\n\r\nWhen this happens, the SW can no longer work correctly and should enter a degraded mode allowing requests to be served from the network.\r\n\r\nPossibly related:\r\n- https://github.com/GoogleChrome/workbox/issues/792\r\n- https://bugs.chromium.org/p/chromium/issues/detail?id=639034\r\n\r\n\r\n## What is the new behavior?\r\nIn such situations, the SW will enter the degraded `EXISTING_CLIENTS_ONLY` mode and forward requests to the network.\r\n\r\n\r\n## Does this PR introduce a breaking change?\r\n```\r\n[ ] Yes\r\n[x] No\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/423300978","html_url":"https://github.com/angular/angular/pull/26042#issuecomment-423300978","issue_url":"https://api.github.com/repos/angular/angular/issues/26042","id":423300978,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzMwMDk3OA==","user":{"login":"mary-poppins","id":4871841,"node_id":"MDQ6VXNlcjQ4NzE4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/4871841?v=4","gravatar_id":"","url":"https://api.github.com/users/mary-poppins","html_url":"https://github.com/mary-poppins","followers_url":"https://api.github.com/users/mary-poppins/followers","following_url":"https://api.github.com/users/mary-poppins/following{/other_user}","gists_url":"https://api.github.com/users/mary-poppins/gists{/gist_id}","starred_url":"https://api.github.com/users/mary-poppins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mary-poppins/subscriptions","organizations_url":"https://api.github.com/users/mary-poppins/orgs","repos_url":"https://api.github.com/users/mary-poppins/repos","events_url":"https://api.github.com/users/mary-poppins/events{/privacy}","received_events_url":"https://api.github.com/users/mary-poppins/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T19:17:25Z","updated_at":"2018-09-20T19:17:25Z","author_association":"NONE","body":"You can preview 4dff1de at https://pr26042-4dff1de.ngbuilds.io/."}}
{"actor":{"display_login":"mary-poppins"}}