Skip to content

Version Packages - #582

Merged
mattiamanzati merged 1 commit into
mainfrom
changeset-release/main
Aug 10, 2026
Merged

Version Packages#582
mattiamanzati merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

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. NodeCouldBeStrictEffect now 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, and promiseInEffectSuccess no 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 tsc CLI mode without includeSuggestionsInTsc, 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:error or a wildcard), since directives can raise its severity and must be tracked for unusedDirective reporting. 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 effectInFailure and promiseInEffectSuccess rules walk every node of a file and query its flow type just to test whether it is a strict Effect type. The new TypeParser.NodeCouldBeStrictEffect prefilter 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

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 232f90e to 5a258ba Compare August 9, 2026 16:44
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 5a258ba to 8231c85 Compare August 9, 2026 18:40
@mattiamanzati
mattiamanzati merged commit 744423b into main Aug 10, 2026
6 checks passed
@mattiamanzati
mattiamanzati deleted the changeset-release/main branch August 10, 2026 06:22
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