Version Packages - #582
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 9, 2026 16:44
232f90e to
5a258ba
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 9, 2026 18:40
5a258ba to
8231c85
Compare
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@effect/tsgo@0.36.2
Patch Changes
8362acc: Extend the walker-rule prefilter to call expressions.
A call expression's type is its resolved signature's return type, and both the signature and that return type are already cached from the main check phase.
NodeCouldBeStrictEffectnow consults them for call nodes and skips the expensive flow-analysis re-check when the declared return type conclusively cannot be a strict Effect. Signature-less calls, optional chains, and every inconclusive return type stay conservative, andpromiseInEffectSuccessno longer computes a location type for calls only to discard it. Emitted diagnostics are unchanged; on a large Effect monorepo build this removes a further ~4.6% of wall time on top of the reference-node prefilter, bringing the total Effect diagnostics overhead versus a pristine tsgo build of the same commit down to ~17%.9020153: Skip diagnostic rules below the minimum visible severity before executing them.
In
tscCLI mode withoutincludeSuggestionsInTsc, suggestion- and message-severity diagnostics are dropped from the output after rules run. The rule runner now receives the minimum severity the caller can surface and skips such rules up front, avoiding their type-checker queries entirely. A rule below the threshold still runs when any directive in the file references it (for example// @effect-diagnostics ruleName:erroror a wildcard), since directives can raise its severity and must be tracked forunusedDirectivereporting. Emitted diagnostics are unchanged; on a large Effect monorepo build this removes roughly 1–2s of check time.257af25: Skip flow-analysis type queries for references that conclusively cannot be an Effect.
The
effectInFailureandpromiseInEffectSuccessrules walk every node of a file and query its flow type just to test whether it is a strict Effect type. The newTypeParser.NodeCouldBeStrictEffectprefilter inspects the referenced symbol's declared type first — flow narrowing can only refine the declared type, so a declared type that conclusively contains no possibly-Effect constituent (primitives, plain objects with a different type name, unions thereof) can never produce a strict Effect flow type, and the expensive query is skipped. The predicate is conservative:any/unknown, type parameters, conditionals, symbol-less types, and deep unions always fall through to the full query. Emitted diagnostics are unchanged; on a large Effect monorepo build this removes ~10% of build wall time (~2.7s of ~26.8s).@effect/tsgo-darwin-arm64@0.36.2
@effect/tsgo-darwin-x64@0.36.2
@effect/tsgo-linux-arm@0.36.2
@effect/tsgo-linux-arm64@0.36.2
@effect/tsgo-linux-x64@0.36.2
@effect/tsgo-win32-arm64@0.36.2
@effect/tsgo-win32-x64@0.36.2