Skip to content

AVA1 1.0.10: read-back of a block written twice, unknown job flags refused - #15

Merged
phantomptr merged 1 commit into
mainfrom
audit-1.0.10
Nov 13, 2026
Merged

phantomptr merged 1 commit into
mainfrom
audit-1.0.10

Conversation

@phantomptr

Copy link
Copy Markdown
Owner

Fixes from a review of the code added since 1.0.7 (the read-back in 1.0.8 and 1.0.9). Nothing changes on the wire format, on disk or in the public API.

  • C read-back: a duplicate chunk whose write was recorded while the batch that first made its bytes durable was still running was read back before its own batch synced it, and the commit trusted that read. A batch that makes bytes durable a second time now voids what was read back of them (sync_batch). New test a_group_written_again_during_its_first_batch_is_read_back_again fails without the fix (the file commits with the changed byte).
  • Rust receiver: a JobOpen with a flag it does not know is refused with ERR_PROTOCOL (SPEC.md §11.8), upload and download. New test a_host_refuses_job_flags_it_does_not_know.
  • docs/c-library.md mentions AVA1_CAP_READBACK.
  • The Rust tests remove their temp folders at exit.
  • Version 1.0.10 and its changelog section.

make check passes locally (799 tests).

🤖 Generated with Claude Code

https://claude.ai/code/session_01GtiJiNRXWEyWSDzri99udE

…fused

C: a duplicate chunk recorded while the batch that first made its bytes durable
was still running was read back before its own batch synced it, and the commit
trusted that read. A batch that makes bytes durable a second time now voids
what was read back of them.

Rust: a JobOpen with a flag the receiver does not know is refused with
ERR_PROTOCOL (SPEC.md 11.8), as the C node does.

Also: docs for AVA1_CAP_READBACK, the Rust tests remove their temp folders at
exit.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiNRXWEyWSDzri99udE
@phantomptr
phantomptr merged commit 80fe957 into main Nov 13, 2026
13 checks passed
@phantomptr
phantomptr deleted the audit-1.0.10 branch November 13, 2026 13:39
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