Skip to content

chore(deps): bump @effect/tsgo from 0.68.1 to 0.73.2 in the typescript group across 1 directory - #1381

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-65e6097ca5
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-65e6097ca5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the typescript group with 1 update in the / directory: @effect/tsgo.

Updates @effect/tsgo from 0.68.1 to 0.73.2

Release notes

Sourced from @​effect/tsgo's releases.

@​effect/tsgo@​0.73.2

Patch Changes

  • b8ea08c: Fix the intermittent win32-x64 tsrs release build failure "malformed instrumentation profile data: not enough space for another header" / "no profile can be merged". tsrs-test's conformance training runs in many worker processes that all write one suite-%m.profraw through LLVM's online profile merging, which on Windows occasionally leaves the file truncated, and llvm-profdata merge then rejects the whole merge. The release build now checks every raw profile with llvm-profdata show after training and, when one is malformed, runs the training again from fresh profiles (up to 3 attempts) instead of failing the job.

@​effect/tsgo-linux-arm@​0.73.2

No release notes provided.

@​effect/tsgo@​0.70.0

Minor Changes

  • 9ada5da: Add the flatMapProvideServiceToProvideServiceEffect suggestion in style. An Effect.flatMap (or Effect.andThen given a callback) whose callback only forwards its parameter to Effect.provideService is a manual Effect.provideServiceEffect. The rule reports it in every spelling: pipeable, data-first, pipe(...) and curried, on both the outer flatMap and the inner provideService, and inside Effect.gen / Effect.fn bodies.

    makeConnection.pipe(Effect.flatMap((conn) => Effect.provideService(program, Database, conn))) // reported
    Effect.provideServiceEffect(program, Database, makeConnection)                                // ok

    A quick fix rewrites the expression to Effect.provideServiceEffect(self, Key, acquire) and keeps any later pipe steps: Effect.suspend(() => step(s)).pipe(Effect.flatMap((meta) => Effect.provideService(effect, Key, meta)), Effect.map(f)) becomes Effect.provideServiceEffect(effect, Key, Effect.suspend(() => step(s))).pipe(Effect.map(f)).

    The callback is not reported when it does anything else: when the parameter appears outside the service argument (in the program, in any earlier step of the program, or in the key), when the program or key uses something the callback binds (the name of a named function expression, or a function-expression callback's own this, super, new.target or arguments, plain or as shorthand { arguments }), when the service argument is not the bare parameter, when steps follow provideService, when the acquired value's type is not assignable to the key's service type (for example through a (conn: any) parameter), or when the flatMap result type differs from the provideServiceEffect one (a return-type annotation on the callback or explicit type arguments that widen it, or explicit type arguments on provideService), since code after it may rely on that type. After the fix, the program expression is evaluated once when the expression is built rather than on every run of the callback. The Effect.gen form (const p = yield* acquire; return yield* Effect.provideService(self, Key, p)) is deliberately not reported. On Effect v3, data-first Effect.andThen(acquire, callback) is not reported, since its overloads do not form a dual. The rule supports Effect v3 and v4.

    Piping-flow fixes can now build an expression for a flow prefix with PipingFlowPrefixExpression, including prefixes that end inside a .pipe(...) or pipe(...) call.

  • 50c28e5: Add the forLoopPushToForEach diagnostic (style, off by default; enable it with "forLoopPushToForEach": "suggestion") and quickfix. Inside an Effect generator, a for (const x of iterable) loop whose only statement is acc.push(yield* effect), with acc a const acc = [] declared just before the loop, is reported. The fix replaces it with Effect.forEach. The fix is not offered when the accumulator is mutated after the loop, or when the loop binding or the yielded expression contains a yield of the generator. The callback is passed directly only when it is a plain single-parameter function applied to the loop variable, whether as f(x), pipe(x, f) or x.pipe(f); otherwise an arrow is kept.

    // before
    const results = []
    for (const item of items) {
      results.push(yield* processItem(item))
    }
    // after
    const results = yield* Effect.forEach(items, processItem)

Patch Changes

  • 75a36b2: Update the TypeScript next tag to typescript@next, which ships typescript-go commit 6bdcb54d23f41bc7098c1f3488ac599c75b852ca, update the TypeScript beta tag to typescript@beta, and update the TypeScript latest tag to typescript@latest. Refresh the Oxlint configuration schema from the selected package.

  • 9ada5da: manualMetricTapToTrack now decides more precisely whether a function-expression callback can become an arrow mapper. It looks for the callback's own this, super, new.target, arguments and name the way the compiler resolves them, through the new typeparser helper UsesFunctionOwnBindings, which flatMapProvideServiceToProvideServiceEffect now uses too.

    The rule now reports callbacks it used to skip, since none of these read a binding of the callback:

    Effect.tap(function(size) { return Metric.update(responseSize, size + sizes.arguments) })       // a property named `arguments`
    Effect.tap(function(size) { return Metric.update(responseSize, size + import.meta.url.length) }) // `import.meta`
    Effect.tap(function(size) {                                                                     // a class that uses its own `this` and `arguments`
      return Metric.update(responseSize, size + new (class { readonly n = this; m() { return arguments.length } })().m())
    })

... (truncated)

Changelog

Sourced from @​effect/tsgo's changelog.

0.73.2

Patch Changes

  • b8ea08c: Fix the intermittent win32-x64 tsrs release build failure "malformed instrumentation profile data: not enough space for another header" / "no profile can be merged". tsrs-test's conformance training runs in many worker processes that all write one suite-%m.profraw through LLVM's online profile merging, which on Windows occasionally leaves the file truncated, and llvm-profdata merge then rejects the whole merge. The release build now checks every raw profile with llvm-profdata show after training and, when one is malformed, runs the training again from fresh profiles (up to 3 attempts) instead of failing the job.

0.73.1

Patch Changes

  • cd72e0a: Fix the tsrs release build failing to fetch BOLT: LLVM's release tarballs are compressed with a 1 GiB zstd window, larger than zstd's default 128 MiB decode limit, so tar --zstd aborted with "Frame requires too much memory for decoding". The archive is now decompressed with zstd -d --long=30, as tsrs's own release workflow does.

0.73.0

Minor Changes

  • d7d4986: Add the flatMapMapToZipWith style diagnostic. Effect.flatMap(self, (a) => Effect.map(that, (b) => f(a, b))), where that does not use a, is reported, with a quick fix to Effect.zipWith(self, that, (a, b) => f(a, b)), or to Effect.zip(self, that) when the combiner is exactly [a, b]:

    // before
    const greeting = Effect.flatMap(getUser, (user) =>
      Effect.map(getConfig, (config) => `${user.name} (${config.locale})`))
    // after
    const greeting = Effect.zipWith(getUser, getConfig, (user, config) => ${user.name} (${config.locale}))

    The rule stays silent when the mapper returns the outer value unchanged (Effect.map(that, () => a)), because flatMapToTap covers that. The fix is offered only when that can be evaluated eagerly without changing behavior (a const declared earlier, or a const exported by a package such as Clock.currentTimeMillis).

Patch Changes

  • ebe5f55: Update the TypeScript next tag to typescript@next, which ships typescript-go commit e086ad3b8205668290a81baed890c536047003db, and update tsrs to [email protected]. The tsconfig schema now requires path in project references.

0.72.0

Minor Changes

  • ed173b0: Run the Effect rules on Vite+ 1.7.0, which lints with its own tsrs instead of oxlint-tsgolint (#1062).

    • effect-tsgo setup writes effect-tsgo patch --typescript --oxlint --tsrs for a project whose vite-plus is 1.7.0 or later, so that the tsrs Vite+ lints with is Effect-patched and plain vp lint and vp check report the Effect rules:

      {
        "scripts": {
          "prepare": "effect-tsgo patch --typescript --oxlint --tsrs"
        }
      }
    • effect-tsgo vp and effect-tsgo oxlint run the type-aware rules on the Effect-patched build of the installed tsrs when oxlint-tsgolint is not installed, with no --tsrs-lint flag, and set TSRS_BINARY to that build, so every tsrs started under them through tsrs's launcher, such as vp exec tsrs, is the patched one:

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 11, 2026
@github-actions github-actions Bot added area:ci CI, shared testing infrastructure, development scripts and tooling size:s Under 100 changed lines labels Nov 11, 2026
@dependabot dependabot Bot changed the title chore(deps): Bump @effect/tsgo from 0.62.0 to 0.67.5 in the typescript group chore(deps): Bump @effect/tsgo from 0.62.0 to 0.67.5 in the typescript group across 1 directory Nov 11, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-65e6097ca5 branch 4 times, most recently from 75b3bea to 08c8479 Compare November 12, 2026 18:02
@dependabot dependabot Bot changed the title chore(deps): Bump @effect/tsgo from 0.62.0 to 0.67.5 in the typescript group across 1 directory build(deps): Bump @effect/tsgo from 0.62.0 to 0.67.5 in the typescript group across 1 directory Nov 12, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-65e6097ca5 branch 2 times, most recently from ac32429 to 8a967cb Compare November 13, 2026 00:19
@dependabot dependabot Bot changed the title build(deps): Bump @effect/tsgo from 0.62.0 to 0.67.5 in the typescript group across 1 directory build(deps): Bump @effect/tsgo from 0.62.0 to 0.68.0 in the typescript group across 1 directory Nov 14, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-65e6097ca5 branch from 8a967cb to 5780da0 Compare November 14, 2026 23:43
@dependabot dependabot Bot changed the title build(deps): Bump @effect/tsgo from 0.62.0 to 0.68.0 in the typescript group across 1 directory build(deps): Bump @effect/tsgo from 0.62.0 to 0.68.1 in the typescript group across 1 directory Nov 15, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-65e6097ca5 branch from 5780da0 to 46bc4e6 Compare November 15, 2026 18:06
@dependabot dependabot Bot changed the title build(deps): Bump @effect/tsgo from 0.62.0 to 0.68.1 in the typescript group across 1 directory build(deps): Bump @effect/tsgo from 0.62.0 to 0.69.0 in the typescript group across 1 directory Nov 18, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-65e6097ca5 branch from 46bc4e6 to 3e1b60a Compare November 18, 2026 11:52
@dependabot dependabot Bot changed the title build(deps): Bump @effect/tsgo from 0.62.0 to 0.69.0 in the typescript group across 1 directory chore(deps): Bump @effect/tsgo from 0.62.0 to 0.69.0 in the typescript group across 1 directory Nov 18, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-65e6097ca5 branch 2 times, most recently from 7dade34 to 7c70212 Compare November 18, 2026 21:17
allisonmahmood added a commit that referenced this pull request Nov 18, 2026
## What changed

Builds were stuck on the Effect checker `@effect/tsgo` 0.62.0. Newer
releases renamed the rule that keeps `JSON.parse` and `JSON.stringify`
out of Effect code, and the old name failed every build. This moves the
checker to 0.68.1 and renames the rule, so it checks exactly what it
checked before. Nothing changes for people using Patchy.

Supersedes #1381, whose lint, release-tarball, server-image, cli-smoke,
tier2-smoke and browser jobs all failed on the same build error.

## Look at

**The renamed rule.** `@effect/tsgo` split `preferSchemaOverJson` into
`globalJsonInEffect`, which checks JSON inside Effect code as the old
rule did, and `globalJson`, which checks the rest of a file. With the
old name still in `tsconfig.base.json`, every `effect-tsgo tsc` program
fails with exit code 2. From #1381's `lint` job:

```
warning TS377158: Effect diagnostic rule `preferSchemaOverJson` is deprecated; use `globalJsonInEffect` or `globalJson` instead. effect(deprecatedRuleName)
@patchy/sql#build:  ERROR  command (packages/sql) pnpm run build exited (2)
```

Both tsconfigs now use `globalJsonInEffect` (`error` in the base config,
`off` for tests, as before). `globalJson` stays at its default, off: it
would flag 137 places in package source, in code the rule set has never
checked. Turning it on is a separate decision.

**The per-file directives.** In a `// @effect-diagnostics` directive,
the old name no longer turns anything off. With only the tsconfigs
renamed, `packages/execution` fails on 0.68.1:

```
src/inspection.ts(87,15): error TS377157: This Effect code uses `JSON.stringify`, which throws instead of failing with a typed error. [...] effect(globalJsonInEffect)
```

Renaming `preferSchemaOverJson:off` to `globalJsonInEffect:off` in all
twelve directives fixes it, and each keeps its written reason. No other
diagnostic is new, and no rule is turned off.

**The compiled output doesn't change.** Each package with an
`effect-tsgo tsc` build was compiled with both the 0.62.0 and the 0.68.1
binaries into separate output folders. The 1,756 files across 20
packages are byte-identical, and the only thing 0.62.0 reports is that
it doesn't know the new rule name.

## How it was verified

- `pnpm typecheck --force` on 0.68.1 (every package build,
`typecheck:tests`, infra, the dev runner and the CLI): 25 of 25 tasks
pass. Before the directive rename, `@patchy/execution#build` failed as
shown above.
- `pnpm verify` on a shared machine under heavy load (load average 66 to
74): format, lint, typecheck, synth, postgres-concurrency and
tier2-smoke pass, and every package builds inside cli-smoke and browser.
The remaining failures are timeouts, or come from that shell's `node`
being a system Node with no npm beside it (`install`, `cli-smoke`'s
install line, `install.test.ts`). Neither can come from a change whose
compiled output is byte-identical. Reruns: `install.test.ts` passes 9 of
9 with the pinned Node 24 first on `PATH`. Of the 15 test files that
timed out, 9 passed on a batch rerun, and the other 6 each passed on
their own. With Node 24 first on `PATH`, `test:packed-cli-e2e`,
`test:packed-preact-e2e` and `test:packed-install-e2e` all pass.
- `pnpm install --frozen-lockfile` accepts the lockfile, which changes
only the `@effect/tsgo` entries.

TypeScript stays at 7.0.2. Every checker from 0.62.0 to 0.68.1 supports
`7.0.2`, `7.1.0-beta` and one `7.1.0-dev` nightly, and 7.0.2 is the
newest stable release. 0.68.1 is the newest checker that pnpm's one-day
`minimumReleaseAge` allows. It adds only quick-fix and `--tsrs-lint`
changes on top of 0.68.0.

## Release impact

- [ ] **Breaking** — requires action from anyone already running this
- [x] **Not breaking** — no action required

A dev dependency and compile-time rule names only. The emitted
JavaScript and declarations are byte-identical, and `typescript` and
Effect don't move.

- **What does a revert leave behind?** Nothing. It puts back the old
checker and the old rule name.
- **Does the release before it still work with that?** Yes. What ships
is the same code.

Made by Claude Opus 5.5 in T3 Code via Claude Code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
@dependabot dependabot Bot changed the title chore(deps): Bump @effect/tsgo from 0.62.0 to 0.69.0 in the typescript group across 1 directory chore(deps): Bump @effect/tsgo from 0.68.1 to 0.69.0 in the typescript group across 1 directory Nov 18, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-65e6097ca5 branch 4 times, most recently from 59ae44e to 5aa1d4e Compare November 20, 2026 01:25
@dependabot dependabot Bot changed the title chore(deps): Bump @effect/tsgo from 0.68.1 to 0.69.0 in the typescript group across 1 directory chore(deps): Bump @effect/tsgo from 0.68.1 to 0.70.0 in the typescript group across 1 directory Nov 20, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-65e6097ca5 branch from 5aa1d4e to d998072 Compare November 20, 2026 02:16
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-65e6097ca5 branch 2 times, most recently from c8e71e5 to 9bd45cc Compare November 22, 2026 13:09
@dependabot dependabot Bot changed the title chore(deps): Bump @effect/tsgo from 0.68.1 to 0.70.0 in the typescript group across 1 directory chore(deps): bump @effect/tsgo from 0.68.1 to 0.73.2 in the typescript group across 1 directory Nov 23, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-65e6097ca5 branch 3 times, most recently from a719354 to e9bef2d Compare November 23, 2026 23:27
Bumps the typescript group with 1 update in the / directory: [@effect/tsgo](https://github.com/Effect-TS/tsgo/tree/HEAD/_packages/tsgo).


Updates `@effect/tsgo` from 0.68.1 to 0.73.2
- [Release notes](https://github.com/Effect-TS/tsgo/releases)
- [Changelog](https://github.com/Effect-TS/tsgo/blob/main/_packages/tsgo/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/tsgo/commits/@effect/[email protected]/_packages/tsgo)

---
updated-dependencies:
- dependency-name: "@effect/tsgo"
  dependency-version: 0.67.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: typescript
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-65e6097ca5 branch from e9bef2d to 40dda84 Compare November 25, 2026 01:24

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, shared testing infrastructure, development scripts and tooling dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants