17 lines
982 B
Markdown
17 lines
982 B
Markdown
---
|
||
name: lichess-api-quirks
|
||
description: "Lichess export API behaviour seen live (connection drops after an aborted export, ~16 games/s, test nick only via env)"
|
||
metadata:
|
||
node_type: memory
|
||
type: reference
|
||
originSessionId: 86c7ee93-82be-4380-9d11-393872d0bb51
|
||
modified: 2026-10-20T05:51:43.605Z
|
||
---
|
||
|
||
Observed live while building online games (0.8.0, 2026-10-20):
|
||
- After an export stream is cut short, Lichess drops new connections from the same IP for about a minute ("io: unexpected end of file"). online.rs retries with waits (DOWNLOAD_WAITS); the live test `online_live` can still fail if run twice in a row.
|
||
- Anonymous export runs ~15–20 games/s (6 541 games ≈ 6–7 min).
|
||
- `POST /api/games/export/_ids` omits unknown ids silently.
|
||
- The owner's son's test account is passed only via `CP_ONLINE_NICK`; never commit or publish it.
|
||
|
||
**How to apply:** run `online_live` at most once per few minutes; keep real downloads short when testing. See [[release-process]].
|