Skip to content

Add tests for group-commit writer paths #94

Description

@kwsantiago

The group-commit Writer (src/writer.zig) added in feat/write-batching has no unit tests. Coverage to add:

  • submit() rejecting past MAX_QUEUE and the new MAX_QUEUE_BYTES budget, and freeing the dup'd copy on rejection
  • processBatch/applyJob batch logic driven without the writer thread (a drain seam)
  • Store.storeInTxn/deleteInTxn in-batch duplicate and replaceable-event ordering within a single txn
  • Subscriptions.sendTo write-guard bump/drop plus missing-conn no-op

Follow-up from the write-batching review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions