Skip to content

fix(templates): update Effect to 4.0.6 for Alchemy infra - #1297

Merged
AmanVarshney01 merged 1 commit into
mainfrom
fix/effect-4.0.6
Oct 22, 2026
Merged

AmanVarshney01 merged 1 commit into
mainfrom
fix/effect-4.0.6

Conversation

@AmanVarshney01

@AmanVarshney01 AmanVarshney01 commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

Generated Alchemy infra packages (Prisma Compute, Cloudflare, Axiom) pin effect, @effect/platform-node and @effect/platform-bun to 4.0.5. @alchemy.run/frontend-frameworks@2.0.0-beta.83 depends on @effect/platform-node ^4.0.0, which resolves to 4.0.6 since 2026-10-22 and brings effect 4.0.6. The project then has two copies of effect, and alchemy.run.ts fails check-types:

alchemy.run.ts(55,3): error TS2345: Argument of type 'Effect<{ web: Output<string | undefined, never>; }, any, any>' is not assignable to parameter of type 'Effect<unknown, ConfigError, never>'.
  Property '[NodeInspectSymbol]' is missing ...

This moves all three pins to 4.0.6, the latest release. The failure shows up on main and on every open PR's prisma-react-router-web-npm sample (see #1295).

Verification

  • bun run check
  • BTS_BUILD_SAMPLE_FILTER=prisma-react-router-web-npm generated build: failed before, passes now

Summary by CodeRabbit

  • Chores
    • Updated the pinned versions of Effect and its Node and Bun platform packages from 4.0.5 to 4.0.6.

@alchemy.run/frontend-frameworks depends on @effect/platform-node ^4.0.0,
which now resolves to 4.0.6 and brings effect 4.0.6. With effect and the
platform packages pinned to 4.0.5, generated infra packages ended up with
two copies of effect and alchemy.run.ts failed to typecheck.
@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
create-better-t-stack-web Ready Ready Preview Oct 22, 2026 7:41pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T19:42:29.733393Z b893b7d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dcd5252a-a51b-4634-a965-ca9214334a0a
📥 Commits

Reviewing files that changed from the base of the PR and between f58be65 and b893b7d.

📒 Files selected for processing: 1
  • packages/template-generator/src/utils/add-deps.ts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

Walkthrough

The template generator updates the pinned versions of effect, @effect/platform-node, and @effect/platform-bun from 4.0.5 to 4.0.6.

Changes

Template dependency update

Layer / File(s) Summary
Update dependency pins
packages/template-generator/src/utils/add-deps.ts
The pinned versions of effect, @effect/platform-node, and @effect/platform-bun change from 4.0.5 to 4.0.6.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to b893b

Generated templates now align the Effect dependency versions, addressing the reported type-check mismatch.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: updating Effect to version 4.0.6 in generated templates for Alchemy infrastructure.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@AmanVarshney01
AmanVarshney01 merged commit 2d3fd04 into main Oct 22, 2026
11 checks passed
@AmanVarshney01
AmanVarshney01 deleted the fix/effect-4.0.6 branch October 22, 2026 19:50

This branch was successfully deployed

1 active deployment
Preview — b893b7d3 Deployed Oct 22, 2026 by vercel[bot]
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