Skip to content

Gracefully handle missing checksums in Compact Index#9492

Merged
hsbt merged 1 commit into
ruby:masterfrom
jneen:bugfix.error-on-missing-checksum
May 14, 2026
Merged

Gracefully handle missing checksums in Compact Index#9492
hsbt merged 1 commit into
ruby:masterfrom
jneen:bugfix.error-on-missing-checksum

Conversation

@jneen
Copy link
Copy Markdown

@jneen jneen commented Apr 18, 2026

What was the end-user or developer problem that led to this PR?

Fixes #9491.

What is your fix for the problem, implemented in this PR?

I've changed CompactIndexClient::Parser#parse_version_checksum to fail gracefully in the way it looks like @martinemde originally intended, by placing the nil check before any addition.

Make sure the following tasks are checked

@jneen jneen changed the title gracefully handle missing checksums Gracefully handle missing checksums in Compact Index Apr 18, 2026
@hsbt hsbt enabled auto-merge May 14, 2026 01:29
@hsbt hsbt force-pushed the bugfix.error-on-missing-checksum branch from 9b3ab36 to 234e2b7 Compare May 14, 2026 03:03
@hsbt hsbt merged commit fcc03ef into ruby:master May 14, 2026
96 checks passed
hsbt added a commit that referenced this pull request May 20, 2026
Gracefully handle missing checksums in Compact Index

(cherry picked from commit fcc03ef)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CompactIndexClient errors when a line doesn't have a checksum

2 participants