Skip to content

Fix code search context line parsing#747

Open
hiSandog wants to merge 1 commit into
CodebuffAI:mainfrom
hiSandog:fix/small-validation-9c4f2a
Open

Fix code search context line parsing#747
hiSandog wants to merge 1 commit into
CodebuffAI:mainfrom
hiSandog:fix/small-validation-9c4f2a

Conversation

@hiSandog
Copy link
Copy Markdown
Contributor

Summary

  • Parse code_search context lines using known match file paths so hyphenated paths like src/component-2-test.ts are not truncated
  • Preserve context content that also contains hyphen-number-hyphen sequences
  • Add regression coverage for both cases

Validation

  • git diff --check
  • Attempted: ./.bin/bun test common/src/util/tests/format-code-search.test.ts (blocked locally because the repository wrapper requires .env.local/Infisical and no real bun executable is installed on PATH)

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