feat: rotate unsequenced client output safely

This commit is contained in:
2026-09-06 06:55:10 +00:00
parent fe9fadbb01
commit 4fc16bdbe7
5 changed files with 326 additions and 2 deletions
+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