chessbaseLinux/claude/memory/lichess-api-quirks.md
vrubelroman cdcb6891bc Private files: secrets, test databases, assistant memory and sessions, restore.sh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 02:17:33 +03:00

17 lines
982 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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]].