Skip to content

Exclude malformed URLs from catalog build instead of crashing - #325

Merged
probably-jaden merged 1 commit into
mainfrom
fix/catalog-malformed-urls
Aug 4, 2026
Merged

Exclude malformed URLs from catalog build instead of crashing#325
probably-jaden merged 1 commit into
mainfrom
fix/catalog-malformed-urls

Conversation

@probably-jaden

Copy link
Copy Markdown
Contributor

source-archive catalog crashed with ValueError: Invalid IPv6 URL when a manifest contained an unparsable URL (e.g. a bare http://[ extracted from a bot comment), which killed the weekly catalog rebuild on 2026-07-13. This wraps the urlsplit call sites in catalog.py so parse-raising URLs are routed to the existing "malformed" exclusion category instead of raising. Adds a regression test that a manifest record with such a URL builds cleanly and counts as excluded/malformed.

🤖 Generated with Claude Code

…uild

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@probably-jaden
probably-jaden merged commit be7a213 into main Aug 4, 2026
2 checks passed
@probably-jaden
probably-jaden deleted the fix/catalog-malformed-urls branch August 4, 2026 16:07
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