Skip to content

Comments

Fix region edge cases and improve test coverage#262

Merged
tomwhite merged 3 commits intosgkit-dev:mainfrom
tomwhite:region-edge-case-fixes
Feb 19, 2026
Merged

Fix region edge cases and improve test coverage#262
tomwhite merged 3 commits intosgkit-dev:mainfrom
tomwhite:region-edge-case-fixes

Conversation

@tomwhite
Copy link
Member

Exercise the region tests better by parameterizing over chunk size.

@tomwhite
Copy link
Member Author

Added an improvement in c96edee which will make region queries much more efficient, when for example there is a region at the beginning and another region at the end of a file (-r '1:1004000-1005000,22:10500000-10600000'). Previously, we'd load all the intervening chunks (even though they had no matching variants), but now we just load the relevant chunks.

@jeromekelleher
Copy link
Member

Could the edge case fixed here result in retrieval bugs? If so we should document in the changelog.

@tomwhite tomwhite force-pushed the region-edge-case-fixes branch from 6cd62b3 to 0df5992 Compare February 19, 2026 14:42
@tomwhite tomwhite added this pull request to the merge queue Feb 19, 2026
Merged via the queue into sgkit-dev:main with commit ab77ddf Feb 19, 2026
14 checks passed
@tomwhite tomwhite deleted the region-edge-case-fixes branch February 19, 2026 15:11
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