chore: update Effect to 4.0 RC - #35
Merged
Merged
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0b2b252564
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
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.
Feature-ID: 0010-typescript-effect-v4-runtime
Design spec and semantic claim
Refreshes the frozen TypeScript, Bun, and Effect v4 runtime contract to the reviewed Effect 4.0.0-rc.108, @effect/tsgo 0.36.4, and Alchemy beta.72 surfaces without broadening the semantic claim.
User-visible preview
Repository checks and the control-room build use the RC-compatible Effect API and the declared effect-tsgo executable.
Semantic diff
Resolves @effect/tsgo from its package bin contract, updates exact provider/compiler identities, replaces removed Schema.UnknownFromJsonString calls with Schema.fromJsonString(Schema.Unknown), and preserves strict typed boundaries.
Checks run on this exact PR head
nix develop -c bun run check passed project validation, generated-view checks, Oxfmt, Oxlint, TypeScript with Effect diagnostics, commit policy, and 908 tests with 1 skip.
Evidence categories and artifacts
Installed package metadata and declarations establish current API identity; TypeScript diagnostics establish source compatibility; the full repository check supplies executable regression evidence.
Assumptions and unsupported claims
The checks do not prove absence of defects in Effect, TypeScript, Alchemy, Bun, Nix, or provider services. No production deployment was attempted.
Independent reviewer / counterexamples considered
Migration review checked removed Schema constructors, the changed @effect/tsgo bin layout, stale exact version assertions, and duplicate Effect runtime resolutions.
Deviations and next uncertainty
Effect 4 remains an RC and future upgrades still require fresh compiler, provider, and acceptance evidence.
Cleanup
Regenerated the lockfile and derived guidance, removed stale version identities, and retained no compatibility shim.