bytecodealliance / bytecodealliance/javy
Investigate cause of variation in fuel consumption in random.js integration test
- Dominant language
- Rust
- Stars
- 2.7k
- Forks
- 135
- Avg merge
- 1d 44m
- Merged PRs (30d)
- 11
Description
In [this run of the CI workflow](https://github.com/bytecodealliance/javy/actions/runs/5292925487/jobs/9580404453), I observed the following error message:
```
thread 'test_same_module_outputs_different_random_result' panicked at 'fuel_consumed (130653) was not within 10.00% of the target_fuel value (100543)', crates/cli/tests/integration_test.rs:163:5
```
It's not unexpected that the fuel consumed would variable between test runs for the random script since the inputs will be different from test run to test run. However, it is unexpected that it could be 30% different between runs. We should investigate to better explain the source of the variation.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.