feat!: Allow validation of wasm for h2 platform#1532
Merged
Conversation
Collaborator
|
This PR contains breaking changes to the public Python API. Breaking changes summary |
Contributor
Contributor
|
| Branch | travis/feat/h2-wasm-validation |
| Testbed | Linux |
Click to view all benchmark results
| Benchmark | hugr_bytes | Benchmark Result bytes x 1e3 (Result Δ%) | Upper Boundary bytes x 1e3 (Limit %) | hugr_nodes | Benchmark Result nodes (Result Δ%) | Upper Boundary nodes (Limit %) |
|---|---|---|---|---|---|---|
| tests/benchmarks/test_big_array.py::test_big_array_compile | 📈 view plot 🚷 view threshold | 140.94 x 1e3(0.00%)Baseline: 140.94 x 1e3 | 142.35 x 1e3 (99.01%) | 📈 view plot 🚷 view threshold | 6,592.00(0.00%)Baseline: 6,592.00 | 6,657.92 (99.01%) |
| tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_compile | 📈 view plot 🚷 view threshold | 18.59 x 1e3(0.00%)Baseline: 18.59 x 1e3 | 18.78 x 1e3 (99.01%) | 📈 view plot 🚷 view threshold | 608.00(0.00%)Baseline: 608.00 | 614.08 (99.01%) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1532 +/- ##
=======================================
Coverage 93.43% 93.44%
=======================================
Files 128 128
Lines 11927 11943 +16
=======================================
+ Hits 11144 11160 +16
Misses 783 783 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
croyzor
reviewed
Feb 25, 2026
|
|
||
|
|
||
| def decode_type(ty: wt.ValType) -> Type | None: | ||
| def decode_type_default(ty: wt.ValType) -> Type | None: |
Collaborator
There was a problem hiding this comment.
This could be decode_type_helios now, it's restricted in its own way...
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.
@wasm_moduleused to toggle which platform wasm should be validated forBREAKING CHANGE: Added wasm platform parameter to
decode_wasm_functions,decode_siganddecode_typefunctions inguppylang_internals/wasm_util.pyBREAKING CHANGE: Added wasm platform information to
WasmSignatureErrorBREAKING CHANGE: Added wasm platform parameter to
WasmModuleTypeDef.__init__Not a
guppylangbreaking change