-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When trying to import big PGN files, for example Abdussatorov's matches.
Likely Cause
Every game is parsed immediately on the UI thread via ffish.readGamePGN; large/messy PGNs (bad SAN, missing Variant/FEN) throw “invalid sanMove” and heavy synchronous parsing can freeze/crash. Currently there is a 30-game-cap in place.
Possible Fixes
move parsing to a worker or parse in small chunks; lazy-parse (only when a game is opened); validate Variant/FEN and skip/flag bad games instead of dying; keep/import cap configurable with clear error counts.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working