Skip to content

Fix/gated download error#1

Merged
skundu42 merged 2 commits into
mainfrom
fix/gated-download-error
Jun 23, 2026
Merged

Fix/gated download error#1
skundu42 merged 2 commits into
mainfrom
fix/gated-download-error

Conversation

@skundu42

Copy link
Copy Markdown
Owner

No description provided.

skundu42 added 2 commits June 23, 2026 11:19
Planning (the snapshot dry-run) ran synchronously in the download request
handler, so a gated or private repo (GatedRepoError / 401-403) escaped as an
uncaught HTTP 500 — shown in the app as the opaque "unexpectedStatus(500)".

Catch planning failures in DownloadManager.start() and record them as
error-state jobs with an actionable message (gated -> request access + sign in
with a token; 404 -> check the repo id), and classify transfer-time failures
the same way via _friendly_download_error().
@skundu42 skundu42 merged commit 3204d3f into main Jun 23, 2026
3 checks passed
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.

1 participant