Skip to content

build: update dependency @web/test-runner to v1#3837

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
angular-robot:ng-renovate/web-test-runner-1-x
Jul 20, 2026
Merged

build: update dependency @web/test-runner to v1#3837
alan-agius4 merged 1 commit into
angular:mainfrom
angular-robot:ng-renovate/web-test-runner-1-x

Conversation

@angular-robot

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@web/test-runner (source) ^0.20.2^1.0.0 age adoption passing confidence

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

Release Notes

modernweb-dev/web (@​web/test-runner)

v1.0.0

Compare Source

Major Changes
  • 5260164: Drop support for Node.js 18 and 20, which have reached end-of-life. The minimum supported Node.js version is now 22.0.0.
    The Node code is compiled to ES2024 which is aligned with the Node 22.
Patch Changes

@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only] labels Jul 10, 2026

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request updates the @web/test-runner dependency from ^0.20.2 to ^1.0.0 in package.json along with its lockfile. The review feedback highlights a critical version mismatch, as @web/test-runner-core remains pinned to ^0.13.4. This discrepancy can lead to runtime errors or communication failures because the test runner will serve an outdated browser session script. It is recommended to align both packages to version ^1.0.0.

Comment on lines +24 to 25
"@web/test-runner": "^1.0.0",
"@web/test-runner-core": "^0.13.4",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

Updating @web/test-runner to ^1.0.0 while leaving @web/test-runner-core at ^0.13.4 introduces a critical version mismatch.

Specifically, in wtr.config.mjs, the configuration reads the browser session script directly from the file system:

'../node_modules/@web/test-runner-core/browser/session.js'

Because @web/test-runner-core is pinned to ^0.13.4 in package.json, pnpm will install the old v0.13.4 version at the top-level node_modules. This means the test runner (running v1.0.0) will serve the old v0.13.4 session script to the browser, which is highly likely to cause runtime errors or communication failures.

Please update @web/test-runner-core to ^1.0.0 to ensure version alignment. You should also consider updating @web/dev-server-rollup and @web/test-runner-puppeteer to their corresponding major versions to avoid other potential incompatibilities.

Suggested change
"@web/test-runner": "^1.0.0",
"@web/test-runner-core": "^0.13.4",
"@web/test-runner": "^1.0.0",
"@web/test-runner-core": "^1.0.0",

See associated pull request for more information.
@angular-robot
angular-robot force-pushed the ng-renovate/web-test-runner-1-x branch from 224853b to 0c1f4d4 Compare July 20, 2026 08:16
@alan-agius4
alan-agius4 merged commit 989ffdd into angular:main Jul 20, 2026
17 checks passed
@alan-agius4

Copy link
Copy Markdown
Contributor

This PR was merged into the repository. The changes were merged into the following branches:

@angular-robot
angular-robot deleted the ng-renovate/web-test-runner-1-x branch July 20, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants