Repository navigation
fix(deps): move Effect to 4.1.4 - #416
Merged
Merged
Conversation
The catalog set (effect, @effect/platform-node, @effect/platform-node-shared, @effect/vitest) moves from 4.1.2 to 4.1.4 as one version, and undici under @effect/platform-node follows to 8.12.4. No source change was needed; the comments and prose that name the pin are restated. Behavior memhtml reaches that changes with this move: - memhtml-mcp exits 0 instead of 130 when its client closes stdin. - An MCP list request with a cursor the server never issued answers -32602 "Unknown cursor" instead of returning the full list. - With OTEL_EXPORTER_OTLP_ENDPOINT set, MCP request spans are renamed and re-keyed to mcp.* and gen_ai.* attributes, tool arguments are no longer exported, and successful spans carry status Unset instead of Ok. - memhtml head serve stops at once after SIGTERM when a client had sent an HTTP Upgrade request, instead of waiting the two-second grace.
This was referenced Nov 16, 2026
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.
What moves
effect,@effect/platform-node,@effect/platform-node-shared,@effect/vitest.undici8.12.3 -> 8.12.4 under@effect/platform-node, which asks for^8.12.4. Nothing else in the lockfile changes;wsstays at 8.22.1, and the docs site's ownundici8.12.3 (underunifont) stays where it is.Behavior changes memhtml reaches
Effect 4.1.3 changed behavior that memhtml reaches, and 4.1.4 keeps all but one of those changes. A user or operator moving from 4.1.2 to 4.1.4 can observe five things:
memhtml-mcpexits with code 0 instead of 130 when its client closes stdin. Anything that spawns the server and reads its exit code sees the new value. (#10475)tools/list,resources/list,resources/templates/listandprompts/listnow answer-32602 "Unknown cursor"; before, they ignored the cursor and returned the full list. memhtml never issues anextCursor, so a conforming client never sends one. (#10447)OTEL_EXPORTER_OTLP_ENDPOINTis set. A span such asMcpServer.@effect/mcp/2025-06-18/tools/callbecomestools/call memory_search, and its attributes move fromrpc.*,toolandparameterstomcp.*,gen_ai.*,jsonrpc.request.idandnetwork.transport. Tool arguments are no longer exported on the span. Dashboards or queries keyed on the old names need updating. (#10304)memhtml head servestops at once after SIGTERM when a local client had sent an HTTPUpgraderequest. Before, it waited the full two-second shutdown grace. memhtml's own client never sendsUpgrade, so this needs a foreign client on the socket. Replies are unchanged. (#10360)One 4.1.3 change does not carry over: 4.1.3 answered three malformed Skills requests with
-32601instead of-32602, and 4.1.4 restores-32602(#10540). Those replies are identical on 4.1.2 and 4.1.4.None of the other 4.1.4 entries is reached: they cover
HttpApi,effect/cli, the AI provider clients,SchemaRepresentationandTestClockinternals.Proofs
turbo run typecheckpasses, 35 of 35 tasks, 0 errors (tsc 7.0.2).tsc -b --forceand compared with a build ofmain: 418.jsand.d.tsfiles, 414 byte-identical. Three of the other four (apps/mcp/dist/server.js,tools.js,server.d.ts) differ only in the restated comment lines. The fourth,apps/mcp/dist/tools.d.ts, gains a third type argument (Tool.Execution) on the 15 tool types; that file is not part of the published bundle. No executable line differs.apps/mcpsuite passes 163 of 163.apps/clihead-server.test.tspasses 26 of 27 in a run with a long temp directory; the one failure is the socket-path-limit case, whose own precondition failed by one byte before any server code ran, and the file passes in the full gate.catalog.test.tspasses 4 of 4,packages/evalcorpus.test.ts26 of 26,packages/llmstructured.test.ts45 of 45. The full local gate (mise run check) passes 76 of 76 tasks on this head.mainbuild against this branch's build, same fixture store:tools/listis identical: 41,197 bytes, same sha256.initialize(9) and requests with bad header fields (8) are all identical.Upgraderequest: 2,027 ms before, 27 ms after.Restated sentences
apps/mcp/src/server.ts: two comments now name effect 4.1.4 (theinstructionsoption, the five protocol adapters).apps/mcp/src/tools.ts: one comment now names effect 4.1.4.docs/backlog.md: theinstructionsentry names the 4.1.4 pin and adds the 2026-11-16 probe.CLAUDE.md: the adapters sentence names 4.1.4. The "differs from recall" paragraph is reworded, not just renumbered:Schema.d.tschanged in 4.1.3 (it addsRationalandRationalFromStringand changes theisAnyOfandIsotypes), so the paragraph now says the claims it names were checked again against the installed 4.1.4, whereEffect.d.tsis byte-identical to 4.1.2's.Merge
This PR is left open for the maintainer. It compiles and the emitted code is unchanged, but it changes an exit code, one MCP error path and the exported telemetry, and those are a maintainer's call.