Skip to content

fix(checksum): return canonical empty checksum - #94

Closed
corylanou wants to merge 1 commit into
mainfrom
issue-88-checksumreader-returns-bare-0-for-an-empty-database-instead
Closed

fix(checksum): return canonical empty checksum#94
corylanou wants to merge 1 commit into
mainfrom
issue-88-checksumreader-returns-bare-0-for-an-empty-database-instead

Conversation

@corylanou

Copy link
Copy Markdown
Collaborator

Summary

  • return the canonical flagged checksum for a successfully read empty database
  • preserve non-empty checksum results and partial checksums returned with read errors
  • cover the public helper contract and checksum-tracked deletion workflow

Fixes #88

Test Plan

  • go build ./...
  • go test -count=1 ./...
  • golangci-lint run --new-from-rev=origin/main
  • changed-source coverage: 97.5%
  • govulncheck ./...

@corylanou corylanou closed this Aug 12, 2026
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.

ChecksumReader returns bare 0 for an empty database instead of ChecksumFlag

1 participant