Skip to content

Temporarily work around Test262 tests broken by V8 bug #1416538 #230

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

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

12wrigja
Copy link
Contributor

@12wrigja 12wrigja commented Mar 22, 2023

V8 broke Test262 by releasing a regression that caused the output of Intl.DateTimeFormat.p.format to differ from Intl.DateTimeFormat.p.format. See https://bugs.chromium.org/p/chromium/issues/detail?id=1416538.

Until V8 fixes itself and those fixes get into CI, we'll skip the now-broken tests.

@12wrigja 12wrigja requested a review from justingrant March 22, 2023 00:39
@12wrigja 12wrigja force-pushed the mark_broken_cldr42_tests branch from f119fb9 to fb15d0d Compare March 22, 2023 00:50
@justingrant justingrant changed the title Add test that were broken by the v8 CLDRv42 changes to expected-changes. Work around Test262 tests broken by https://bugs.chromium.org/p/chromium/issues/detail?id=1416538 Mar 22, 2023
@justingrant justingrant changed the title Work around Test262 tests broken by https://bugs.chromium.org/p/chromium/issues/detail?id=1416538 Temporarily work around Test262 tests broken by V8 bug #1416538 Mar 22, 2023
Copy link
Contributor

@justingrant justingrant left a comment

Choose a reason for hiding this comment

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

Needs to update a comment. CLDR 42 was the reason why V8 decided to poorly revert part of what CLDR 42 did, but the cause is V8 and it's a code bug.

Also you may want to change the file name to something a bit more generic, e.g. "failures after node 18" in case we get more issues like this.

@12wrigja 12wrigja force-pushed the mark_broken_cldr42_tests branch from fb15d0d to 6dbf49f Compare March 23, 2023 16:38
@12wrigja
Copy link
Contributor Author

I'm going to defer changing the file name because I'm starting to think there should be a better way to specify what version a specific expected-failure list applies to, instead of having to adjust logic in runtest262.mjs.

@12wrigja 12wrigja merged commit c82ed1f into js-temporal:main Mar 23, 2023
@12wrigja 12wrigja deleted the mark_broken_cldr42_tests branch March 23, 2023 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants