feat: add content signature xattr cache

This commit is contained in:
Samuel Cui
2026-08-31 21:17:41 +08:00
parent 4eecd3fe31
commit cc5248ea33
19 changed files with 1211 additions and 46 deletions
+2
View File
@@ -50,6 +50,8 @@ The working tree may already contain staged or unstaged changes. Preserve them a
- Persist retry state before considering a rewrite or hardlink operation complete.
- Preserve build-tagged behavior in `syscall_*`, `mmap/*`, and `cmd/acp-rewrite/file_*` files.
- Do not add concurrency unless it has explicit ownership, completion, and error semantics.
- Keep the ACP content-signature xattr a disposable size-and-mtime cache. Transfers always hash content, managed cache keys are not copied as ordinary xattrs, and bounded cache writers drain before the pipeline returns.
- Report signature-cache read and write failures as aggregate warnings without adding them to `WaitErr`.
- Add semantic regression tests for every behavior change.
## Verification