Repository navigation
chore(deps): upgrade Effect to 4.1.0 - #1956
Conversation
Bump effect and every @effect/* package to 4.1.0, @yielded/agent to beta.191 and foldkit to 0.170 (its packages peer on effect ~4.1.0). Patches are regenerated against the 4.1.0 tarballs. The HttpApiClient NoInfer<PayloadR> hunk is upstream now and is dropped. effect 4.1 replaced effect/Crypto with effect/crypto/*, and alchemy beta.84 still imports the old module, so every test or command that loads alchemy failed at import. The alchemy patch ports the unreleased upstream fix (alchemy-run/alchemy#2754) to lib/ and src/, since Bun resolves alchemy's source. Drop it once a newer alchemy is released. The OpenRouter provider now rejects a static tool whose parameters render as an untyped schema, so the Llm test tool uses Tool.make's default empty parameters.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 48 minutes. View limit details
Walkthrough
Merge Risk:
|
Maple review🟢 Confidence 9/10 · safe to merge Pins
Before merge
What was checked
|
One settle tick before each clock adjustment raced the gzip that send runs on the libuv pool. On a loaded machine the clock moved before the request timeout was armed, so the stalled-gateway test hung until its 5s budget ran out.
🍁 Maple PR previewNote Preview resources were removed when this pull request closed. Final commit |
Maple review🟢 Confidence 10/10 · safe to merge Bumps Effect and every
What was checked
|
Upgrades
effectand every@effect/*package from 4.0.6 to 4.1.0.What changed
effectand all@effect/*packages to 4.1.0.@yielded/agentgoes to beta.191, its first release that supports effect 4.1. The foldkit packages move to 0.170 / 0.29 / 0.15, which requireeffect ~4.1.0.node --check. TheHttpApiClientNoInfer<PayloadR>hunk is now upstream, so it is dropped.effect/Cryptowitheffect/crypto/*, and alchemy 2.0.0-beta.84 still imports the old module. As a result, everything that loads alchemy failed at import: most api/backend/infra/alerting test files and MCP tool registration, which returned 503. The patch ports the merged but unreleased upstream fix (fix: support effect 4.1 alchemy-run/alchemy#2754) to bothlib/andsrc/, because Bun resolves alchemy's TypeScript source. Delete it when a newer alchemy is released.Schema.Struct({})). TheLlm.test.tsfixture now usesTool.make's default empty parameters. Production MCP tools are built withTool.dynamicfrom normalized JSON Schema and are not affected.Verification
bun typecheckpasses (52/52) andbun run lintpasses on the 4.1.0 pins.apps/aimcp/app.test.tsandplatform/Llm.test.ts,apps/alertingscheduled.test.ts, backendAlertsService.test.ts, api v2alerts.http.test.ts.bun install --frozen-lockfilemakes no changes.Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit