Skip to content

Conversation

@stevebio
Copy link
Collaborator

@stevebio stevebio commented Jan 6, 2026

Update high vulnerability
Add comment about VecVector
Update copyright

Update high vulnerability
Add comment about VecVector
Update copyright
@stevebio stevebio requested a review from anu3990 as a code owner January 6, 2026 17:44
Copilot AI review requested due to automatic review settings January 6, 2026 17:44
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

Copyright Validation Results
Total: 4 | Passed: 4 | Failed: 0 | Skipped: 0 | at: 2026-01-06 17:45:05 UTC | commit: 3024522

✅ Valid Files

  • lib/plan-builder-base.js
  • lib/plan-builder-generated.js
  • test-basic/optic-vector.js
  • test-basic/plan-builder-generated.js

✅ All files have valid copyright headers!

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

This PR exposes two new vector functions (vec.precision and vec.trunc) in the Node.js client library and updates copyright years from 2025 to 2026. The changes include adding the new function definitions to the generated plan builder, updating test cases to be more precise and comprehensive, and fixing a bug in the VecVector type handling.

  • Added vec.precision and vec.trunc function definitions with proper JSDoc documentation
  • Enhanced vector function test coverage with clearer assertions and better test data
  • Fixed VecVector argument handling in castArg to return the object instead of its arguments
  • Updated copyright notices across all affected files to 2026

Reviewed changes

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

File Description
lib/plan-builder-generated.js Added vec.precision and vec.trunc function definitions with JSDoc comments and parameter validation
lib/plan-builder-base.js Fixed VecVector handling to return the object itself rather than arg._args; added explanatory comment
test-basic/optic-vector.js Rewrote vector function tests with more precise assertions, better test data, and clearer comments
test-basic/plan-builder-generated.js Updated vec.base64Decode test to use proper base64-encoded vector string with explanatory comment

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

@stevebio stevebio merged commit 42588ce into develop Jan 6, 2026
5 of 6 checks passed
@stevebio stevebio deleted the feature/26338-add-vec-precision-trunc branch January 6, 2026 18:37
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.

3 participants