Skip to content

Fix #12604 Tests failing on Chrome 150 due to floating point differences - #12605

Merged
dsuren1 merged 1 commit into
masterfrom
fix_fp_tests_chrome150
Jul 9, 2026
Merged

dsuren1 merged 1 commit into
masterfrom
fix_fp_tests_chrome150

Conversation

@offtherailz

@offtherailz offtherailz commented Jul 8, 2026 •

Copy link
Copy Markdown
Member

Description

Chrome 150 returns slightly different floating point results (1 ULP) for Math transcendental 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 popup failure reported as a 2000ms timeout has the same root cause — the exact assertion throws inside the testEpic callback so done() is never called.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce?

  • CI related changes

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

  • No

@cla-bot cla-bot Bot added the CLA Ready label Jul 8, 2026
@offtherailz offtherailz added this to the 2026.02.00 milestone Jul 8, 2026
@offtherailz offtherailz linked an issue Jul 8, 2026 that may be closed by this pull request
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.
@dsuren1
dsuren1 merged commit a0d89c8 into master Jul 9, 2026
13 checks passed
@dsuren1
dsuren1 deleted the fix_fp_tests_chrome150 branch July 9, 2026 11:26
@offtherailz

Copy link
Copy Markdown
Member Author

@dsuren1

dsuren1 commented Jul 9, 2026

Copy link
Copy Markdown
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)
@offtherailz
offtherailz removed the request for review from allyoucanmap July 9, 2026 15:04
@offtherailz offtherailz assigned dsuren1 and unassigned allyoucanmap Jul 9, 2026
@offtherailz

Copy link
Copy Markdown
Member Author

Request failed due to following response errors:

  • Pull request Pull request is a draft

@offtherailz

Copy link
Copy Markdown
Member Author

Backport failed for 2026.02.xx, because it was unable to cherry-pick the commit(s).

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

@offtherailz

Copy link
Copy Markdown
Member Author

Request failed due to following response errors:

  • Pull request Pull request is a draft

@offtherailz

Copy link
Copy Markdown
Member Author

Backport failed for 2026.02.xx, because it was unable to cherry-pick the commit(s).

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests fail on Chrome 150: floating point differences in reprojection results

4 participants