-
Notifications
You must be signed in to change notification settings - Fork 5.9k
ServiceWorker's Fetch Handler Doesn't Return a Valid Response #2760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We definitely don't want that to happen. Thanks for bringing this up sooner rather than later 🙌 I did see this as well in the link you provided:
I'm actually in the middle of adding tests for our service worker code and thought it was strange we don't actually use the ^I like the page you designed here above. Matches our other pages and communicates the issue clearly. It sounds like we'll need to do two things: |
Adding |
@jsjoeio Could be a great one for me to pick up |
Woo! All you! |
@jsjoeio - I'm promising this by the first June milestone, with optimal hopes to get to it in the last week of May. Feel free to modify the milestones around this - and thanks for the patience! |
Interesting updated - from one of the linked to articles Improving Progressive Web App offline support detection An edit has been made:
It seems we have more time to implement #2760 , though I don't think that means we should hold off. What it does mean, however, is we must continually monitor emerging PWA technologies. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days. |
Not stale |
@code-asher can you please communicate why this is closed as not planned, so everyone following this issue isn’t left in the dark? |
It could be I misunderstood. From what I could tell, this is not going to change, so there is nothing we have to implement? |
Nothing that I have seen indicates that this is not going to change- Google has merely said that it is currently on hold. |
Definitely happy to reopen if that changes. PRs also welcome! Although, I think the long-term move might be to use VS Code's service worker rather than our own, but this will require some investigation. |
Around mid-2021 Google seems to want to enforce PWAs have proper fetch handlers.
The consequence being no installability on at least Chrome.
I think it would be best to make sure that this is resolved prior to that "deadline".
(Although it's February so this may be too early.)
I'm thinking either #2007 (which may require that #1925 be reopened) could be reverted, or a page similar to the error page could be returned notifying the user that
code-server
cannot be used offline.(You may be able to test this functionality by using the Chrome flag
check-offline-capability
.)See more:
The text was updated successfully, but these errors were encountered: