Repository navigation
chore(deps): bump effect to 4.0.4 - #1449
Conversation
Bumps effect and every @effect/* package from 4.0.1 to 4.0.4 and @effect/language-service to 0.87.4. The effect patch is regenerated: the streamText decode-deferral hunks are re-anchored on 4.0.4, whose disableToolCallResolution path now also validates provider-executed tool calls under deferred tool-call validation. That check runs inside the deferred decode. The vitest and openrouter patches carry over unchanged.
Since effect 4.0.2 LanguageModel records gen_ai.output.type itself on the model-call span, so the span transformer no longer repeats it. The model-call span test still asserts the attribute.
effect 4.0.4 resolves colliding numeric bounds in place. Positive integer fields (Schema.Int with isGreaterThan(0)) now keep the safe-integer maximum the decoder already enforced, which 4.0.1 dropped. The v1 event schemas and the iOS OpenAPI document only gain those maximum keywords; nothing is removed.
Maple review🟢 Confidence 9/10 · safe to merge Bumps
What was checked
|
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
⛔ Files ignored due to path filters: 1
📒 Files selected for processing: 9
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
# Conflicts: # bun.lock # package.json
Maple review🟢 Confidence 8/10 · likely safe to merge Bumps
What was checked
|
What
effectand every@effect/*package 4.0.1 → 4.0.4 (catalog,overridesfor sql-d1/sql-sqlite-do,packages/dbsql-pg/sql-pglite),@effect/language-service^0.87.4.*@4.0.4.patch. No hunk was upstreamed. vitest and ai-openrouter carry over unchanged; in the effect patch the HttpApiBuilder, redacted and first three LanguageModel hunks applied at zero fuzz, and the threedeferDecodeFailurehunks were re-anchored by exact match. 4.0.4'sdisableToolCallResolutionpath also validates provider-executed calls when validation is deferred, so that check is folded into the deferred decode. Every patched file passesnode --check.genai-spans.tsstops settinggen_ai.output.type: Effect AI's LanguageModel records it itself since 4.0.2.Int+isGreaterThan(0)) gain"maximum": 9007199254740991besideexclusiveMinimum: 0. 4 additions in the v1 cloud-event/signal-projection schemas, 8 in the iOSopenapi.json, nothing removed. Matches what the decoder already enforced.Reviewed, nothing to change
gen_ai.provider.name, cache read/write tokens): Maple's readers already accept old and new names, and our own spans use the cache-included convention. One edge left alone: the read-time fallback inpackages/domain/src/gen-ai.tstreatsanthropicas cache-excluded, so an un-stamped 4.0.2+ Anthropic span would double count. Only affects spans that never passed the ingest stamp.McpServer.layerHttpRequestScopednot adopted: it only accepts the sessionlessv2026_07_28adapter, and current clients speakv2025_06_18, so the hand-rolled stateless transport stays.toolCallValidation: "deferred"can't be set from Maple:disableToolCallResolutionis only used inside@yielded/agent, which defers tool params its own way. Needs to land there.Crypto.randomUUIDv*signature change: no usages. Diffed the// =>doc examples between 4.0.1 and 4.0.4: only behavior change is zonedDateTime.add, unused here.Checked
bun install --frozen-lockfileschemas:check,ios:openapi:checkapps/cliunderCI=true bun test(exercises the vitest patch)Not checked yet
Full typecheck, lint and test suite (left to CI),
bun dev, iOS Swift build against the regeneratedopenapi.json.Need help on this PR? Tag
@codesmith-botwith what you need.