Skip to content

Conversation

@nekevss
Copy link
Member

@nekevss nekevss commented Jul 31, 2025

Boa currently panics when running the test suite in debug. This fix addresses that issue.

Relevant test: test/built-ins/Temporal/Duration/large-number.js

Boa's conformance results:
https://boajs.dev/conformance?version=main&testPath=built-ins%2FTemporal%2FDuration&selectedTest=large-number.js

@nekevss nekevss requested a review from a team July 31, 2025 05:14
@nekevss nekevss added C-bug Something isn't working test262 Issue related to test262 conformance labels Jul 31, 2025
@Manishearth Manishearth merged commit 70ca9f7 into main Jul 31, 2025
8 checks passed
@Manishearth Manishearth deleted the fix-duration-overflow branch July 31, 2025 05:33
@Manishearth
Copy link
Contributor

Huh, I'm surprised I haven't hit this yet

But I only run test262 in release mode locally, and I suspect CI hasn't failed yet since there are a pile of other Duration validity bugs that have yet to be synced into a CI'd version of V8

@nekevss
Copy link
Member Author

nekevss commented Jul 31, 2025

I was running this on Boa locally. Part of the issue is probably technically with how Boa constrains i128 when casting from f64. Either way, it's still worth fixing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bug Something isn't working test262 Issue related to test262 conformance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants