Branch issue/7-restorable-id-sequences targeting main. Summary, tests and the documented contracts are in the commit message and the issue comment.
Closes #7.
Branch `issue/7-restorable-id-sequences` targeting `main`. Summary, tests and the documented contracts are in the commit message and the issue comment.
- IdSequence<Tag, Rep> is per-instance, copyable and restorable, so two
worlds in one process allocate independently and a saved high-water
mark replays exactly.
- next()/next_batch() check exhaustion before mutating; failed requests
leave the sequence and application records untouched. Batches are
all-or-nothing.
- High-water only moves forward: erased records keep their ids retired.
- Fixed-width Rep (default uint64_t) plus an explicit exhausted flag make
saved state canonical and portable; restore() rejects impossible state.
- 10 standalone tests cover independence, erase/restore, copy replay,
atomic batches, exhaustion, final-boundary batches and invalid state.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #7.
Branch
issue/7-restorable-id-sequencestargetingmain. Summary, tests and the documented contracts are in the commit message and the issue comment.