Skip to content

test(ast/estree): bump acorn-test262 submodule#16108

Merged
graphite-app[bot] merged 1 commit intomainfrom
11-25-test_ast_estree_bump_acorn-test262_submodule
Nov 25, 2025
Merged

test(ast/estree): bump acorn-test262 submodule#16108
graphite-app[bot] merged 1 commit intomainfrom
11-25-test_ast_estree_bump_acorn-test262_submodule

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Nov 25, 2025

Bump acorn-test262 submodule to latest. It aligns its version of test262 and TypeScript submodules to same versions as used in this repo, which fixes a bunch of erroneous ESTree conformance test failures.

It also updates to latest version of TS-ESLint parser, which altered the shape of TSImportType (typescript-eslint/typescript-eslint#11591). The test cases broken by this are fixed in next PR (#16109).

Copy link
Member Author

overlookmotel commented Nov 25, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added the C-test Category - Testing. Code is missing test cases, or a PR is adding them label Nov 25, 2025
@overlookmotel overlookmotel marked this pull request as ready for review November 25, 2025 14:04
Copilot AI review requested due to automatic review settings November 25, 2025 14:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the acorn-test262 submodule to align its test262 and TypeScript submodule versions with those used in the main repository. This alignment fixes numerous erroneous ESTree conformance test failures in test262 (improving from 77 to 9 mismatches, with 284 additional test cases now included). The update also incorporates the latest TS-ESLint parser which altered the TSImportType AST node shape, resulting in 38 new expected mismatches in TypeScript ESTree tests that will be addressed in PR #16109.

Key Changes

  • Bumped acorn-test262 submodule from 04357148 to 21042b08
  • Test262 conformance improved dramatically: 44669/44746 (99.83%) → 45021/45030 (99.98%)
  • TypeScript conformance temporarily decreased: 9745/9753 (99.92%) → 9707/9753 (99.53%) due to TSImportType shape changes (fixes pending in next PR)

Reviewed changes

Copilot reviewed 1 out of 4 changed files in this pull request and generated no comments.

File Description
tasks/coverage/snapshots/estree_typescript.snap Updated snapshot reflecting 38 new mismatches due to TSImportType shape changes in TS-ESLint parser (all import-type related test cases)
tasks/coverage/snapshots/estree_test262.snap Updated snapshot showing significant test coverage improvement with 68 fewer mismatches and 284 additional tests
tasks/coverage/snapshots/estree_acorn_jsx.snap Updated commit hash reference from 04357148 to 21042b08
.github/scripts/clone-parallel.sh Updated ACORN_TEST262_SHA from 04357148... to 21042b08... to match new submodule version

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@overlookmotel overlookmotel self-assigned this Nov 25, 2025
@overlookmotel overlookmotel added the A-ast Area - AST label Nov 25, 2025
@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label Nov 25, 2025
@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 25, 2025

Merge activity

Bump `acorn-test262` submodule to latest. It aligns its version of `test262` and `TypeScript` submodules to same versions as used in this repo, which fixes a bunch of erroneous ESTree conformance test failures.

It also updates to latest version of TS-ESLint parser, which altered the shape of `TSImportType` (typescript-eslint/typescript-eslint#11591). The test cases broken by this are fixed in next PR (#16109).
@graphite-app graphite-app bot force-pushed the 11-25-test_ast_estree_bump_acorn-test262_submodule branch from ee79f95 to 1d70bab Compare November 25, 2025 14:11
@graphite-app graphite-app bot merged commit 1d70bab into main Nov 25, 2025
18 checks passed
@graphite-app graphite-app bot deleted the 11-25-test_ast_estree_bump_acorn-test262_submodule branch November 25, 2025 14:16
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Nov 25, 2025
leaysgur pushed a commit that referenced this pull request Nov 26, 2025
Bump `acorn-test262` submodule to latest. It aligns its version of `test262` and `TypeScript` submodules to same versions as used in this repo, which fixes a bunch of erroneous ESTree conformance test failures.

It also updates to latest version of TS-ESLint parser, which altered the shape of `TSImportType` (typescript-eslint/typescript-eslint#11591). The test cases broken by this are fixed in next PR (#16109).
taearls pushed a commit to taearls/oxc that referenced this pull request Dec 11, 2025
Bump `acorn-test262` submodule to latest. It aligns its version of `test262` and `TypeScript` submodules to same versions as used in this repo, which fixes a bunch of erroneous ESTree conformance test failures.

It also updates to latest version of TS-ESLint parser, which altered the shape of `TSImportType` (typescript-eslint/typescript-eslint#11591). The test cases broken by this are fixed in next PR (oxc-project#16109).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast Area - AST C-test Category - Testing. Code is missing test cases, or a PR is adding them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants