Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: revert and freeze wasm-pack module #174

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

AaronFeickert
Copy link
Contributor

There's an issue with WASM builds and tests on the current 0.11.0 version of the wasm-pack Node.js module that isn't present in the 0.10.3 version.

Until that issue is fixed upstream, this PR reverts to and freezes at the known working version.

@AaronFeickert
Copy link
Contributor Author

This is now an upstream issue.

@AaronFeickert AaronFeickert changed the title fix: revert and freeze wasm-pack module test: revert and freeze wasm-pack module Mar 21, 2023
stringhandler pushed a commit to tari-project/tari that referenced this pull request Mar 22, 2023
Description
---
Reverts and freezes `[email protected]` due to an apparent upstream
issue.

Fixes (at least temporarily) [issue
5261](#5261).

Motivation and Context
---
There's an apparent issue with the `wasm-pack` Node.js module at the
0.11.0 version that breaks CI operations (and which [also
affects](tari-project/tari-crypto#174)
`tari-crypto`).

While an [earlier PR](#5258)
disabled this CI, it seems unnecessary and somewhat risky not to have
these tests.

Reverting to the 0.10.3 version is at least a temporary fix.

How Has This Been Tested?
---
With the fix, CI should pass.

What process can a PR reviewer use to test or verify this change?
---
Run the equivalent commands locally, and ensure that CI passes with the
change.


Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify
SWvheerden pushed a commit to tari-project/tari that referenced this pull request Mar 22, 2023
Description
---
Reverts and freezes `[email protected]` due to an apparent upstream
issue.

Fixes (at least temporarily) [issue
5261](#5261).

Motivation and Context
---
There's an apparent issue with the `wasm-pack` Node.js module at the
0.11.0 version that breaks CI operations (and which [also
affects](tari-project/tari-crypto#174)
`tari-crypto`).

While an [earlier PR](#5258)
disabled this CI, it seems unnecessary and somewhat risky not to have
these tests.

Reverting to the 0.10.3 version is at least a temporary fix.

How Has This Been Tested?
---
With the fix, CI should pass.

What process can a PR reviewer use to test or verify this change?
---
Run the equivalent commands locally, and ensure that CI passes with the
change.


Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify
SWvheerden pushed a commit to tari-project/tari that referenced this pull request Mar 22, 2023
Description
---
Reverts and freezes `[email protected]` due to an apparent upstream
issue.

Fixes (at least temporarily) [issue
5261](#5261).

Motivation and Context
---
There's an apparent issue with the `wasm-pack` Node.js module at the
0.11.0 version that breaks CI operations (and which [also
affects](tari-project/tari-crypto#174)
`tari-crypto`).

While an [earlier PR](#5258)
disabled this CI, it seems unnecessary and somewhat risky not to have
these tests.

Reverting to the 0.10.3 version is at least a temporary fix.

How Has This Been Tested?
---
With the fix, CI should pass.

What process can a PR reviewer use to test or verify this change?
---
Run the equivalent commands locally, and ensure that CI passes with the
change.


Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify
@AaronFeickert AaronFeickert force-pushed the revert-wasm branch 2 times, most recently from b1fd957 to cdab66c Compare April 4, 2023 15:28
@AaronFeickert AaronFeickert force-pushed the revert-wasm branch 2 times, most recently from d738d7c to 87bb7c8 Compare April 4, 2023 17:13
@AaronFeickert
Copy link
Contributor Author

This now removes the --enable-mutable-globals flag on wasm-opt, which appears to be the cause of a new CI failure. From reading elsewhere, this flag should be enabled by default and therefore unnecessary anyway. However, I wasn't able to reproduce the failure locally.

@stringhandler stringhandler merged commit f6450fc into tari-project:main Apr 5, 2023
@AaronFeickert AaronFeickert deleted the revert-wasm branch April 5, 2023 18:00
CjS77 pushed a commit that referenced this pull request May 19, 2023
Previously, an upstream
[issue](rustwasm/wasm-pack#1248) with
`wasm-pack` resulted in CI failure. Because of this, the dependency was
[reverted and
frozen](#174) at a
working version.

A recent `wasm-pack` minor version bump should have this working again.
This PR updates and freezes at this version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants