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: implement comprehensive Go module dependency resolution
Major improvements to Go component build reliability:
## Go.sum Support Added:
- Added go_sum attribute to go_wasm_component rule in go/defs.bzl
- Updated setup_go_module_action to include go.sum files in workspace
- All go_component targets now specify go_sum parameter
## Dependency Resolution:
- Fixed all 'missing go.sum entry' errors for go.bytecodealliance.org/cm
- Go module checksum validation now works correctly
- Hermetic builds maintain dependency integrity
## Target Status:
✅ WORKING: Non-WIT Go targets (simple_wasi, debug targets)
✅ RESOLVED: Go.sum dependency errors completely eliminated
⏳ WIT targets: Known upstream TinyGo limitations (see issue #80)
## Files Changed:
- go/defs.bzl: Added go_sum parameter and updated function signatures
- tools/bazel_helpers/file_ops_actions.bzl: Enhanced workspace setup
- examples/go_component/BUILD.bazel: Added go_sum to all targets
- examples/go_component/wit/calculator.wit: Updated to WASI 0.2.0
This resolves the core Go module dependency issues that were blocking CI builds.
0 commit comments