Repository navigation
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job 'test (ubuntu-latest, 22)'
Fix WASM Node export names to unblock Jun 5, 2026
test (ubuntu-latest, 22) workflow
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.
The failing
test-wasmjob on Node 22 was caused by a JS/Rust binding mismatch: JS tests call camelCase methods (toJson,toCsv,toCamt053) that were not exported under those names in the WASM bindings for the failing revision.Root cause addressed
WASM binding API alignment
wasm_bindgenJS name mappings for export methods incrates/wasm/src/lib.rs:to_json→toJsonto_csv→toCsvto_camt053→toCamt053WASM package script adjustment
crates/wasm/package.jsonbuild scripts sonpm testuses the Node build mode that preserves expected JS-export behavior in CI.