Skip to content

👷 Update dependency typescript to v7 - #189

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-7.x
Open

👷 Update dependency typescript to v7#189
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-7.x

Conversation

@renovate

@renovate renovate Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
typescript (source) 5.9.37.0.2 age confidence

Release Notes

microsoft/TypeScript (typescript)

v7.0.2

Compare Source

v6.0.3: TypeScript 6.0.3

Compare Source

For release notes, check out the release announcement blog post.

Downloads are available on:

v6.0.2: TypeScript 6.0

Compare Source

For release notes, check out the release announcement blog post.

Downloads are available on:


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner August 1, 2026 00:44
@renovate

renovate Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: e2e/integration/apps/forge-webpack/yarn.lock
➤ YN0087: Migrated your project to the latest Yarn version 🚀

➤ YN0000: · Yarn 4.17.1
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: @datadog/electron-sdk@file:../../integration-sdk.tgz::locator=forge-webpack%40workspace%3A.: ENOENT: no such file or directory, open '/tmp/renovate/repos/github/DataDog/electron-sdk/e2e/integration/integration-sdk.tgz'
➤ YN0000: └ Completed in 4s 303ms
➤ YN0000: · Failed with errors in 4s 320ms

File name: e2e/integration/apps/forge-vite/yarn.lock
➤ YN0087: Migrated your project to the latest Yarn version 🚀

➤ YN0000: · Yarn 4.17.1
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: @datadog/electron-sdk@file:../../integration-sdk.tgz::locator=forge-vite%40workspace%3A.: ENOENT: no such file or directory, open '/tmp/renovate/repos/github/DataDog/electron-sdk/e2e/integration/integration-sdk.tgz'
➤ YN0000: └ Completed in 3s 755ms
➤ YN0000: · Failed with errors in 3s 765ms

File name: e2e/integration/apps/forge-esbuild-esm/yarn.lock
➤ YN0087: Migrated your project to the latest Yarn version 🚀

➤ YN0000: · Yarn 4.17.1
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: @datadog/electron-sdk@file:../../integration-sdk.tgz::locator=forge-esbuild-esm%40workspace%3A.: ENOENT: no such file or directory, open '/tmp/renovate/repos/github/DataDog/electron-sdk/e2e/integration/integration-sdk.tgz'
➤ YN0000: └ Completed in 3s 428ms
➤ YN0000: · Failed with errors in 3s 438ms

File name: e2e/integration/apps/forge-esbuild-cjs/yarn.lock
➤ YN0087: Migrated your project to the latest Yarn version 🚀

➤ YN0000: · Yarn 4.17.1
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: @datadog/electron-sdk@file:../../integration-sdk.tgz::locator=forge-esbuild-cjs%40workspace%3A.: ENOENT: no such file or directory, open '/tmp/renovate/repos/github/DataDog/electron-sdk/e2e/integration/integration-sdk.tgz'
➤ YN0000: └ Completed in 3s 575ms
➤ YN0000: · Failed with errors in 3s 586ms

File name: e2e/integration/apps/electron-vite/yarn.lock
➤ YN0087: Migrated your project to the latest Yarn version 🚀

➤ YN0000: · Yarn 4.17.1
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: @datadog/electron-sdk@file:../../integration-sdk.tgz::locator=electron-vite%40workspace%3A.: ENOENT: no such file or directory, open '/tmp/renovate/repos/github/DataDog/electron-sdk/e2e/integration/integration-sdk.tgz'
➤ YN0000: └ Completed in 2s 956ms
➤ YN0000: · Failed with errors in 2s 971ms

File name: e2e/integration/apps/electron-vite-esm/yarn.lock
➤ YN0087: Migrated your project to the latest Yarn version 🚀

➤ YN0000: · Yarn 4.17.1
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: @datadog/electron-sdk@file:../../integration-sdk.tgz::locator=electron-vite-esm%40workspace%3A.: ENOENT: no such file or directory, open '/tmp/renovate/repos/github/DataDog/electron-sdk/e2e/integration/integration-sdk.tgz'
➤ YN0000: └ Completed in 4s 94ms
➤ YN0000: · Failed with errors in 4s 109ms

File name: e2e/integration/apps/electron-builder-vite/yarn.lock
➤ YN0087: Migrated your project to the latest Yarn version 🚀

➤ YN0000: · Yarn 4.17.1
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: @datadog/electron-sdk@file:../../integration-sdk.tgz::locator=electron-builder-vite%40workspace%3A.: ENOENT: no such file or directory, open '/tmp/renovate/repos/github/DataDog/electron-sdk/e2e/integration/integration-sdk.tgz'
➤ YN0000: └ Completed in 3s 60ms
➤ YN0000: · Failed with errors in 3s 72ms

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Review — Score: 2.5 / 5

This Renovate PR bumps the dev-only typescript dependency from 5.9.3 to 7.0.2 across the root workspace, playground, e2e app, and all seven integration fixtures. There are no SDK source or runtime changes, but the upgrade is not merge-ready as written. I would not approve until the typescript-eslint peer-dependency conflict is resolved and the integration fixture lockfiles are regenerated.

Why 2.5: The scope is limited to dev tooling (no customer-facing behavior change), and root/e2e/playground lockfiles were updated consistently. However, two concrete blockers remain: typescript-eslint@8.64.0 declares typescript >=4.8.4 <6.1.0 and relies on the classic TS compiler API that TypeScript 7 does not expose, and all seven e2e/integration/apps/*/package.json files now request 7.0.2 while their yarn.lock files still pin 5.9.3 (Renovate's artifact-update warning matches this). GitLab CI was still running when this review was posted.

Why not 5: TypeScript 7 is a major compiler rewrite (native Go port) with ecosystem gaps — type-aware ESLint cannot run against it today. The PR also ships an incomplete lockfile update for the integration fixtures that exercise every supported bundler/packager path, so merging would not actually validate TS 7 across the matrix this repo depends on.


Findings

  • [Blocking] typescript-eslint peer conflict — Root package.json pairs typescript@7.0.2 with typescript-eslint@8.64.0, whose peer range is <6.1.0 and whose type-aware rules require the classic compiler API absent in TS 7.
  • [Blocking] Integration fixture lockfile drift — All seven e2e/integration/apps/*/package.json files request 7.0.2 but their yarn.lock files still resolve typescript@5.9.3; Renovate could not regenerate them.
  • [Minor] Staged adoption path — Microsoft's recommended TS 7 transition keeps TS 6 for tooling (ESLint, declaration emit) and runs the native compiler side-by-side; consider that pattern or defer until typescript-eslint supports TS 7.
Open in Web View Automation 

Sent by Cursor Automation: electron-sdk reviews

Comment thread package.json
"rollup-plugin-dts": "6.4.1",
"tslib": "2.8.1",
"typescript": "5.9.3",
"typescript": "7.0.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking — typescript-eslint is incompatible with TypeScript 7.

typescript-eslint@8.64.0 (still on this line in the same hunk) declares peerDependencies.typescript: ">=4.8.4 <6.1.0". TypeScript 7 is a native Go compiler that no longer exposes the classic programmatic API (ts.Extension, ts.ModuleKind, etc.) that @typescript-eslint/typescript-estree loads at module init time.

