Fix official news retries, date boundaries and collection status
Development CI / check-and-build (push) Successful in 3m2s
GitHub Git mirror / mirror (push) Successful in 6s
Development CI / deploy-development (push) Successful in 2m31s

Bound document retries across realtime and history lanes, preserve safe completed reads on failed rounds, and retain unresolved gaps. Honor the longest access-block cooldown and measure retries from the actual failure time.

Filter dated official listings at the collection boundary, handle empty Federal Register days, and distinguish active rounds from waiting or failed processes in the console. Add captured-response regressions and isolated checkpoint validation.
This commit is contained in:
eezd committed 2026-11-05 11:22:46 +08:00
1 parent 80665905e5
commit 39675fe46b
11 files changed
+577 -39

No files matched your search

+17
View File
@@ -263,9 +263,26 @@ list traversal does not prove complete bodies or attachments. Attachment failure
remain visible on the news item, with up to three scheduled attempts one hour apart;
exhausted gaps require explicit investigation or another traversal.
Article and DOJ document failures also remain explicit gaps, with at most three
scheduled attempts one hour apart, measured from the actual failure time.
Real-time and history lanes share the document retry quota; a document retry is
requested only once per round. Due body and attachment retries remain eligible
after their document leaves the real-time lookback window.
A failed round may reuse completed document
reads and retain retry evidence, but cannot advance its lane or history position;
a pipeline error prevents saving completed reads. HTTP 403/429 and detected
challenge pages stop the round for at least fifteen minutes; a longer valid
`Retry-After` is honored and subsequent blocks cannot shorten that deadline.
CFTC document requests are serialized with a three-second
delay. The console distinguishes active collection, scheduled waiting, failure
backoff, stopped processes and unresolved document gaps.
Real-time discovery follows pagination, including every Federal Register page
within a day. Only verified descending feeds stop early at a fully dated page
outside the lookback window; unknown ordering is traversed conservatively.
Treasury currently returns the first page again for subsequent page requests.
A dated real-time page can end discovery at the lookback boundary; a repeated
historical page still fails explicitly and cannot establish historical coverage.
Congress screening reads subjects, CRS summaries, and available text before
excluding a bill whose title alone is inconclusive. Missing bill evidence remains
an unresolved gap, retried at most three times one hour apart per official update;