Skip to content

deps(deps-dev): bump @types/node from 18.19.130 to 26.1.2 in /sdks/javascript - #310

Merged
scttfrdmn merged 1 commit into
mainfrom
dependabot/npm_and_yarn/sdks/javascript/types/node-26.1.2
Aug 4, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
dependabot/npm_and_yarn/sdks/javascript/types/node-26.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @types/node from 18.19.130 to 26.1.2.

Commits

@dependabot dependabot Bot added automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) javascript npm dependency (docs-platform, sdks/javascript) labels Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @types/node
Update Type: version-update:semver-major
Previous Version: 18.19.130
New Version: 26.1.2

Please review the changelog and breaking changes before merging.

6 similar comments
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @types/node
Update Type: version-update:semver-major
Previous Version: 18.19.130
New Version: 26.1.2

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @types/node
Update Type: version-update:semver-major
Previous Version: 18.19.130
New Version: 26.1.2

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @types/node
Update Type: version-update:semver-major
Previous Version: 18.19.130
New Version: 26.1.2

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @types/node
Update Type: version-update:semver-major
Previous Version: 18.19.130
New Version: 26.1.2

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @types/node
Update Type: version-update:semver-major
Previous Version: 18.19.130
New Version: 26.1.2

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @types/node
Update Type: version-update:semver-major
Previous Version: 18.19.130
New Version: 26.1.2

Please review the changelog and breaking changes before merging.

@scttfrdmn

Copy link
Copy Markdown
Owner

Measured, not merged — leaving the decision to you, but here is the evidence so it's a short review.

@types/node 18 → 26 changes nothing about this SDK's compilation. I ran tsc --noEmit against the repo's own tsconfig.json on both versions, in clean installs, and diffed the error sets:

tsc errors
@types/[email protected] (main) 48
@types/[email protected] (this PR) 48

diff of the two sorted error lists is empty — byte-for-byte the same 48 errors, same files, same codes. So this bump neither fixes nor breaks anything in src/. The SDK simply doesn't use enough of the Node type surface for eight majors of it to matter.

Two things that make it worth taking anyway:

  • The declared version is wrong about the environment. CI runs node 22 (ci.yml:297) while the types describe node 18, so type-checking has been done against a runtime that isn't the one used. @types/node@26 is closer to reality than @types/node@18 even though neither is 22.
  • 48 is the number from The JavaScript SDK has never compiled: 48 tsc errors, and CI never runs the build #314, not a number this PR introduces. This SDK has never compiled; npm run build is not in CI, which is why 48 errors have been invisible. Merging this does not make that worse, and the identical error set is the proof.

No auto-merge armed — majors wait for a human, and that includes this one. If you'd rather batch it, the natural home is alongside #314's step 4 (TypeScript 6 / typedoc 0.28 / moduleResolution), where the type surface is being moved anyway.

@scttfrdmn

Copy link
Copy Markdown
Owner

Re-measured against merged main — the verdict flipped, twice, for two different reasons

My earlier comment measured this bump against a 48-error baseline. That baseline no longer exists: #327 is merged, so tsc is clean and gated. Re-running the same comparison on 06e0c7f:

tsc --noEmit npm run build npm test
main, @types/[email protected] 0 errors emits 9 files to dist/ 65 pass
this PR, @types/[email protected] 0 errors emits 9 files to dist/ 65 pass

So the type bump itself is clean and now actually verifiable — the SDK compiles on both, which is a stronger statement than the previous "identically broken on both." Eight majors of @types/node change nothing here.

But it cannot merge as it stands, and that is my fault, not Dependabot's

This PR edits only sdks/javascript/package.json. #327 committed a package-lock.json and changed sdk-metrics from npm install to npm ci, deliberately, so that CI resolves what a developer resolves and a vulnerability alert describes a copy actually in the tree. npm ci refuses a manifest and lockfile that disagree:

npm error `npm ci` can only install packages when your package.json and package-lock.json are in sync.
npm error Invalid: lock file's @types/[email protected] does not satisfy @types/[email protected]
npm error Invalid: lock file's [email protected] does not satisfy [email protected]

Reproduced directly: this PR's manifest against main's lockfile, npm ci exits non-zero before installing anything.

The green checks on this PR are stale. They ran at 20:11 against the pre-merge workflow — sdk-metrics completed in 34s and its log still shows npm install --no-audit --no-fund under the old comment "No lockfile is committed". That job never ran tsc and never ran npm ci. It cannot tell us anything about this PR under current main.

What has to happen

Dependabot needs to rebase this PR, which will regenerate package-lock.json alongside the manifest now that one is committed — that is the normal behaviour, and it is why committing the lockfile was worth doing. This applies equally to #309 (typescript-eslint group, also manifest-only) and to any future npm PR on this directory.

I am not merging it: it would fail sdk-metrics on main, and the fix is a rebase rather than anything a reviewer should hand-apply. Commenting @dependabot rebase is the action, and it is worth doing after #309 is decided so the two do not race each other's lockfile.

Filing the general form separately — the npm ci gate changes the contract for every npm Dependabot PR in this repo, and that belongs somewhere more durable than a comment on one of them.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @types/node
Update Type: version-update:semver-major
Previous Version: 18.19.130
New Version: 26.1.2

Please review the changelog and breaking changes before merging.

@scttfrdmn

Copy link
Copy Markdown
Owner

Resolved by Dependabot's rebase, as expected — this is now genuinely green and genuinely verified.

The merge of #327 triggered a rebase, and because a package-lock.json is now committed, Dependabot regenerated it alongside the manifest. Head is 7d0b91e and touches both package.json and package-lock.json, so the npm ci objection in my previous comment no longer applies.

More to the point, the checks on this PR are no longer stale. The re-run executed the full post-#327 sdk-metrics job — TypeScript SDK install / build / tests / lint as separate steps, plus Java SDK build and test and C SDK build and test — and all of it passed. This is the first @types/node bump on this SDK whose green means the SDK compiles, rather than meaning nothing ran the compiler.

Combined with the measurements above (0 tsc errors on both 18.19.130 and 26.1.2, dist/ emitted, 65 tests passing on both), this one is clean and I have no reservations left about it. Eight majors of @types/node are inert here because the SDK's only Node API surface is child_process, fs, path and process.

It is still a major-version bump, so per the standing arrangement it waits for you rather than auto-merging. The evidence is complete; the decision is a one-liner.

@scttfrdmn

Copy link
Copy Markdown
Owner

Rebasing to pick up main; the branch went BEHIND after #327 landed. Will merge once the rebased head is green — the measurements in my previous comment (0 tsc errors on both 18.19.130 and 26.1.2, dist/ emitted, 65 jest tests passing on both) hold and the current head already passed all 24 checks under the new gate.

@scttfrdmn

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/sdks/javascript/types/node-26.1.2 branch from 7d0b91e to d9afe7c Compare August 4, 2026 00:11
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @types/node
Update Type: version-update:semver-major
Previous Version: 18.19.130
New Version: 26.1.2

Please review the changelog and breaking changes before merging.

@scttfrdmn
scttfrdmn merged commit b155ed8 into main Aug 4, 2026
24 checks passed
@scttfrdmn
scttfrdmn deleted the dependabot/npm_and_yarn/sdks/javascript/types/node-26.1.2 branch August 4, 2026 00:26
scttfrdmn added a commit that referenced this pull request Aug 4, 2026
Brings in #310 (@types/node bump in sdks/javascript), which touches nothing this
branch does. Merge rather than rebase so the three commits keep their published
hashes — this branch is already pushed and under review.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) javascript npm dependency (docs-platform, sdks/javascript)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant