Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tasks/coverage): convert spans to UTF16 in estree conformance runner #8965

Conversation

overlookmotel
Copy link
Contributor

@overlookmotel overlookmotel commented Feb 7, 2025

In ESTree conformance runner, convert Span to UTF16 offsets before comparing to Acorn. This removes a lot of noise from the diffs (and seems to speed up the conformance runner a lot too).

Copy link
Contributor Author

overlookmotel commented Feb 7, 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.

@overlookmotel overlookmotel marked this pull request as ready for review February 7, 2025 14:05
@github-actions github-actions bot added the C-bug Category - Bug label Feb 7, 2025
@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label Feb 8, 2025
Copy link

graphite-app bot commented Feb 8, 2025

Merge activity

…ner (#8965)

In ESTree conformance runner, convert `Span` to UTF16 offsets before comparing to Acorn. This removes a lot of noise from the diffs (and seems to speed up the conformance runner a lot too).
@graphite-app graphite-app bot force-pushed the 02-07-chore_deps_bump_test262_and_acorn-test262_conformance_fixtures branch from 69ba80c to 409385d Compare February 8, 2025 14:54
@graphite-app graphite-app bot force-pushed the 02-07-fix_tasks_coverage_convert_spans_to_utf16_in_estree_conformance_runner branch from ada708b to f978dd8 Compare February 8, 2025 14:54
Base automatically changed from 02-07-chore_deps_bump_test262_and_acorn-test262_conformance_fixtures to main February 8, 2025 14:58
@graphite-app graphite-app bot merged commit f978dd8 into main Feb 8, 2025
16 checks passed
@graphite-app graphite-app bot deleted the 02-07-fix_tasks_coverage_convert_spans_to_utf16_in_estree_conformance_runner branch February 8, 2025 14:59
Dunqing pushed a commit that referenced this pull request Feb 10, 2025
…ner (#8965)

In ESTree conformance runner, convert `Span` to UTF16 offsets before comparing to Acorn. This removes a lot of noise from the diffs (and seems to speed up the conformance runner a lot too).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-merge Merge with Graphite Merge Queue C-bug Category - Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant