mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-06-10 00:02:37 -06:00
When a previous export crashes (OOM, abort, kill), the partially- downloaded temp export under .dce-temp/ was orphaned. Subsequent runs started the incremental from the archive's last message ID, re-downloading everything the failed run had already fetched. Now scrape_target() checks for orphaned temp exports before each channel export, salvages truncated JSON (same marker-based repair as salvage-truncated-export.sh), merges recovered messages into the archive, and cleans up stale temp dirs. The incremental then starts from the truly latest message. Adds salvage-stale smoke test with truncated fixture. |
||
|---|---|---|
| .. | ||
| append-after-high-id.json | ||
| append-after-mixed-length.json | ||
| append-concurrent-conflict.json | ||
| append-existing.json | ||
| append-incremental.json | ||
| append-mixed-length-cursor.json | ||
| append-partial-write.json | ||
| append-unordered-cursor.json | ||
| salvage-truncated.json | ||
| wrong-channel.json | ||