Skip to content

fix: Narrow hermit GitHub redirect to release downloads only#262

Merged
alecthomas merged 1 commit intomainfrom
aat/fix-hermit-github-archives
Apr 16, 2026
Merged

fix: Narrow hermit GitHub redirect to release downloads only#262
alecthomas merged 1 commit intomainfrom
aat/fix-hermit-github-archives

Conversation

@alecthomas
Copy link
Copy Markdown
Collaborator

The hermit strategy was redirecting all github.com URLs to the
github-releases strategy, but only /releases/download/ URLs have
a matching handler. Archive URLs (e.g. /archive/refs/tags/) got
a 404 from the unmatched internal route. Narrowing the redirect
lets archive URLs fall through to the direct proxy handler.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

The hermit strategy was redirecting all github.com URLs to the
github-releases strategy, but only /releases/download/ URLs have
a matching handler. Archive URLs (e.g. /archive/refs/tags/) got
a 404 from the unmatched internal route. Narrowing the redirect
lets archive URLs fall through to the direct proxy handler.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alecthomas alecthomas requested a review from a team as a code owner April 16, 2026 01:31
@alecthomas alecthomas requested review from worstell and removed request for a team April 16, 2026 01:31
@alecthomas alecthomas enabled auto-merge (squash) April 16, 2026 01:31
@alecthomas alecthomas merged commit e5fd61a into main Apr 16, 2026
8 checks passed
@alecthomas alecthomas deleted the aat/fix-hermit-github-archives branch April 16, 2026 01:33
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