Skip to content

chore: Miscellaneous fixes and improvements - #284

Merged
anush008 merged 1 commit into
mainfrom
misc-fixes
Aug 27, 2026
Merged

anush008 merged 1 commit into
mainfrom
misc-fixes

Conversation

@anush008

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

BGEM3 assertions are overly permissive, and release output serialization remains vulnerable to delimiter collisions.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Improves test reliability, sparse embedding processing, documentation, and workflow security.

Changes:

  • Adjusts embedding tolerances and BGEM3 test locking.
  • Refines sparse allocations and weight parsing.
  • Adds explicit workflow permissions and safer release-author output handling.
File summaries
File Description
tests/text-embeddings.rs Widens embedding comparison tolerance.
tests/bgem3.rs Updates tolerances and poisoned-lock handling.
src/sparse_text_embedding/impl.rs Corrects sparse-vector allocation capacity.
src/sparse_text_embedding/bgem3_weights.rs Validates weight-byte chunking.
src/common.rs Corrects documentation punctuation.
.github/workflows/test.yml Restricts test-job permissions.
.github/workflows/release.yml Adds release permissions and multiline outputs.
Review details
  • Files reviewed: 7/7 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tests/bgem3.rs
Comment thread .github/workflows/release.yml
@anush008
anush008 merged commit 397e8d0 into main Aug 27, 2026
29 of 31 checks passed
@anush008
anush008 deleted the misc-fixes branch August 27, 2026 07:33
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 6.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants