Skip to content

v1.6.1#76

Merged
shouze merged 2 commits intomainfrom
release/1.6.1
Mar 4, 2026
Merged

v1.6.1#76
shouze merged 2 commits intomainfrom
release/1.6.1

Conversation

@shouze
Copy link
Contributor

@shouze shouze commented Mar 4, 2026

Root cause

When a file contained multiple matches, the TUI rendering loop only displayed the first TextMatch fragment and dropped the rest, due to an incorrect indexing assumption.

What changed

  • src/render/ — fix fragment iteration to render all text matches for a given file
  • package.json — bumped to 1.6.1
  • CHANGELOG.md — added v1.6.1 entry
  • docs/blog/release-v1-6-1.md — patch blog post
  • docs/blog/index.md — added v1.6.1 row

Steps to reproduce (before the fix)

Search for a query that produces multiple matches in the same file. In the TUI, only the first extract was visible for that file.

Steps to verify (after the fix)

Same search: all extracts for the file are now visible in the TUI, consistent with the markdown/JSON output.

References

Fixes #75

Copilot AI review requested due to automatic review settings March 4, 2026 18:03
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

Coverage after merging release/1.6.1 into main will be

95.97%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   aggregate.ts100%100%100%100%
   api-utils.ts97.50%100%100%97.18%52, 60
   api.ts93.43%100%100%92.51%235–239, 295, 312, 63–69
   cache.ts98.08%100%100%97.87%28
   group.ts100%100%100%100%
   output.ts99.12%100%94.74%99.52%58
   render.ts93.11%100%84.62%93.49%100, 102–104, 106–107, 134, 298–299, 342–345, 76, 95–99
   upgrade.ts86.52%100%93.33%85.89%117–118, 138–145, 148–154, 159, 164, 200–203
src/render
   filter-match.ts97.44%100%92.31%100%
   filter.ts100%100%100%100%
   highlight.ts99.29%100%100%99.01%184–185
   rows.ts97.87%100%100%97.73%54–55
   selection.ts100%100%100%100%
   summary.ts100%100%100%100%

@shouze shouze merged commit 900ea04 into main Mar 4, 2026
9 checks passed
@shouze shouze deleted the release/1.6.1 branch March 4, 2026 18:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR prepares the v1.6.1 release by updating the package version and adding release documentation entries (changelog + blog post + blog index entry).

Changes:

  • Bump package.json version to 1.6.1
  • Add a v1.6.1 changelog row and docs/blog entries (new release post + index row)

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
package.json Version bump to 1.6.1 for the release
CHANGELOG.md Adds a v1.6.1 row linking to the blog post
docs/blog/release-v1-6-1.md Adds the v1.6.1 release blog post
docs/blog/index.md Adds v1.6.1 to the blog index table

{
"name": "github-code-search",
"version": "1.6.0",
"version": "1.6.1",
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description says it includes a TUI rendering fix in src/render/ (and related tests), but the actual diff only changes release metadata/docs (package.json + changelog/blog). If the rendering fix is intended for v1.6.1, please include the corresponding code/test changes in this PR (or adjust the description/version bump accordingly) before cutting the release.

Copilot uses AI. Check for mistakes.
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