Skip to content

Bump typescript from 5.9.3 to 6.0.3 in /packages/databricks-vscode-types#1931

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/packages/databricks-vscode-types/typescript-6.0.3
Open

Bump typescript from 5.9.3 to 6.0.3 in /packages/databricks-vscode-types#1931
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/packages/databricks-vscode-types/typescript-6.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 30, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 5.9.3 to 6.0.3.

Release notes

Sourced from typescript's releases.

TypeScript 6.0.3

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

Downloads are available on:

TypeScript 6.0

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

Downloads are available on:

TypeScript 6.0 Beta

For release notes, check out the release announcement.

Downloads are available on:

Commits
  • 050880c Bump version to 6.0.3 and LKG
  • eeae9dd 🤖 Pick PR #63401 (Also check package name validity in...) into release-6.0 (#...
  • ad1c695 🤖 Pick PR #63368 (Harden ATA package name filtering) into release-6.0 (#63372)
  • 0725fb4 🤖 Pick PR #63310 (Mark class property initializers as...) into release-6.0 (#...
  • 607a22a Bump version to 6.0.2 and LKG
  • 9e72ab7 🤖 Pick PR #63239 (Fix missing lib files in reused pro...) into release-6.0 (#...
  • 35ff23d 🤖 Pick PR #63163 (Port anyFunctionType subtype fix an...) into release-6.0 (#...
  • e175b69 Bump version to 6.0.1-rc and LKG
  • af4caac Update LKG
  • 8efd7e8 Merge remote-tracking branch 'origin/main' into release-6.0
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 30, 2026
@dependabot dependabot Bot temporarily deployed to test-trigger-is June 30, 2026 17:22 Inactive
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/packages/databricks-vscode-types/typescript-6.0.3 branch from 6fcd503 to 1188459 Compare July 2, 2026 11:32
@dependabot dependabot Bot temporarily deployed to test-trigger-is July 2, 2026 11:32 Inactive
@rugpanov

rugpanov commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🤖 Integration tests triggered automatically for 11884599 via vscode-isolated-pr.yml.

Checks will be approved automatically on success.

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.9.3...v6.0.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/packages/databricks-vscode-types/typescript-6.0.3 branch from 1188459 to 1c4bd95 Compare July 3, 2026 11:03
@dependabot dependabot Bot temporarily deployed to test-trigger-is July 3, 2026 11:03 Inactive
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/vscode

Inputs:

  • PR number: 1931
  • Commit SHA: 1c4bd9530d57e7baa9e06215f8ed5eaea1f73cdd

Checks will be approved automatically on success.

@rugpanov

rugpanov commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🤖 Integration tests ❌ 3 of 4 test jobs failed for 1c4bd953 (0 passed, 1 skipped).
View run

@rugpanov

rugpanov commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Recommendation: hold — TypeScript 6.0 is adoptable but needs a small migration, not a bare version bump. I tested the bump locally (TS 6.0.3 across all 3 packages). Findings and what a proper migration requires:

Good news

  • The extension src/ type-checks with 0 errors under TS 6 — no application-code changes needed.
  • TS 6.0.3 is stable, and typescript-eslint 8.62 (already on main) allows it (typescript >=4.8.4 <6.1.0).
  • Note: Bump typescript from 5.9.3 to 6.0.3 in /packages/databricks-vscode-types #1931 as written only bumps the -types package, but typescript is ^5.x in all three package.json files (root, databricks-vscode, databricks-vscode-types). They should be bumped together to avoid a split compiler version across the monorepo.

What TS 6 requires (config/tooling only)

  1. moduleResolution: node10 is deprecated in TS 6 (hard error). Two options:
    • Proper fix (preferred): migrate packages/databricks-vscode/tsconfig.json from node10/node resolution to node16 (or bundler). This is TS7-ready. It must be validated carefully — changing module resolution can alter how imports resolve, so a full build + unit + integration run is needed.
    • Band-aid: "ignoreDeprecations": "6.0" silences it, but TS 7.0 removes node10 entirely, so this only defers the work. Prefer the real migration.
  2. @vscode/debugprotocol's bundled .d.ts uses the old module X {} namespace syntax that TS 6 rejects (TS1540). Options: enable "skipLibCheck": true (simplest; disables lib type-checking repo-wide — a trade-off), or upgrade @vscode/debugprotocol to a version whose types are TS6-compatible (cleaner; needs checking that a fixed release exists).
  3. scripts/tsconfig.json needs "types": ["node"] — under TS 6 the build scripts no longer implicitly resolve node built-ins (fs/promises, path). This is a clean, correct fix.
  4. scripts/writeIpynbWrapper.ts yargs.option breaks under TS 6 — TS 6's esModuleInterop/default-import handling makes import yargs from "yargs" resolve to the callable type rather than the Argv instance. Fix the import (e.g. import yargs from "yargs" → use .default/* as), or this rides along with the separate yargs/tsx work (Bump yargs from 17.7.3 to 18.0.0 in /packages/databricks-vscode #1934).

Suggested path

Do a dedicated "adopt TypeScript 6" PR that: bumps TS to ^6.0.3 in all 3 packages; migrates moduleResolution to node16 (the TS7-ready fix) rather than ignoreDeprecations; resolves the @vscode/debugprotocol lib error by upgrading it if a TS6-compatible release exists (else skipLibCheck); adds types:["node"] to scripts/tsconfig.json; and fixes the yargs default-import. Validate with full build + unit tests + an integration run.

Keeping this open (labeled deferred) as the tracker for that migration.

@rugpanov rugpanov added the deferred Blocked on prerequisite work; revisit later label Jul 3, 2026
rugpanov added a commit that referenced this pull request Jul 3, 2026
…1961)

## Why

Several Dependabot major-version PRs are blocked on prerequisite work
and aren't ready to merge. Left as open PRs (or closed), Dependabot
keeps re-raising them under new version numbers. Scoped `ignore` rules
park them until the prerequisite work is done — keeping the PR queue
clean without losing the rationale.

This directly answers "if I close these, will the bot reopen them?" —
**yes, under new versions**, unless we add these ignore rules.

## What

In `.github/dependabot.yml`, add `ignore` rules (scoped to the packages
that declare each dep):

**ESM-only majors** — blocked until the build/test tooling migrates off
`ts-node` (CommonJS) to an ESM runner (`tsx`):
- `yargs >=18` (see #1934)
- `chai >=5`, `@types/chai >=5` (see #1932)

**VS Code engine-coupled** — `@types/vscode` must track `engines.vscode`
(`^1.86.0`); bump both together only when the minimum supported VS Code
is deliberately raised (see #1933):
- `@types/vscode >=1.87` (in both `/packages/databricks-vscode` and
`/packages/databricks-vscode-types`)

Each rule carries an inline comment pointing to its tracking PR and
unblock condition, so the ignore can be removed intentionally later.

## Verification

- `.github/dependabot.yml` parses as valid YAML; ignore rules confirmed
on both affected directory entries.

**Backward compatibility:** dependency-automation config only; no
runtime, API, or build-output change.

Once this merges, PRs #1932 / #1933 / #1934 can be closed without
Dependabot re-raising those major lines. (#1931 typescript and #1935
eslint are **not** ignored — those aren't version-availability issues,
they're migrations we may still want prompts for.)

This pull request and its description were written by Isaac.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deferred Blocked on prerequisite work; revisit later dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant