google / google/codeworld

Error highlights stay out of sync during heavy use

Aperta
#1,228 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Haskell
Stelle
1.3k
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When I use CodeWorld myself, the error highlights are pretty reliable, but during classes when many students are working at once, I often see students with out of date error highlights that won't update, even when they've stopped for a long time. I suspect that when the latency gets too long, something goes wrong in the client and errors get stuck out-of-sync. Maybe it loses track of which outstanding requests it should be cancelling, and cancels the latest one instead of earlier ones. Not sure.

In any case, when error highlights are too old, we should really consider removing them from the document, and perhaps displaying some kind of loading indicator to say we're working on updating the errors.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

La issue non indica file né test; inizia tracciando gli aggiornamenti dell’evidenziazione degli errori lato client e l’annullamento delle richieste in sospeso. Riproduci il comportamento dell’evidenziazione obsoleta con latenza elevata, quindi verifica che le evidenziazioni obsolete vengano cancellate e che venga mostrato uno stato di caricamento mentre vengono recuperati gli errori correnti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
haskell
Ambito
frontend, performance
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.