Repository navigation
fix(search): --discover joins only lettered hyphenated words, never a field value - #2972
Merged
Merged
Conversation
… field value 0.664.0 (#2959) also joined date:2026-10-08 into the term 20261008, so a dated question reported coverage 0.8 instead of 1; tg-cli's search adoption test caught it on the bump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
Follow-up to #2959, found by tg-cli's
search-adoptiontest while bumping tg to 0.664.0.Why
joinedHyphensmatched any hyphenated run of letters or digits, sodate:2026-10-08in a--discoverquestion added the term20261008. No message holds it, so the hit'scoveragedropped from 1 to 0.8 andmissingTermsnamed a word the owner never typed.What
:(a field's value).changes/fix-hyphen-join-letters.md.Testing
vitest run src/services src/search: 2,202 passed. Typecheck, biome. tg-cli'ssearch-adoptiontest is the one that caught it; it passes on the bump once this is released.🤖 Generated with Claude Code