You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: update component_validation_test to handle multiple output files
The component_validation_test rule was failing because cpp_component
targets with validate_wit=True produce both .wasm files and validation
log files. The test rule was expecting a single file but receiving
multiple files.
Changes:
- Updated _component_validation_test_impl to extract just the .wasm file
from targets that produce multiple outputs
- Removed allow_single_file restriction from component attribute
- Added proper error handling for missing .wasm files
Fixes C++ component validation test failures:
- //test/cpp:test_calculator_c_component_valid_wasm
- //test/cpp:test_calculator_cpp_component_valid_wasm
- //test/cpp:test_http_service_component_valid_wasm
0 commit comments