feat: rotate unsequenced client output safely

This commit is contained in:
cabbage committed 2026-09-06 06:55:10 +00:00
1 parent fe9fadbb01
commit 4fc16bdbe7
5 files changed
+326 -2

No files matched your search

+7
View File
@@ -33,6 +33,13 @@ type EventInput struct {
CreatedAt time.Time
}
const (
// These match the CommandEvent oneof field numbers, allowing the runtime to
// reconstruct the envelope without a second event-kind translation table.
EventKindOutput uint32 = 5
EventKindOutputTruncation uint32 = 10
)
type Event struct {
IssueUUID domain.UUID
LocalOrdinal uint64