Skip to content

chore(effect): update effect to 4.0.0-beta.93 - #165

Merged
Makisuo merged 3 commits into
mainfrom
chore/effect-beta-93
Jul 3, 2026
Merged

chore(effect): update effect to 4.0.0-beta.93#165
Makisuo merged 3 commits into
mainfrom
chore/effect-beta-93

Conversation

@Makisuo

@Makisuo Makisuo commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Updates Effect from 4.0.0-beta.85 to 4.0.0-beta.93 (all patch-level changes; no majors). The .context/effect subtree reference source is refreshed first, then the workspace pins are bumped.

What changed

Subtree refresh (6ac4c9b09) — git subtree pull of the effect-smol effect@4.0.0-beta.93 tag (c74babd) into .context/effect, so the reference source matches the published npm version.

Version bump + fixes (41458ac22):

  • Bump effect, @effect/atom-react, @effect/platform-bun, @effect/vitest to beta.93 (root catalog + stray apps/scraper pin). @effect/language-service floats on ^.
  • Regenerated the bun patch (patches/effect@4.0.0-beta.93.patch): the old patch had two hunks — the workerd/miniflare clock fix (Date.now()-anchored hrtime origin) was upstreamed in beta.86 (PR #2464, verified identical in the shipped dist) so it's dropped; only the still-unpatched McpServer clientSessions injection remains (load-bearing for the KV-backed MCP session store in apps/api/src/mcp/app.ts).
  • UrlParams.makeUrlUrl.make in lib/effect-cloudflare/src/fetch.ts (renamed in beta.93, PR #2518).
  • Schema.Decoder was removed. The MCP tool-schema field/bound (apps/api/src/mcp/tools/{registry,types}.ts) now uses Schema.Codec<unknown, unknown, never, unknown> — the exact structural equivalent of the old Decoder<unknown, never>, and Top-compatible so toInputSchema/toJsonSchemaDocument still accept it. The decode-only domain test helper uses Schema.ConstraintDecoder (the lighter, non-Top decode-only successor introduced by the beta.86 Schema type-perf refactor).

Reviewer notes

  • The subtree pull lands as a merge/squash commit on the branch, consistent with prior refreshes.
  • The two Schema.Decoder replacements are intentionally different: the concrete schema field needs Codec (it's passed where a full Top is required), while a pure decode-only generic bound uses ConstraintDecoder.

Verification

  • bun typecheck — 24/24 tasks pass
  • bun run test — 18/18 tasks (query-engine 709, api 708, web 555, ingest 38)
  • Confirmed the patch applies to the installed effect and the clock fix is present upstream unpatched.

🤖 Generated with Claude Code


Open in Devin Review

Makisuo and others added 3 commits July 3, 2026 21:06
c74babd0a Version Packages (beta) (#2506)
2bc541501 Fix StructuralProto equality (#2519)
ba7e77e04 Move UrlParams.makeUrl to Url.make (#2518)
5713ee7ed accept UrlParams.Input in some UrlParams apis (#2505)
ceaffb8e5 render nested error causes in Tracer exception events (#2511)
00652fe95 Preserve content schema identifiers when emitting JSON Schema for `Schema.fromJsonString`, closes #2495 (#2512)
e11cccc7d ensure handler errors don't cause httpapi security middleware to fallback (#2507)
6c5816746 fix(httpapi): return 400 for malformed JSON request body (#2492)
a445fe526 Version Packages (beta) (#2502)
affdc1390 Fix excess property handling in schema-backed class constructors, closes #2499 (#2501)
04cda0309 Version Packages (beta) (#2486)
b135b2517 Fix `Schedule.andThenResult` to emit `self` outputs as `Failure` and `other` outputs as `Success`, closes #2497 (#2498)
aaa21a369 Fix string case conversion for numeric word segments (#2488)
3475ee6c2 fix RequestResolver interruption (#2485)
011ce634f Version Packages (beta) (#2484)
d237fdf72 Fix `Config.schema` so missing array values are treated as missing data (#2483)
13581e983 Version Packages (beta) (#2481)
7777e1540 Add custom errors to Effect.fromOption (#2479)
5376197ca render causes in OtlpTracer exception events (#2480)
b7d46ab7e Align Schema.Void with typescript behaviour (#2475)
46b3836f2 Version Packages (beta) (#2473)
fe1b2d53b Fix sqlite-do Durable Object transactions (#2217)
641295595 Additional connection options for MssqlClientConfig (#2397)
6cbbdf3a0 Fail with typed SqlError when sqlite-bun statement preparation throws (#2399)
7b8a54939 fix(ai-anthropic): emit null (not undefined) for caller toolId in non-streaming responses (#2450)
911f1b847 Rate limit adaptive (#2472)
8beeeea52 Scope unknown request tag failures to the request instead of the connection (#2457)
c306fcfeb Add isOpen method to Latch to query latch position (#2428)
a2e306a0d Version Packages (beta) (#2467)
12fcf35b9 Emit Schema.ConstraintDecoder in generated SSE clients (#2469)
5a0c1a4fa Expose source schema on schema wrappers (#2468)
1eea2ea37 Use URL.canParse for URL schema decoding (#2466)
a2f0f1735 Refactor schedule cookbook (#2465)
595bb5e42 Version Packages (beta) (#2447)
7dbec240d Strip response metadata from HTTP server span failures (#2454)
46b3e7994 do not use performance.timeOrigin and calculate origins lazily (#2464)
28b419639 Match NodeHttpServer layerConfig services (#2463)
0b5795a0a Add SQL valuesUnprepared (#2462)
108a9335f Fail RpcClient HTTP requests with a defect when the response closes early (#2461)
4a005d019 Preserve external span sampling in OpenTelemetry (#2451)
3e3a859ec Fix `Cron.next` skipping days when overflowing (#2455)
8800449a2 Add unused internal export lint rule (#2460)
d9171b6cd Clarify Redacted schema migration, closes #2456 (#2458)
489dfd430 Fix bundle resolver for package export subpaths (#2453)
6d0fda0d0 Remove the `keepDeclarations` option from `Schema.toCodecStringTree` (#2452)
d8c00a171 Fix Schema handling of encoded-side checks for container ASTs (#2449)
7e1f455fa Improve Schema type-level performance (#2442)
85b631701 Expose CLI environment to schemas (#2446)

git-subtree-dir: .context/effect
git-subtree-split: c74babd0ad2d96fa6759a16a3f014e3f8d0bdacb
Bump effect + @effect/{atom-react,platform-bun,vitest} from beta.85 to
beta.93 (subtree refreshed in the preceding commit).

- Regenerate the effect bun patch: drop the workerd/miniflare clock fix
  (upstreamed in beta.86, PR #2464) and keep only the still-unpatched
  McpServer `clientSessions` injection.
- fetch.ts: UrlParams.makeUrl -> Url.make (renamed in beta.93, PR #2518).
- MCP tool types + domain test: Schema.Decoder was removed; use
  Schema.Codec<unknown, unknown, never, unknown> for the concrete tool
  schema field/bound (Top-compatible) and Schema.ConstraintDecoder for
  the decode-only test helper.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@pullfrog

pullfrog Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Your LLM provider API key was rejected. Rotate the key in your provider dashboard, then update the matching GitHub Actions secret.

Update repo secret → · Model settings → · Setup docs → · Ask in Discord →

Pullfrog  | ⚠️ this action is pinned to a commit SHA, which freezes the cleanup step — switch to @v0 or keep the SHA fresh with Dependabot | Rerun failed job ➔View workflow run | via Pullfrog | Using Claude Opus𝕏

@devin-ai-integration devin-ai-integration Bot 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@Makisuo
Makisuo merged commit a8172e6 into main Jul 3, 2026
8 checks passed
@Makisuo
Makisuo deleted the chore/effect-beta-93 branch July 3, 2026 19:31
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.

1 participant