Skip to content

feat: add automatic fixture rebuild on example changes#217

Merged
lxfontes merged 1 commit intowasmCloud:mainfrom
Aditya1404Sal:test_fixture_autobuild
Dec 29, 2025
Merged

feat: add automatic fixture rebuild on example changes#217
lxfontes merged 1 commit intowasmCloud:mainfrom
Aditya1404Sal:test_fixture_autobuild

Conversation

@Aditya1404Sal
Copy link
Contributor

@Aditya1404Sal Aditya1404Sal commented Dec 28, 2025

Feature or Problem

Adds automation to build WASM example components and copy them to test fixtures. This ensures fixtures stay in sync with example code changes through:

  • Automatic rebuild via build.rs - fixtures are automatically rebuilt when any tracked example directory is modified during local development

Previously, fixtures had to be manually rebuilt and copied, which was error-prone and easy to forget.

Related Issues

#121

Release Information

Consumer Impact

None. This is a development tooling improvement that doesn't affect runtime behavior or public APIs.

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

Note

Renamed cron_service.wasm to cron-service.wasm in fixtures and crates/wash-runtime/tests/integration_cron_service.rs because binary targets (non-cdylib) preserve hyphens from the package name, while cdylib targets use underscores.

@Aditya1404Sal Aditya1404Sal requested a review from a team as a code owner December 28, 2025 12:03
@Aditya1404Sal Aditya1404Sal force-pushed the test_fixture_autobuild branch 5 times, most recently from e64ebb1 to cdd10c4 Compare December 28, 2025 20:45
Signed-off-by: Aditya <aditya.salunkh919@gmail.com>
@Aditya1404Sal Aditya1404Sal changed the title feat: add script to rebuild example components for test fixtures feat: add automatic fixture rebuild on example changes Dec 28, 2025
@lxfontes lxfontes added this pull request to the merge queue Dec 29, 2025
Merged via the queue into wasmCloud:main with commit 5006b8c Dec 29, 2025
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants