Reference in New Issue
Block a user
Delete Branch "fix/adapter-health-1-2-9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Foundational reliability + feed-health work, kept off
MVP-milestoneper the scope decision (MVP stays lean; this is the reliability floor it sits on).Issue #1 — Shared retry helper
adapters/__init__.py: newhttp_get()with a unified retry policy — retries only 429/5xx (max 2 attempts, capped exponential backoff). 4xx other than 429 are NOT retried (config problems).retry_403_ratelimit=True, readsX-RateLimit-Reset); Reddit 403 fast-bail + single 2s 429 retry (not slower than before).Issue #2 — Failure classification in run_log
schema.sql: newrun_log.failure_classcolumn.pipeline.py: capturesadapter.last_failure_class(set byhttp_geton failure) and rolls up the most-severe class across sources (5xx > 4xx > 429 > error > zero_fetch > ok).Issue #9 — Re-enable RSS adapter
ENABLED_SOURCESnow includesrss(was registered, disabled). All 6 adapters run.anthropic(404),googleai(404),metaai(301). Logged via existingfeed_failurescapture — left as-is; URL correction is a separate discovery task (not guessed).Verification
python3 -c "import pipeline"→ OKlast_failure_class=Noneon successTest plan
run_loghasfailure_classpopulatedRelated
Closes #1, Closes #2, Closes #9 (on merge).
8017ded3bato23cce4d609View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.