Harden invariant evaluation engine and add protocol and packaging contract tests. - #3303
Open
copybara-service[bot] wants to merge 1 commit into
Open
Harden invariant evaluation engine and add protocol and packaging contract tests.#3303copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
test_974402084
branch
from
September 1, 2026 10:54
3b44b78 to
1061bc5
Compare
…tract tests. Key Capabilities: 1. Cross-Realm SVG Geometry & Shadow DOM Invariants (tests/ui/invariants.py): - Adds check_svg_geometry_deep() traversing SVG namespaces, Shadow DOM, and iframes via pure Python Playwright locators to detect non-finite numerical coordinates (e.g. NaN attributes in chart trendlines). - Adds run_cell_invariants_optimized() with leaf-aligned header inspection, diff column awareness, and poison token scanning ((null), INVALID, [object Object]). - Modernizes type annotations to PEP 585 standard collections. 2. Server Protocol & Packaging Integrity (tests/ui/test_server_and_packaging.py): - Verifies runtime.js is served with application/javascript MIME type. - Verifies unmapped static routes return HTTP 404 rather than being masked by catch-all fallback. - Asserts repository working tree purity to prevent server caches from polluting tracked demo files. - Verifies proto interface declaration archives (.d.ts.gz) are valid and declared in BUILD.oss. - Forbids unexported raw internal import paths in frontend source files. PiperOrigin-RevId: 974402084
copybara-service
Bot
force-pushed
the
test_974402084
branch
from
September 1, 2026 11:32
1061bc5 to
690acde
Compare
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.
Harden invariant evaluation engine and add protocol and packaging contract tests.
Key Capabilities: