Skip to content

Document the --fast skip contract - #3

Merged
shaneburrell merged 2 commits into
mainfrom
lab/v0.1.6-fast-contract
Aug 30, 2026
Merged

shaneburrell merged 2 commits into
mainfrom
lab/v0.1.6-fast-contract

Conversation

@shaneburrell

Copy link
Copy Markdown
Owner

Summary

  • Test that --fast skips a same-size, same-mtime in-place edit and leaves the drifted bytes in place.
  • Test that a destination hash failure is reported over the protocol, not treated as a skip.
  • README: run verify after a --fast resync.
  • e2e-live covers the same --fast hole on live sshd.

Test plan

  • go test ./internal/receiver -run Fast
  • go test ./internal/protocol -run DestUnhashable
  • go test ./...
  • ./scripts/e2e-live.sh on quikagent-lab
  • CI green

Shane Burrell added 2 commits August 29, 2026 22:51
…wire.

An in-place edit that keeps size and mtime is skipped on purpose; verify
still fails, and a non-fast sync repairs it.
Python's second-resolution utime made --fast rehash, so the skip
assertion failed on the lab VM even though the contract is intact.
@shaneburrell
shaneburrell merged commit f2b69f7 into main Aug 30, 2026
11 checks passed
@shaneburrell
shaneburrell deleted the lab/v0.1.6-fast-contract branch August 30, 2026 02:56
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.

1 participant