FuelLabs
sway
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
update tests
xunilrj/asm-const-prop-improv
4 hours ago
update tests
xunilrj/asm-const-prop-improv
5 hours ago
Merge branch 'master' into vaivaswatha/ir_switch
vaivaswatha/ir_switch
9 hours ago
Improve execution time and coverage of SDK harness and in-language tests (#7555) ## Description This PR improves execution times and increases coverage of `cargo-test-lib-std` and `forc-unit-tests` CI tests by: - removing unnecessarily `forc test` runs on `./test/src/sdk-harness` Sway projects. They do not contain any Sway unit tests. In general, SDK harness tests are ment to be replace with in-language tests over time and are not actively expanded. We do not expect any unit tests to ever be added to those projects. - adding running SDK harness tests on Sway projects compiled in `debug` mode. Currently, unlike in-language tests that test both `debug` and `release` outputs, SDK harness tests test only `release` versions. The `can_get_predicate_address` test use a hardcoded predicate address of a `release` predicate version. That's why they are skipped `--skip can_get_predicate_address` when running tests on projects compiled in `release` mode. - removing redundant `forc-unit-tests` runs with `--experimental const_generics` because the feature is enabled by default and those tests are the same as the ones already run without that flag. - adding running SDK harness and in-language tests for `str_array_no_padding` experimental feature. Enabling SDK harness and in-language tests for `str_array_no_padding` exposed two failing tests that are now adjusted for the new `str[N]` memory layout. To enable SDK harness tests for both `debug` and `release` builds, the build outputs of _all projects_ are moved to the common `out` folder. `forc build <workspace>` does not allow setting `--output-directory` having variables like project name. Having a single common out directory is not an issue because project names must be unique. This is guaranteed by the fact they are all in the same workspace. Workspaces do not allow their members having the same `name` even if they are situated in different folders. The usage of the `setup_program_test!` macro in one test is change to using `abigen!` approach, because the project must be compiled in release mode for `Abigen` command to work in `setup_program_test!` and we want to test both `debug` and `release` mode. ## Checklist - [ ] I have linked to any relevant issues. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] If my change requires substantial documentation changes, I have [requested support from the DevRel team](https://github.com/FuelLabs/devrel-requests/issues/new/choose) - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [x] I have requested a review from the relevant team or maintainers.
master
1 day ago
Update Cargo.lock
vaivaswatha/ir_switch
2 days ago
update tests
xunilrj/asm-const-prop-improv
3 days ago
fix rebase issues
xunilrj/asm-const-prop-improv
3 days ago
update tests
xunilrj/asm-const-prop-improv
3 days ago
Active Branches
Improve `asm` const propagation
last run
4 hours ago
#7550
CodSpeed Performance Gauge
0%
IR support for `switch` instructions
last run
9 hours ago
#7536
CodSpeed Performance Gauge
-11%
Add experimental ABI alias metadata support.
last run
14 days ago
#7261
CodSpeed Performance Gauge
-13%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs