Skip to content

fix(hf): swallow timeout in fetch_json - #640

Merged
Flotapponnier merged 1 commit into
mainfrom
fix/hf-publisher-timeout
Jun 22, 2026
Merged

fix(hf): swallow timeout in fetch_json#640
Flotapponnier merged 1 commit into
mainfrom
fix/hf-publisher-timeout

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Follow-up to #636. The /api/series fetch in production timed out on first cold run, raising bare TimeoutError (subclass of OSError, not URLError) and aborting the whole snapshot. Catch TimeoutError + OSError explicitly so fetch_series can swallow per-URL timeouts via PublisherError as intended. Bump per-series timeout from 30s to 60s.

Hotfix path because the previous v1 partition is still served on HF and the workflow was failing on every retry.

@Flotapponnier
Flotapponnier merged commit ef307a4 into mainJun 22, 2026
@Flotapponnier
Flotapponnier deleted the fix/hf-publisher-timeout branch July 17, 2026 14:42
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Flotapponnier