Installing or linting with both packages resolved to TS 7 typically fails — either a peer-resolution error or a runtime crash in typescript-estree (see typescript-eslint#12518).

Suggested fix: Follow the TypeScript 7 side-by-side guidance: keep typescript on 6.x for ESLint/tooling peers, add a separate alias (e.g. typescript-7 or @typescript/native-preview) for the native compiler, and point build/typecheck scripts at the TS 7 binary explicitly. Alternatively, close/defer this PR until typescript-eslint widens its peer range.

"electron-builder": "26.15.3",
"electron-vite": "5.0.0",
"typescript": "5.9.3"
"typescript": "7.0.2"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking — package.json / yarn.lock mismatch across all integration fixtures.

This file now requests "typescript": "7.0.2", but e2e/integration/apps/electron-vite/yarn.lock (and the other six integration app lockfiles) still resolve typescript@npm:5.9.3. The same drift exists in electron-builder-vite, electron-vite-esm, forge-esbuild-cjs, forge-esbuild-esm, forge-vite, and forge-webpack.

Renovate's artifact-update comment on this PR documents the failed lockfile regeneration (missing integration-sdk.tgz in its sandbox). A yarn install in each fixture directory after building the SDK tarball should regenerate the locks so CI actually exercises TS 7 in the bundler/packager matrix described in docs/REVIEW.md.

@datadog-datadog-us1-prod

datadog-datadog-us1-prod Bot commented Aug 1, 2026

Copy link
Copy Markdown

Pipelines

Unblock PR with BitsAI

⚠️ Warnings

🚦 6 Pipeline jobs failed

DataDog/electron-sdk | check-package-content   View in Datadog   GitLab

DataDog/electron-sdk | lint   View in Datadog   GitLab

DataDog/electron-sdk | playground   View in Datadog   GitLab

View all 6 failed jobs.

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 762cce3 | Docs | Datadog PR Page | Give us feedback!

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d436c3905f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread package.json
"rollup-plugin-dts": "6.4.1",
"tslib": "2.8.1",
"typescript": "5.9.3",
"typescript": "7.0.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep TypeScript within supported peer ranges

In the root project, this bump installs TypeScript 7 while the existing build/lint tooling still declares narrower peer support: rollup-plugin-dts@6.4.1 only accepts ^4.5 || ^5.0 || ^6.0, and typescript-eslint@8.64.0 accepts >=4.8.4 <6.1.0 in the committed yarn.lock. Because yarn build uses rollup-plugin-dts for declaration bundling and yarn lint uses typescript-eslint, this leaves the main CI toolchain in an unsupported peer state; update those tools to versions that support TypeScript 7 or keep TypeScript on a supported major.

Useful? React with 👍 / 👎.

"electron": "41.1.0",
"electron-builder": "26.15.3",
"typescript": "5.9.3",
"typescript": "7.0.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Regenerate integration app lockfiles

This manifest bump was applied to the integration apps, but I checked e2e/integration/apps/*/yarn.lock and each committed lockfile still records the app workspace dependency as typescript: "npm:5.9.3" with a typescript@npm:5.9.3 resolution. When an integration app is installed with lockfile validation, the manifest and lockfile now disagree, and the committed locks do not reproducibly test the requested TypeScript 7 setup; regenerate and commit the lockfiles for all changed integration app manifests.

Useful? React with 👍 / 👎.

"style-loader": "4.0.0",
"ts-loader": "9.6.2",
"typescript": "5.9.3",
"typescript": "7.0.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep forge-webpack on a compiler-API TypeScript

For the forge-webpack integration app, this TypeScript 7 bump is incompatible with the webpack pipeline I checked: both webpack configs feed .ts files through ts-loader in transpileOnly mode, which relies on TypeScript's transpileModule compiler API, while TypeScript 7.0 does not ship the JavaScript compiler API. Once this app is installed with the bumped manifest, electron-forge package/dev for this fixture cannot transpile through ts-loader; keep this app on TypeScript 6 or switch it to a loader/transpiler that supports TypeScript 7.

Useful? React with 👍 / 👎.

@renovate
renovate Bot force-pushed the renovate/typescript-7.x branch from d436c39 to 8cc43a0 Compare August 11, 2026 13:26
@renovate
renovate Bot force-pushed the renovate/typescript-7.x branch from 8cc43a0 to 762cce3 Compare August 14, 2026 11:38
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.

0 participants