Skip to content

refuse unencodable or unpersisted writes and count live sessions - #36

Merged
fabracht merged 1 commit into
mainfrom
stitch-hardening
Oct 15, 2026
Merged

fabracht merged 1 commit into
mainfrom
stitch-hardening

Conversation

@fabracht

Copy link
Copy Markdown
Contributor

local_write returns Result: an entity or id over 255 bytes is refused before it takes a sequence number, and a write is persisted before it is recorded, so a persist failure refuses it without leaving a hole or reusing a sequence. A received frame that fails to persist is not recorded (RecordOutcome::Unpersisted) and is pulled again. FramePersister append and load return errors; an unreadable log fails Store::open. session_count skips dropped sessions. Sessions trace Gap and Rejected outcomes. Breaking: local_write, Store::delete, invite and revoke now return Result; stitch-tasks propagates the errors.

@fabracht
fabracht merged commit fef99cf into main Oct 15, 2026
6 checks passed
@fabracht
fabracht deleted the stitch-hardening branch October 15, 2026 18:59
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