-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(client)!: remove default event iterator retry behavior #267
feat(client)!: remove default event iterator retry behavior #267
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThis pull request reorganizes the event iterator documentation and removes built-in auto-retry functionality from the client. The "Event Iterator Configuration" section is now renamed "SSE Like Behavior" with a simplified explanation that directs users to the separate Client Retry Plugin for automatic retries. In parallel, the StandardLink class and related functions in the event iterator modules have been streamlined by eliminating retry options and associated tests. Additionally, public exports and shared module exports have been updated to reflect these removals. Changes
Sequence Diagram(s)sequenceDiagram
participant C as Client
participant SL as StandardLink
participant EP as Event Processor
C->>SL: Initiate RPC call for event stream
SL->>EP: Fetch event stream (without auto-retry)
Note over SL: Auto-retry logic removed<br/>Use ClientRetryPlugin if needed
EP-->>SL: Return stream data
SL-->>C: Provide event stream response
Possibly related PRs
Poem
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (6)
💤 Files with no reviewable changes (1)
✅ Files skipped from review due to trivial changes (1)
🧰 Additional context used🧬 Code Definitions (1)packages/client/src/adapters/standard/link.ts (3)
🔇 Additional comments (7)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
More templates
@orpc/arktype
@orpc/client
@orpc/openapi
@orpc/openapi-client
@orpc/contract
@orpc/react-query
@orpc/server
@orpc/shared
@orpc/solid-query
@orpc/standard-server
@orpc/standard-server-fetch
@orpc/standard-server-node
@orpc/svelte-query
@orpc/valibot
@orpc/vue-colada
@orpc/vue-query
@orpc/zod
commit: |
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
Summary by CodeRabbit
Documentation
Refactor
Tests