Repository navigation
Preserve NaN payloads in box intersections - #3047
Merged
Merged
Conversation
- sent from alixander's Codex
- sent from alixander's Codex
alixander
marked this pull request as ready for review
November 26, 2026 02:46
alixander
added a commit
that referenced
this pull request
Nov 26, 2026
Master removed isometric diagram rendering (#3048) and preserves NaN payloads in box intersections (#3047). Take master's deletions, including the isometric files this branch had simplified, and drop what this branch added for isometric in D2.js: the renderIsometric stub, the 400 error for isometric: true, and the notes about it in the README, the type definitions and both changelogs. The CI step that runs tests with xsort_small no longer names d2renderers/d2isometric. The changelog keeps master's wording of the font cache entry: D2.js registers its bundled fonts and uses those caches too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Human
AI
Preserve the bit-for-bit contract between
FirstBoxIntersectionand the first result fromgeo.Box.Intersectionswhen computing a box corner produces a NaN. The optimized segment routine can preserve only the coordinates it receives. In the failing Linux/amd64 race build the box calculation had already selected a different NaN payload.The named regression preserves all eight input bit patterns from the weekly race failure and compares the hit and both output coordinates against the reference on the running platform. PR CI runs the geometry package alongside TALA under the race detector, including the existing 400,000-case comparison.
On the test-only commit, the Ubuntu/amd64 race check reproduced the exact Y-coordinate mismatch. The same check with the fix passed. Both ordinary hits and misses still measured zero heap allocations.