You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* test(parsers): gate LANGUAGE_REGISTRY ↔ NATIVE_SUPPORTED_EXTENSIONS parity
Closes#1121.
The drift guard between NATIVE_SUPPORTED_EXTENSIONS and parser_registry.rs
covered link 2 ↔ 3, but link 1 ↔ 2 (LANGUAGE_REGISTRY ↔
NATIVE_SUPPORTED_EXTENSIONS) had no test. A WASM-only language added to
the registry would silently degrade the native engine without flagging.
Adds three tests with an explicit WASM_ONLY_ALLOWLIST (currently empty) so
the allowlist itself can't rot — entries must reference a real registry
extension and must not duplicate a language that's already been ported.
* fix(tests): normalize WASM_ONLY_ALLOWLIST case in parity checks (#1154)
Lowercase allowlist entries before comparing against `registryExts` and
`NATIVE_SUPPORTED_EXTENSIONS` so a mixed-case future entry can't slip
past the staleness and orphan checks. Both reference sets are already
lowercased, so without this normalization a capitalized allowlist entry
would be silently skipped by test 2 and falsely flagged by test 3.
0 commit comments