Skip to content

add test for REv2 test vectors - #4

Merged
tyler-french merged 1 commit into
mainfrom
tfrench/test-vector
Feb 13, 2026
Merged

tyler-french merged 1 commit into
mainfrom
tfrench/test-vector

Conversation

@tyler-french

@tyler-french tyler-french commented Feb 5, 2026 •

Copy link
Copy Markdown
Collaborator

Added in bazelbuild/remote-apis#357

This test verifies we're aligned with the RemoteAPIs spec bazelbuild/remote-apis@de5501d

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.

Pull request overview

This PR adds comprehensive test vectors for FastCDC with normalization level 2 (REv2) to support the reference implementation in bazelbuild/remote-apis#357.

Changes:

  • Added TestChunker_SekienNormalization2 function with test vectors for normalization level 2 with seeds 0 and 666
  • Test validates chunk offsets, lengths, SHA256 hashes, and fingerprints for more comprehensive validation than existing tests

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

Comment thread fastcdc/fastcdc_test.go Outdated
Comment thread fastcdc/fastcdc_test.go Outdated
@tyler-french
tyler-french merged commit 2f01aaf into main Feb 13, 2026
2 checks passed
@tyler-french
tyler-french deleted the tfrench/test-vector branch February 13, 2026 19:05
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.

4 participants