Skip to content

fix: align client failure and saturation handling - #10

Merged
smiggleworth merged 1 commit into
mainfrom
fix/client-notification-overflow
Aug 25, 2026
Merged

fix: align client failure and saturation handling#10
smiggleworth merged 1 commit into
mainfrom
fix/client-notification-overflow

Conversation

@smiggleworth

Copy link
Copy Markdown
Contributor

Summary

  • keep Stream READ on its coded error envelope while decoding LAST and every other Stream operation as plain errors
  • configure detached callback queue capacity independently from request admission and callback concurrency
  • terminate KV, Notice, Queue, Lease, Schedule, and Stream callback registrations with typed AsyncHandlerOverflowError instead of silently dropping notifications
  • expose subscription completion and propagate overflow through managed Queue, Schedule, and Stream iterators while retaining RPC protocol backpressure
  • export Schedule ERR_BACKEND_ERROR (7010) and classify it as retryable for replay-safe operations

This is the Go parity companion to cntryl/fitz-ts#22.

Validation

  • go build ./...
  • go test ./... -timeout 60s
  • golangci-lint run
  • go test -count=1 -tags=integration ./test -timeout 10m
  • four-leg TCP/WebSocket and anonymous/valid-JWT conformance matrix

Copilot AI lite review requested due to automatic review settings August 25, 2026 14:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@smiggleworth
smiggleworth merged commit 34b9e4c into main Aug 25, 2026
2 checks passed
@smiggleworth
smiggleworth deleted the fix/client-notification-overflow branch August 25, 2026 14:53
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.

2 participants