-
Notifications
You must be signed in to change notification settings - Fork 290
Safari service worker issue #5201
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: chris <[email protected]>
|
Cursor Agent can help with this pull request. Just |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
idoshamun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you managed to reproduce and validate the fix?
|
@idoshamun I tested it before it was indeed the safari crash loop on outdated sw, haven't validated though. it's just vibes that disable it all together for safari for now. |
|
@claude please review and let me know if anything here can break the app? |
|
Claude finished @rebelchris's task in 1m 43s —— View job Code Review Progress
Code Review FindingsI've analyzed the changes and identified several potential issues that could break the app or cause unexpected behavior:
|
Changes
Describe what this PR does
sw.ts) now detects Safari (excluding other browsers that spoof the UA) and immediately unregisters itself to prevent theWebKitInternal:0crash._app.tsxhas been updated to proactively detect Safari, unregister any existing/sw.jsservice workers, and prevent Serwist from being registered for Safari users.Events
No new tracking events.
Experiment
No new experiments.
Manual Testing
Caution
Please make sure existing components are not breaking/affected by this PR
On those affected packages:
Did you test on actual mobile devices?
ENG-210
Linear Issue: ENG-210
Preview domain
https://cursor-eng-210-safari-service-wo.preview.app.daily.dev