Skip to content

feat: fall back to line chunking when parsing unavailable#115

Merged
stephantul merged 2 commits into
mainfrom
fallback
May 19, 2026
Merged

feat: fall back to line chunking when parsing unavailable#115
stephantul merged 2 commits into
mainfrom
fallback

Conversation

@stephantul
Copy link
Copy Markdown
Contributor

@stephantul stephantul commented May 19, 2026

This PR adds a fallback for parsers from tree-sitter-language-pack. If a user can't download a parser for some reason, we warn the user, but only the first time, and then fall back to line chunking.

Closes #111 , #114 and #94

@stephantul stephantul requested a review from Pringled May 19, 2026 11:28
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/semble/chunking/chunking.py 100.00% <100.00%> (ø)
src/semble/chunking/core.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@stephantul stephantul merged commit 0253f63 into main May 19, 2026
15 checks passed
@stephantul stephantul deleted the fallback branch May 19, 2026 12:18
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.

First-time setup requires network access, not documented

2 participants