decentraland / decentraland/builder

There is a race condition between the generated identity and the first fetch of resources

Open
#2,886 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.