Skip to content
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

🐛: fix check permissions hanging for some users by unpromisifying it #472

Merged
merged 1 commit into from
Nov 29, 2022

Conversation

alexdanilowicz
Copy link
Collaborator

It seems for 35% of users, get started would hang. At first, I thought this was an initialize problem, but Amplitude (and all the support tickets) suggests that actually initialize never starts and the permission check just hangs. Hangs meaning it never resolves.

I actually was able to repro locally by removing full disk for my terminal, and then adding it and restarting the app. It hanged. When I logged, it seemed that the promise never resolved. it just waited and waited. not sure what caused that. But i think we can just un-promisify it and just call it at the render level. I can no longer repro.

@vercel
Copy link

vercel bot commented Nov 29, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
leftonread-web ✅ Ready (Inspect) Visit Preview Nov 29, 2022 at 1:48AM (UTC)

@alexdanilowicz alexdanilowicz changed the title 🐛: fix check permissions hanging for some users 🐛: fix check permissions hanging for some users by unpromisifying it Nov 29, 2022
@alexdanilowicz alexdanilowicz merged commit b0c8420 into main Nov 29, 2022
@alexdanilowicz alexdanilowicz deleted the alex/new-features branch November 29, 2022 02:06
@alexdanilowicz
Copy link
Collaborator Author

alexdanilowicz commented Nov 29, 2022

resolves: #463

@alexdanilowicz
Copy link
Collaborator Author

fudge, this doesn't work in released version. totally hangs still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant