Files
G0DM0D3/functions/api
faber 2896b530ac fix: deterministic date partitions + compaction script rewrite
Telemetry writer: derive partition dates from batch timestamps (KV key
timestamp / memBufferFirstTs) instead of `new Date()` so retries always
produce the same path.

Compaction script: full rewrite addressing all audit P0/P1 findings:
- Paginated listing (follows rel="next" until all 10k+ files listed)
- Fail-closed: aborts entirely if ANY download fails
- Remote verification: re-downloads archives and checks SHA-256 before deleting sources
- Batched deletes: max 50 operations per HF commit
- Preserves FULL invalid lines in separate artifact (not truncated)
- Dry-run is default; --apply required for writes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-14 10:16:56 -04:00
..