google / google/codeworld

Blocks fails to load reliably on slow networks

Open
#402 3 comments 0 reactions 0 assignees View on GitHub
bug funblocks
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

In a school setting with a less than ideal network, it very often takes students several reload attempts before code.world/blocks will load for them. Not sure if this is some kind of race condition, or just a consequence of the size of the generated JavaScript in the `funblocks-client` package.

Whatever the case, this is a serious problem. It not only takes 5 to 10 minutes away from each class session, but far worse, it leaves students feeling like can't use the site without adults there ready to handle the problems.

Contributor guide

Open the contributing guide

Research direction

Reproduce the loading failure at code.world/blocks on a slow network and inspect the funblocks-client package and its generated JavaScript. Determine whether the behavior is a race condition or a payload-size problem, then define a reliable loading result that can be verified in repeated slow-network tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, javascript
Domain
frontend, performance
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.