Skip to content

fix(cli): retry locale downloads on transport errors - #1315

Merged
Sönke Behrendt (theSoenke) merged 1 commit into
mainfrom
fix/cli-pull-retry-transport-errors
Oct 14, 2026
Merged

Sönke Behrendt (theSoenke) merged 1 commit into
mainfrom
fix/cli-pull-retry-transport-errors

Conversation

@theSoenke

@theSoenke Sönke Behrendt (theSoenke) commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Make phrase pull resilient to brief network interruptions. Today a connection dropped mid-download fails the whole pull (e.g. stream error: … INTERNAL_ERROR, phrase/phrase-cli#163).

  • Retry connection errors up to 3 times (1s, 2s backoff) for sync, parallel and --async downloads. API responses (304, 429, …) are handled as before.
  • --async checks the HTTP status before writing, so error responses no longer end up in locale files.

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

API changelog (oasdiff)

Doc-only edits (descriptions, examples) do not appear here.

No changes detected

@theSoenke
Sönke Behrendt (theSoenke) force-pushed the fix/cli-pull-retry-transport-errors branch from 37a9f0c to 230e4d2 Compare October 8, 2026 13:57
@theSoenke
Sönke Behrendt (theSoenke) merged commit 98121e5 into main Oct 14, 2026
13 checks passed
@theSoenke
Sönke Behrendt (theSoenke) deleted the fix/cli-pull-retry-transport-errors branch October 14, 2026 07:39
Sign up for free to 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.

2 participants