Skip to content

fix(apply): honor checksum-free files - #91

Merged
corylanou merged 1 commit into
mainfrom
issue-82-ltx-apply-rejects-nochecksum-files-cannot-consume-litestream
Aug 12, 2026
Merged

fix(apply): honor checksum-free files#91
corylanou merged 1 commit into
mainfrom
issue-82-ltx-apply-rejects-nochecksum-files-cannot-consume-litestream

Conversation

@corylanou

Copy link
Copy Markdown
Collaborator

Summary

Test Plan

  • go test ./... -count=1
  • go test -race ./... -count=1
  • go vet ./...
  • go build ./cmd/ltx

Fixes #82
Fixes #86

Skip checksum comparisons for NoChecksum files and pre-apply
validation for snapshots.

Truncate the destination to the committed database size after file
integrity verification so shrinking applies cannot retain stale pages.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e74d80243a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread cmd/ltx/apply.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants