Repository navigation
feat: set RPC decode concurrency with Rpc.ParseOptions - #925
Merged
Merged
Conversation
Effect 4 ignores schema parseOptions annotations, so constructors no longer stamp unbounded concurrency onto Struct, Array, Record, and schema classes. Client and server RPC groups now carry DefaultParseOptions through Rpc.ParseOptions, after prefix and middleware. effect@4.0.6 is not on npm, so patches/effect@4.0.5.patch backports that annotation until it can be installed. Co-authored-by: Patrick Roza <42661+patroza@users.noreply.github.com>
@effect-app/cli
effect-app
@effect-app/eslint-codegen-model
@effect-app/eslint-shared-config
@effect-app/infra
@effect-app/vue
@effect-app/vue-components
commit: |
Co-authored-by: Patrick Roza <42661+patroza@users.noreply.github.com>
3b28bf686b Version Packages (#9197) 7e60c1ae62 Capitalize the first Unicode code point in String.capitalize (#9750) 3d84e19f8f Fix cluster shard release stalling on a defect restart (#9716) afa5da3c8a Fix multipart Content-Disposition filename decoding and parse errors (#9699) 7a8ce0098a feat: add native McpClient (#8862) 3e48f9104c Skip the async resource leak test on Bun (#9714) 6e6509e840 feat(sql-pg): add onAcquire hook to PgClient (#9738) 85e2aeee68 Add typed HTTP date and Retry-After header values to Headers (#9709) 5b7d2b5c90 fix(ai): preserve composed tool failure causes (#9741) e618f1050f Require a trusted proxy policy for forwarded headers (#9701) 4ec78b94ea Use the resolved PgClient connection for PgMigrator schema dumps (#9734) c8d26a4673 Fix Equivalence.combineAll consuming one-shot iterables after the first comparison (#9721) 8e9a15f50c test: cover the remaining untested Chunk exports (#9739) 8b185807bb Fix Schema.Tuple encoding leaving holes for omitted trailing optional elements (#9724) 5676a2ac5a Fix Fiber.runIn and Effect.forkIn hanging when the fiber closes its scope (#9729) 5b310286b8 Disable flaky MSSQL integration tests in CI (#9745) c6ee48cb43 docs(Record): document key argument passed to reduce callback (#9703) a90e133ed3 Restore missing node:http2 import in DenoHttpServer tests (#9747) c2552ec2e0 Fix Cause.pretty overflowing the stack on a cyclic error cause chain (#9727) 5739878ded Fix DateTime.formatIsoDate dropping the day for extended years (#9719) 99a4616264 feat(rpc): add opt-in request batching to the HTTP client protocol (#9656) 8d05e2861e Require Deno 2.9.3 for @effect/platform-deno to exclude HTTP/2 cancellation crashes (#9702) 9990b3977a Fix HttpApiClient and OpenApi keeping regex constraints in path params (#9726) 048e7c8712 Fix HttpClient.followRedirects dying on an invalid Location header (#9728) 392aa1cb27 Fix Schema.toFormatter throwing on symbol collections and reordering Chunks (#9720) 7f3d3dfbb7 feat(encoding): add Base64Url.encodePadded and a padding option to SchemaGetter.encodeBase64Url (#9718) ed4da351fb Wake cluster storage reads when an entity registers (#9732) db1046d1fa Encode HttpClientRequest.basicAuth credentials as UTF-8 (#9698) 28acdf3820 Fix zoneFromString rejecting GMT and accept compact UTC offsets (#9654) 66db624670 Add UserDirectories for resolving an application's directories (#8351) abcfc80218 Support Effects in vitest beforeAll and beforeEach hooks (#9675) d7a51002be Trim Bun and Deno HTTP client layerOptions tests (#9737) 688d30275f Publish only referenced `$defs` in MCP tool schemas (#8553) db130e6455 Support anchors and aliases inside YAML flow collections (#9652) 3da7c0aaba Trace SQL connection wait and sql-pg connects (#8676) 22bf7812aa fix(httpapi): reuse named schemas across response statuses (#6837) 97bfd84bb1 Support SQL Server in cluster SqlMessageStorage (#6441) 1121334ce6 fix(http): expose the original Web response from fetch client responses (#9673) 6ee26b16b5 fix(ai): interrupt Toolkit handlers on stream close and add opt-in PreliminaryBuffer (#8065) 6093cfbbb6 Guard AsyncResult equality against unrelated Equal values (#9743) d76a9411d5 Expose the underlying ClickHouse client (#9742) fa648ac4b4 fix(openapi-generator): honor explode=false for form query arrays (#8377) 3e1a035d9c Fix ClusterCron calculateNextRunFromPrevious not resuming after a lost run (#9677) 343a149fa7 docs: preserve middleware types when using Effect.fn (#8691) 2e8aae0080 feat(cli): allow Command.withExamples to derive examples from the command path (#9666) 024d7256e7 Support non-security cookie parameters in openapi-generator HttpClient output (#9695) 5af26f46cf test: cover the remaining BigInt exports (#9735) 268e09c94c fix(schema): preserve variants in Model.Class extend (#9668) 274f4a4dac fix(rpc): add Rpc.ParseOptions annotation for RPC codecs (#9665) 7a998d985f test: cover Option.fromUndefinedOr, fromNullOr, flatten, zipLeft, zipRight, composeK, toArray (#9736) e7162eae7f fix(openapi-generator): render integers as Schema.Int and only emit decodeError when used (#9694) 8727e5d2be Fix Stream.switchMap leaking scopes of inner streams replaced before they start (#9722) ad7497bbc1 Add opt-in terminal capability detection for the CLI (#8350) 5fa5fa5b9b fix(yaml): support multiline flow collections (#9700) 47487bffce Add typed Unix socket and TLS layers for Bun and Deno HTTP clients (#9704) f5ae27827a Fix ManagedRuntime interrupting requests that dispose it synchronously (#9723) 7e94505edf Fix PersistedQueue SQL Server deadlocks in offers and claims (#9715) ce13a4872e feat(ai): decode response parts without a toolkit (#9674) 6250d31d45 Fix NodeTerminal.readLine not echoing input or handling Ctrl+C on a TTY (#8408) 0bccc9c3dd Fix named-zone DateTime turning year zero and BCE dates into CE years (#9725) bc873ec495 Simplify JSON Schema annotation collection 6f6f45f480 Improve JSON Schema generation fallbacks 81fc8d9c78 Kill ClickHouse streamed queries that are not read to the end (#9712) bb49b9a15c Support HTTP/2 servers in NodeHttpServer (#9710) 0fae934a13 Destroy captured fiber AsyncResource after resuming (#9692) 84c8dc47b0 docs: explain followRedirects with FetchHttpClient (#9690) 47940c55c9 feat(cli): add Flag.withNegation and Flag.withoutNegation (#9650) 2395eeead2 Stop BunHttpServer interrupting upgraded WebSocket requests on close (#9676) f3bbbb448d Honor the Array.unionWith callback contract (#9696) 95752db5eb fix(openapi): pass custom schema annotations (#7340) b334ccf361 Add FileSystem.lstat support (#6428) ab5c1a8a35 fix(ai-openai): support safety_identifier and prompt_cache_retention request options (#9670) 225f2c6b8f fix(ai-openai): support prompt cache breakpoints on image and file input content (#9667) 5107bb6997 Handle Option from Number.parse in schema migration example (#6811) ca6d1cc5f8 Add Command.validate for rules across CLI flags (#9655) b53e8503d1 test: add file system test suite (#6555) c29ddd899c Add streaming request payload support to HttpApi (#9575) 25efaef0d8 fix(cluster): keep interrupts sent while a workflow run saves its Suspended reply (#9645) a9f0ca68aa fix(sql-pg): add acquireTimeout to bound the wait for a pooled connection (#9641) 64b5e39625 Keep agent-written changesets to one sentence (#9643) 055dd69c35 Update the release queue action (#9638) 8922816c99 Keep binary strings in openapi-generator httpapi JSON components (#9632) cff52c4a21 Start Deno SocketRunner test runners on ephemeral ports (#9637) cd2cdd5f75 Auto-rebase release branch pull requests in the release queue (#9635) fee3e10fd3 Let barrel codegen read module docs after triple-slash directives (#9633) c7072e4635 Memoize composed layers by identity (#9634) a4b38dde7f Match finite number strings in linear time (#9596) 415f0053eb Validate Schema.isBase64 / isBase64Url in linear time (#9593) 66ec7574d2 Fix cachedInvalidateWithTTL ignoring an invalidation issued while the effect is running (#9617) 22a84017e7 Fix Chunk.get throwing on a fractional index of a one-element chunk (#9611) 20e844c7ef Fix Config.schema dropping record keys for non-string key schemas (#9621) 1de10559e7 Fix Yaml block scalars rejecting tabs and dropping whitespace-only lines (#9608) c477a0a801 Fix Ini.parse dropping a trailing backslash in unquoted values (#9609) d9e2d12217 Fence SQL PersistedQueue settlements by acquisition (#9606) 2dda6cefc6 Fix Path.fromFileUrl throwing a URIError instead of failing with BadArgument (#9615) 70aad3ffe6 Fix quadratic Stream.concat chains that recurse through Stream.suspend (#9622) 0d50570bbf Fix Effect.repeat turning a Done failure from the repeated effect into a success (#9618) a9e66d8890 Fix Stream.retry slowing down with every retry (#9623) ee5c0d5f43 Fix quadratic Stream.zip when chunk sizes differ between sides (#9624) 1b740862e3 Keep typed SQL errors when SQLite rolls back a transaction itself (#9599) 30319d506c Retain an Effect atom's exposed success after asynchronous failure (#9607) 683ed2cb49 Preserve chat file bytes and URLs across JSON persistence and export (#9602) 25f29be77b Install runMain signal handlers before synchronous startup (#9601) 78d198818d Wait for replaced FiberMap and FiberHandle fibers during scope cleanup (#9603) a301f5d4ab fix(platform-deno): keep signal listeners until the main fiber exits (#9597) 8d52668533 Fix Yaml block scalar indentation picking up less indented comments (#9581) 59b63967c1 Fix DateTime.make rejecting lowercase z and gmt designators (#9582) 88bc68001c Fail SQL migrations with a typed MigrationError instead of a defect (#9598) fdb12dcd61 Fix stale refreshes renewing persisted request values (#9600) b72707c293 Correct Effect recovery and AbortSignal documentation (#9604) bbedfc71c0 Synchronize active durable race test on execution completion (#9579) 62e36b8323 Drive failure race test until execution completes (#9580) 41a1fe74e6 Read effect_cluster_entities on snapshot instead of a 1s loop (#9577) a3c56e5b5e Fix pre-response handlers accumulating across retries (#9569) feb6ce59a3 Add always-on per-type cluster mailbox size max gauge (#9578) a733eba9f6 Add SqlClient.BeginTransaction for per-transaction BEGIN statements (#9576) 5a2ed53238 Add per-entity cluster mailbox size metric and Metric series removal (#9572) 3a5e65e409 Fix request resolver caller context and document batching semantics (#9568) 9a680d6985 Add HTTP/1.1 upgrades to HttpClient, the Node server, and HttpApi (#9339) 9972b4ff2b Fix Node HTTP uploads ending when response headers arrive (#9566) b4a060b95a Fix RPC NDJSON media type and reject malformed frames (#9562) ab0f384887 Defer Node HTTP 100 Continue until request body consumption (#9564) 3934c0c618 Fix oversized buffered request bodies returning the wrong status (#9565) 84c34057ce Fix undeclared respondable errors in HttpApiBuilder (#9563) 5a2d19f60e Take the host header from the HTTP/2 authority in platform adapters (#9375) 2800a0910f Flatten redundant nested anyOf in JSON Schema output (#9549) d4425165ac Fix Bun streaming response cleanup after client abort (#9559) da14b1f18d Add opt-in typed reactivity keys (#9560) 9ae671adf3 Fix request scope leaks on early response stream cancellation (#9557) 44c8c1d1c6 Fix EmbeddingModel.embed batching callers with different contexts (#9552) 4b8a50db96 Report UTF-16 input to Xml.decode as Unsupported (#9531) 0b9842b76b Load HTTP API documentation assets lazily (#9548) b9f73f37c4 Fix Cron.prev skipping an occurrence earlier in the same second (#9539) 99e9bd98a3 Restore generic composition in Schema.toTaggedUnion (#9556) b02c1cde36 Fix Cause.prettyErrors dropping falsy error causes (#9540) 5521ca34cf ci: mitigate Tstyche registry timeouts (#9558) 9036440edc Fix unread HTTP response cleanup errors on Cloudflare Workers (#9547) 1f281878ef Fix HashMap.set keeping the old value when the new one is equal (#9536) 0b50cfc644 Fix TOML empty quoted keys being rejected (#9538) 76ec9120f4 Fix RequestResolver.withSpan ignoring options returned by an options function (#9541) d978cca029 Add TextDiff module for minimal edit scripts and unified diffs (#9434) 016354639a Add Cloudflare AI Gateway support (#9528) eddf94ac9e Refresh migration guidance for defect recovery and event log batches (#9555) 9ed2bf18da Fix RequestResolver.withCache dropping the wrapped resolver's preCheck (#9542) 4cddd3c41e Fix Struct parsers sharing output across reruns of a suspended Effect (#9494) ba2b00c065 EventLog: add EventRow for convergent row updates (#9523) 3a1e76a43a test(cluster): step the clock only until defect recovery completes (#9337) 41f08b75ab fix(effect): apply Hydration.hydrate entries immediately for atoms the registry already holds (#9518) 8215811d51 Migrate SQL notifications and invalidations to SqlClient.afterCommit (#9292) af2756dd1d Fix request registration before synchronous batch delays (#9439) 43e5e198d1 Retry EventLog remote replay batches that fail to decode or handle (#9526) 716f8dfa17 Fix Atom.Serializable JSON codec types (#9524) 561d2a1ddf Generate EventLog entry ids with a hybrid logical clock (#9521) f8bf7f4bcc Add skipInitialRun option for seeded effect atoms (#9522) 2fadc654aa Add streaming zip encoding and decoding (#9419) 8207d1e91e Add JsonArray encoding for streaming large JSON arrays (#9431) 97909b89b1 Fix dependency tracking for plain hydrated atoms (#9519) 0611a657f7 Add streaming XML decoding and encoding (#9420) 17abfbda91 Pin Deno CI to 2.9.6 to avoid fork teardown regression (#9525) 8fe2dcc213 EventLog: order conflicts by entry id across journals and server (#9520) 93abf02087 Fix RpcClient retaining requests that fail without a reply (#9460) 9ff1a73d99 Repeat stalled shard release warnings and add a releasing-shards gauge (#9513) 3314fc30c2 Apply defect precedence to typed-error recovery operators (#9516) dc923b847a Allow interruption while acquiring SQL transaction connections (#9517) ba4e07daec fix(platform-deno): answer requests when building the Response throws in DenoHttpServer (#9414) 29bee6fd4a fix(platform-node): send FormData request bodies from NodeHttpClient.layerUndici (#9413) 48102ac592 Fix retry classification for AI provider response decoding failures (#9430) 6e614e6feb Report the real scheme and an absolute originalUrl for server requests (#9415) 554731500e Speed up assignProperties with an Object.assign fast path (#9511) fed70de0df Add settled decision outcomes to preserve valid sibling answers (#9437) bcb3a86335 Warn about stalled forced shard releases (#9475) adc2dfa36c Use Effect.fnUntraced for Anthropic test helper (#9515) 447fdbf27a fix(ai-openrouter): send cache_control on assistant text and tool results (#9502) 7f823c10d2 Fix response framing for bodyless statuses and mismatched content-length (#9417) 41043e9f0d Enforce Effect.fnUntraced in tests (#9512) d1201f0425 Release NodeSink writables on upstream failure and interruption (#9402) 8e9616a2b6 fix(ai-anthropic): send cache_control on assistant content blocks (#9500) 916e70968a Add shared helpers for working with byte arrays (#9441) 73b3a6e3c3 Fix PubSub replay nodes keeping values alive until the next full GC (#9498) be026768ee Fix reused PubSub.takeUpTo taking fewer messages after replay (#9495) e77372a8a2 Pipeline event log remote write chunks (#9508) 1c70828474 Fix Iterable.dedupeAdjacent overflowing the stack on long runs (#9493) 28b293107d Fix NodeSink hanging after normal writable finish (#9429) 0317f202dd fix(platform-node): answer non-final statuses with a 500 in NodeHttpServer (#9412) a8086fa26a Clean up event log replay internals (#9507) 8a5507ba00 Fix snowflake id rounding in SQLite message storage (#9485) 5f8a6e5108 Fix unhandled ws errors when closing pending WebSocket handshakes (#9466) 73881c77dc Document how custom event journals decode EventLog payloads (#9465) 4577a28bcd Read nullable single-member allOf as nullable in OpenAPI 3.0 schemas (#9462) 61a31f4147 Reject effectful returns from synchronous Vitest properties (#9384) b487160e95 Correct v4 documentation and bound the production retry example (#9406) 679f956c4a Enforce Effect.fnUntraced for functions returning Effect.gen (#9506) 23460fad70 Fix persisted cache recovery after schema changes (#9398) 82648a21bf Return response id, model id and provider metadata from DecisionModel.decide (#9422) 2bc97faa0e Keep a leading BOM in Tar entry names (#9428) 1855f1d359 Preserve upstream errors in Channel.fromTransformStream (#9418) e33e867ef5 Report openrouter as the provider name of OpenRouterLanguageModel.model (#9421) 38288951f3 Remove stale @effect/tsgo 0.51.0 release-age exclusions (#9505) 26de86100c Avoid loading undici during Node HTTP startup (#9458) 294c72528a Update @effect/tsgo to 0.53.4 (#9504) 74532b6a3a Update repository dependencies (#9503) 89eaaf8581 Fix Socket.readerString corrupting characters split across frames (#9487) 631c5d6d9a Fix Stream.zipWithArray dropping leftovers when both sides have some (#9492) daac06f79a Fix Effect.callback keeping captured values alive until the next full GC (#9499) 41cf29b5d8 fix(platform-node): use native realpath on Windows (#9489) 02d7fc5830 EventLog: add forward and groupBatchCompaction for compaction that only drops entries (#9491) a808972626 Fix ConfigProvider module loading on Safari without regex lookbehind (#9490) d84ec3fab0 Preserve schema filter error paths with message annotations (#9409) 0c8b446709 EventJournal: track remote sources per entry instead of per remote (#9482) 8dbff2bde0 Fix Deno MSSQL fixture TLS compatibility (#9484) 6af3a47d5b Acknowledge event log writes and stop echoing them to the writer (#9477) b04191b294 Encrypt event log entries in batches (#9479) 84aeede040 Skip decrypting known remote entries in encrypted EventLog replay (#9478) 7282d5f1bc Add upload checkpoints and secondary indexes to SqlEventJournal (#9472) 3dd438810d Reduce per-entry overhead in EventLog remote replay (#9480) e8482cad96 Index unencrypted server conflict detection per batch (#9476) 77bbf16e50 Decode eventlog entries from validated fields (#9473) e04563dcd6 Speed up UUID formatting and cache event journal entry IDs (#9471) 5ae85fa8ac Index IndexedDB journal conflict lookups by event and primary key (#9474) 916f843622 Cache decoded conflict payloads within remote replay batches (#9470) 5a8e248154 Fix duplicate encrypted SQL event broadcasts (#9469) eaef09c11b Resume remote event log changes from the committed sequence (#9468) 7f32606baa Fix IndexedDB event journal upload checkpoints (#9457) 4d86d1b888 Start callback registration before the first stream pull (#9411) 6d8c8e2075 Fix GraphQL resolver batch limits for interleaved batch keys and URLs (#9401) afb5f326cc Flush Channel.decodeText at the end of the input (#9436) 25912db9d4 Preserve EventLog remote replay and compactor write order (#9393) 4b437bf464 Give finalizer and concurrent defects precedence over typed failures (#9433) 99e365d61a Prevent scoped forks from running after scope closure (#9395) 954067da7f Fix ClusterCron initial scheduling recovery (#9407) aac8d21911 Add EventLog.writeMany and monotonic entry ids (#9452) 60d2c25aa0 Fix metric reader cleanup after partial binding failure (#9389) 7c982281cf Fix effectify discarding synchronous throws after callbacks (#9403) c10335be12 Fix suspended cluster workflow scope cleanup (#9394) 658837c3b2 Preserve input order in concurrent Effect.filter and record Effect.all (#9400) fac2191196 Fix oversized rate limiter delay-mode accounting (#9390) f260830586 Avoid DevTools startup timeout with passive servers (#9410) 05c3409559 Replay remote EventLog batches in one journal callback and handler transaction (#9448) bb611522fc Restart seeded random sequences on each effect evaluation (#9385) d4f71bc425 Fix unordered stream mapping with infinite concurrency (#9383) d7987c78d5 Restrict dual JSDoc propagation to public export types (#9382) 8c23e46a82 Respect upstream demand in Stream.toReadableStream (#9396) c66241e791 Fix Stream atom mutation invalidation on unsuccessful termination (#9397) 0c477fe417 Propagate ScopedCache bulk cleanup defects (#9391) f9a7f056ba Fix TestClock warnings hidden by TestConsole (#9392) 5a13d9d1b7 fix(platform-node): answer requests when writeHead throws in NodeHttpServer (#9380) 06bc532b71 Fix singleton synchronization initialization during Sharding startup (#9443) 7711fe3d34 Fix ClickHouse Date parameter type inference (#9451) 8b40fbc93c Fix Resource.auto initial refresh scheduling (#9386) c6f9e4cbe6 Fix PubSub.takeBetween throwing on a large backlog (#9446) 915117b523 Fix silent 404s when a path parameter is longer than 100 characters (#9447) f0ccbb6917 Wait for in-progress disposal on overlapping runtime and web handler dispose (#9334) 4067e64287 Batch EventLog replay reactivity invalidations per remote batch (#9445) 88a33b4122 Speed up EventJournal timestamp decoding and memory import ordering (#9444) 4d003f90ca Answer CONNECT with 501 in the Deno and Bun HTTP servers (#9416) ee27718a02 Return typed errors for invalid bigint conversions (#9404) 3f3e119ad6 fix(testing): compare schema round trips with schema equivalence (#9379) 13fc07edeb Capture synchronous root schema callback throws as defects (#9318) 7c7b8eda54 Isolate Standard Schema adapter options per call (#9317) 4843d05d6f docs(persistence): explain multi-table store id restrictions (#9376) 739d3d1872 Answer fresh local cluster requests without a storage readback (#9336) c9a1e72c59 Fix fallback for invalid atom hydration (#9320) ae9628d7a3 Fix NodeSink settling on silent writable destruction (#9333) 3c4f88aa4d Block nested internal modules in package exports (#9326) 28813f53a5 Deduplicate reactive handlers across matching invalidation keys (#9325) e9749b04c1 Prevent stale atom hydration from replacing newer client values (#9319) d8918cbd0e docs: correct v4 behavior and stale API references (#9331) 19b63eb81b Fix disposal library references in published declarations (#9329) d5c1e5bd42 Fix RcMap owner shutdown discarding release defects (#9328) 2595d831f7 Defer Effect.fromOption error factories until execution (#9324) 931379911a Stop failed reactive queries from rerunning on invalidation (#9322) 74a759699a Preserve runtime-owned layers when injecting atom test layers (#9313) 5462ed7b3a Fix Cause serialization and schema error paths to use reasons (#9323) 0a7978ea8e Fix HTTP RPC cancellation before the first response (#9297) 4bdcc1f070 Accept SemVer.Input in range constructors and matching (#9260) 34ec4407a1 Fix logging an HTTP response locking its body (#9293) ad6901857e Run SqlClient callbacks after the outermost transaction commits (#9289) 1af11fda1b Fix AtomHttpApi query response mode inference (#9290) c53c194511 Fix CLI lexing of clustered short options with an inline value (#9287) 819d2e1a2b Fix OTEL_RESOURCE_ATTRIBUTES parsing dropping values with equals signs (#9278) f30db155b4 Map EPERM errno to PermissionDenied in Node and Deno error handlers (#9283) da91aae843 Fix WorkerRunner onError reading wrong property on ErrorEvent (#9280) e8b24ef951 Treat --=value as a plain value in the CLI lexer (#9285) 090923611b Handle large callback results in Stream.mapAccum (#9274) 463eca3609 Correct Number.nextPow2 at floating-point boundaries (#9270) eab7e6acfc Preserve Trie iterator progress (#9271) a706d73db8 Collect large chunks without exceeding argument limits (#9272) d45379064a Fix OpenRouter strict default for OpenAI-transformed response schemas (#9263) 383997a33f Give durable Sharding registration tests more timeout headroom (#9268) b15d6316ab Cache pnpm store on GitHub-hosted runners (#9269) 14db221f8f Fix Duration.fromInputUnsafe losing precision for large tuple and object inputs (#9258) b4378736a2 Refresh migration guidance for stat metadata, matching and OpenAI schemas (#9266) 8fbb39eb92 Fix cross-service AtomHttpApi and AtomRpc mutation collisions (#9267) 0dbbea65a9 Fix static directory index trailing-slash redirects (#9264) 7cccb93857 Fix nanosecond precision in decimal Duration strings (#9261) cc0090657e Add shard release duration timer (#9256) 51930c0683 Fix typed multipart errors for missing boundaries (#9262) e24cd76392 Fix NodeHttpServer ending a failed streamed response as if complete (#9255) 0386f88295 Fix duplicate workflow compensations after memory-engine replays (#9239) 4839c601bd fix(effect): Made catchIf NoInfer Refinement's first arg with generic Err param (#9252) fad975b13e change changeset to patch 191308bd0f feat(schema): add Schema.toCodecGoJson (#9245) 9a5331db94 Add Semantic Versioning types and range support (#9243) 4b96570ed2 Preserve literal member inference in Schema.Enum (#9170) f0e941ee2f Fix out-of-order unencrypted event-log replication (#9225) fdc8c19362 Use live deadlines for PostgreSQL fixture teardown (#9246) a299341742 Fix NodeStream hangs on premature readable closure (#9228) 9c960111de Fix Redis PersistedQueue data loss on lone-surrogate payloads (#9235) 7f504a35ed Fix ClickHouse migrator ledger creation (#9248) 7886b84765 Add JSON Schema custom annotation imports (#9247) 5a67e0b3a8 Prevent PGlite connection starvation in SQL runner storage (#9222) 425cedb580 Fix memory workflow completion after unsafe interruption (#9234) 00261cc12c Fix DevTools client reconnection after socket failures (#9226) 09ba1f5995 Fix cluster shards gauge after shard release (#9244) 12b2726651 Fix provider-nested OpenAI error metadata (#9242) 1e949935a1 Fix RPC connection defects failing synchronously started requests (#9232) e9c842bc29 Fix SQL persistence expiry checks for reused reads (#9240) 11bb31fec0 Preserve Web stream cancellation failures (#9191) c3983f4db2 Fix fractional Redis fixed-window rate limits (#9241) 5a3ebc0821 Fix absolute HTTP URLs in opaque-origin documents (#9203) bfb32a3cf5 Report Atom scope finalizer failures (#9190) ac68940f7e Fix descendant drain timing after slow child-process exit (#9238) 403298ac45 Fix in-memory workflow safe interruption on completion (#9237) da33572776 Fix remote SQL journal conflicts and failed-write persistence (#9233) 3ec8100c79 Fix Resource.auto refresh loop stopping after failure (#9230) a049d4ad25 Fix failed session-auth binding lookup caching (#9224) 8037a65f40 Fix undecodable event payloads stalling group compaction (#9227) 973d599a3e Fix OTLP attributes with integers outside the int64 range (#9199) 2f066a58e9 Fix OTLP JSON export writing NaN and Infinity as null (#9198) 1e7909beb0 feat(encoding): add streaming tar codec (#9148) bc07bd4e86 Bound PostgreSQL fixture teardown and retry interrupted waits (#9188) a5e215529f Bound Node PostgreSQL fixture teardown waits (#9189) git-subtree-dir: repos/effect git-subtree-split: 3b28bf686bf26e9700edd39c025aff2744dc5303
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RPC client and server groups now set
Rpc.ParseOptionstoDefaultParseOptions, so payload and response encode/decode use that concurrency (unbounded unlessSCHEMA_CONCURRENCYis set). The annotation is applied afterprefixandmiddleware.Schema constructors no longer stamp a
parseOptionsconcurrency annotation. Effect 4 does not read that annotation during parse.decodeEffectConcurrentlyis unchanged for call sites that pass parse options themselves.Tests check that constructors and
mapFieldsresults have noparseOptions, that array decode stays sequential unless options are passed, that the client factory andannotateRpcParseOptionsattachDefaultParseOptions, and that an RPC server with the annotation batchesEffect.requestcalls into one resolver batch.Effect dependencies are on 4.0.6, which includes
Rpc.ParseOptions. The temporaryeffect@4.0.5patch is removed. Peers requireeffect@^4.0.6.@effect/language-servicestays at 0.87.5 and@effect/tsgoat 0.56.0; those are already the latest releases.repos/effectis synced toeffect@4.0.6.opened by patroza in chat thread Discord · Discord · T3
Need help on this PR? Tag
@codesmith-botwith what you need.