Commit Graph
5 Commits
Author SHA1 Message Date
claudeandClaude Opus 4.8 b129ff1ef9 fix(scrape): retry connection drops; tolerate single-page failures
The clean refresh (#15483) aborted the whole scrape on a transient upstream
blip:
  requests.exceptions.ConnectionError:
    ('Connection aborted.', RemoteDisconnected('Remote end closed ...'))

_get() retried HTTP error *statuses* (429/500/502/503/504) but not
connection-level *exceptions*, so a single dropped connection — which the
HPE portal does intermittently under the --force re-scrape of 2300+ pages
at concurrency 6 — killed the entire weekly run. Prior runs just got lucky.

- _get(): wrap the request in try/except requests.exceptions.RequestException
  and retry with the existing exponential backoff (covers RemoteDisconnected,
  timeouts, chunked-encoding errors).
- scrape_toc_bundle(): a page that still fails after all retries is logged
  and skipped (its previously-committed .md is kept) instead of aborting the
  bundle. A broad outage still surfaces as a high failed-count in the log.

Verified: unit test confirms _get retries a RemoteDisconnected then succeeds;
happy-path scrape unaffected.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LFowQzJu7k97QLCRDSAeh1
2026-08-06 11:55:02 -04:00
claude 08c4b4b71d fix(scrape): make vision OCR a per-bundle allowlist, not a corpus sweep (#6)
Co-authored-by: claude <[email protected]>
2026-08-06 11:39:47 -04:00
claude 43d891968e fix(ci): derive image name from $GITHUB_REPOSITORY, not the event payload (#7)
Co-authored-by: claude <[email protected]>
2026-08-06 10:56:56 -04:00
claude 698196bd63 feat(scrape): vision OCR of image-only doc pages (support matrices) (#5)
Co-authored-by: claude <[email protected]>
2026-07-23 09:48:38 -04:00
claude 2922161cc7 fix(scrape): auto-discover new Morpheus versions; pin 9.0.0 (#4)
Co-authored-by: claude <[email protected]>
2026-07-15 11:17:27 -04:00