DiscordChatExporter/scripts/tests/test-fixtures
Copilot c13c4167be fix(scrape): salvage stale temp exports before re-downloading
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.
2026-06-03 01:11:28 -05:00
..
append-after-high-id.json fix: harden recurring scrape scripts from review residuals 2026-05-28 00:08:22 -05:00
append-after-mixed-length.json test(scrape): lock mixed-length snowflake cursor selection 2026-05-29 16:33:00 -05:00
append-concurrent-conflict.json feat(validation): comprehensive recurring scraper validation suite and documentation 2026-05-27 12:57:32 -05:00
append-existing.json fix(review): apply autofix feedback 2026-05-24 20:30:37 -05:00
append-incremental.json fix(review): apply autofix feedback 2026-05-24 20:30:37 -05:00
append-mixed-length-cursor.json test(scrape): lock mixed-length snowflake cursor selection 2026-05-29 16:33:00 -05:00
append-partial-write.json feat(validation): comprehensive recurring scraper validation suite and documentation 2026-05-27 12:57:32 -05:00
append-unordered-cursor.json fix: harden recurring scrape scripts from review residuals 2026-05-28 00:08:22 -05:00
salvage-truncated.json fix(scrape): salvage stale temp exports before re-downloading 2026-06-03 01:11:28 -05:00
wrong-channel.json fix(review): apply autofix feedback 2026-05-24 20:30:37 -05:00