decentraland / decentraland/builder
There is a race condition between the generated identity and the first fetch of resources
- Dominant language
- TypeScript
- Stars
- 156
- Forks
- 91
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 31
Description
## π Description
* [x] π This is a bug report.
* [ ] π This is a feature request.
## π Details
When the user enters the builder in a tab that fetches resources (the Collections tab for example), if the user needs to sign to generate an identity, there is a race conditions that makes the request to be unauthenticated.
## π’ Steps To Reproduce Issue [ Good To Have ]
```
- Enter the builder without logging in
- Go to the Collections tab
- Sign in
- The list of collection will load forever because the request is unauthenticated because the identity hasn't been yet generated.
```
Contributor guide
Research direction
Reproduce the issue by entering the builder while logged out, opening the Collections tab, and signing in. Trace the identity-generation flow and the first Collections resource request; done means the request is authenticated after sign-in and the collection list loads instead of waiting indefinitely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100