Skip to content

chore release v1.0.5#8

Merged
shouze merged 2 commits intomainfrom
chore-release-v1.0.5
Feb 19, 2026
Merged

chore release v1.0.5#8
shouze merged 2 commits intomainfrom
chore-release-v1.0.5

Conversation

@shouze
Copy link
Contributor

@shouze shouze commented Feb 19, 2026

  • v1.0.5
  • v1.0.5

Copilot AI review requested due to automatic review settings February 19, 2026 02:16
@github-actions
Copy link

Coverage after merging chore-release-v1.0.5 into main will be

97.45%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   aggregate.ts100%100%100%100%
   api.ts100%100%100%100%
   group.ts100%100%100%100%
   output.ts98.91%100%94.74%99.39%45
   render.ts97.20%100%100%97.14%142–145
   upgrade.ts77.01%100%88.89%75.64%128, 130–132, 79–93
src/render
   filter.ts100%100%100%100%
   highlight.ts99.29%100%100%99.01%184–185
   rows.ts100%100%100%100%
   selection.ts100%100%100%100%
   summary.ts100%100%100%100%

@shouze shouze merged commit 78ca750 into main Feb 19, 2026
8 checks passed
@shouze shouze deleted the chore-release-v1.0.5 branch February 19, 2026 02:16
Copy link

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

Bumps the project version to v1.0.5 and adjusts the CD workflow artifact rename step to avoid unnecessary/unsafe moves during release builds.

Changes:

  • Update package.json version from 1.0.4 to 1.0.5.
  • Update CD workflow artifact rename logic to skip mv when the destination artifact file already exists.

Reviewed changes

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

File Description
package.json Version bump to 1.0.5 for the release.
.github/workflows/cd.yaml Changes artifact rename behavior during the build job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

src="dist/github-code-search-$(echo '${{ matrix.target }}' | sed 's/^bun-//')"
[ -f "${src}.exe" ] && src="${src}.exe"
mv -fv "$src" "dist/${{ matrix.artifact }}"
[ -f "dist/${{ matrix.artifact }}" ] || mv -v "$src" "dist/${{ matrix.artifact }}"
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

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

The rename guard checks whether the destination file already exists, which can silently skip the move when the dest exists for reasons other than “src and dest are identical” (e.g., a leftover file), potentially uploading a stale artifact. Consider instead checking whether the computed src path equals the destination path and only skipping mv in that case; otherwise keep overwriting (mv -f) to ensure the artifact always matches the current build output.

Suggested change
[ -f "dist/${{ matrix.artifact }}" ] || mv -v "$src" "dist/${{ matrix.artifact }}"
dest="dist/${{ matrix.artifact }}"
if [ "$src" != "$dest" ]; then
mv -fv "$src" "$dest"
fi

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.

1 participant

Comments