Repository navigation
Fix #12604 Tests failing on Chrome 150 due to floating point differences - #12605
Merged
Merged
Conversation
1 task
Chrome 150 (V8) returns slightly different results (last ULP) for transcendental math functions used by reprojection, breaking tests that assert exact floating point equality. Compare coordinates with a tolerance instead of exact equality so tests pass on both Chrome 149 and 150.
offtherailz
force-pushed
the
fix_fp_tests_chrome150
branch
from
July 8, 2026 15:41
bc40e71 to
24a8bcb
Compare
Merged
4 of 6 tasks
dsuren1
approved these changes
Jul 9, 2026
Member
Author
|
Successfully created backport PR for |
Contributor
|
There's nothing to explicitly test here. We can monitor upcoming PRs to ensure the unit test CI gha continue to pass consistently. |
offtherailz
added a commit
that referenced
this pull request
Jul 9, 2026
…ces (#12605) (#12610) Chrome 150 (V8) returns slightly different results (last ULP) for transcendental math functions used by reprojection, breaking tests that assert exact floating point equality. Compare coordinates with a tolerance instead of exact equality so tests pass on both Chrome 149 and 150. (cherry picked from commit a0d89c8)
4 of 6 tasks
Member
Author
|
Request failed due to following response errors:
|
Member
Author
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin 2026.02.xx
git worktree add -d .worktree/backport-12605-to-2026.02.xx origin/2026.02.xx
cd .worktree/backport-12605-to-2026.02.xx
git switch --create backport-12605-to-2026.02.xx
git cherry-pick -x a0d89c89e484fcec500ab100d30b4ccdf9ab9813 |
Member
Author
|
Request failed due to following response errors:
|
Member
Author
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin 2026.02.xx
git worktree add -d .worktree/backport-12605-to-2026.02.xx origin/2026.02.xx
cd .worktree/backport-12605-to-2026.02.xx
git switch --create backport-12605-to-2026.02.xx
git cherry-pick -x a0d89c89e484fcec500ab100d30b4ccdf9ab9813 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Chrome 150 returns slightly different floating point results (1 ULP) for
Mathtranscendental functions, breaking 5 tests that assert exact equality on reprojected coordinates. Failures appear random on CI because runner images with Chrome 150 are being rolled out gradually. This PR compares those values with a tolerance instead of exact equality.Note: the
searchOnStartEpic, that adds popupfailure reported as a 2000ms timeout has the same root cause — the exact assertion throws inside thetestEpiccallback sodone()is never called.Please check if the PR fulfills these requirements
What kind of change does this PR introduce?
Issue
What is the current behavior?
#12604
5 frontend tests fail on runners with Chrome 150 (pass on Chrome 149).
What is the new behavior?
Tests pass on both Chrome 149 and 150; coordinates compared with tolerance.
Breaking change