Skip to content

Conversation

@daveshanley
Copy link
Member

Added support for the copy command on overlays 1.1.

This is a breaking change because the low-level model now has a different hashing algorithm and a different signature. We're no longer returning [32]byte instead it's a unit32

The new algorithm uses go's built-in maphash instead of SHA256. It's much, much, much more efficient. It runs about 15 times faster.

@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.50%. Comparing base (c579fac) to head (6417cb4).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #507    +/-   ##
========================================
  Coverage   99.50%   99.50%            
========================================
  Files         189      190     +1     
  Lines       22872    23013   +141     
========================================
+ Hits        22759    22900   +141     
  Misses         68       68            
  Partials       45       45            
Flag Coverage Δ
unittests 99.50% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

breaking change on the low level model (not the high), changes signature of the Hash interface to be uint32 vs [31]byte

This is a breaking change, low-level hash consumers will need to move to the new signature.
remove untestable / overly defensive code.
@daveshanley daveshanley merged commit 7b6048a into main Jan 24, 2026
4 checks passed
@daveshanley daveshanley deleted the algo branch January 27, 2026 15:52
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