Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix code search context line parsing#747

Open
hiSandog wants to merge 1 commit into
CodebuffAI:mainCodebuffAI/codebuff:mainfrom
hiSandog:fix/small-validation-9c4f2ahiSandog/codebuff:fix/small-validation-9c4f2aCopy head branch name to clipboard
Open

Fix code search context line parsing#747
hiSandog wants to merge 1 commit into
CodebuffAI:mainCodebuffAI/codebuff:mainfrom
hiSandog:fix/small-validation-9c4f2ahiSandog/codebuff:fix/small-validation-9c4f2aCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.