Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 14 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,7 @@ jobs:
run: |
# Build core working targets including JavaScript components
bazel build --keep_going -- \
//examples/go_component:calculator_component_debug \
//examples/go_component:calculator_docs \
//examples/go_component:calculator_manual \
//examples/go_component:http_service_component \
//examples/go_component:http_service_docs \
//examples/go_component:multi_file_test \
//examples/go_component:simple_test \
//examples/go_component:simple_wasi \
//examples/go_component:calculator_wit \
//examples/go_component:http_service_wit \
//examples/go_component:simple_calculator_wit \
//examples/go_component/... \
//examples/basic/... \
//examples/simple_module/... \
//examples/cli_tool_example/... \
Expand All @@ -130,19 +120,11 @@ jobs:
//tools/... \
//providers/... \
//test/go/... \
-//test/go:test_calculator_component_provides_info \
-//test/go:test_calculator_component_valid_wasm \
-//test/go:test_calculator_exports_verification \
-//test/go:all_go_tests \
-//test/go:go_component_tests \
-//test/go:go_integration_tests \
//test/cpp/... \
//test/unit/... \
//test/integration/... \
//docs-site/... \
-//examples/cpp_component/multi_component_system:analytics_service \
-//tools/checksum_updater_wasm/... \
-//tools/ssh_keygen:ssh_keygen_test \
-//examples/go_component:calculator_simple \

- name: Run Tests
run: bazel test --test_output=errors -- //test/integration:basic_component_build_test //test/integration:basic_component_validation //test/unit:unit_tests //test/wkg/unit:smoke //test/js:test_hello_js_component_provides_info //test/js:test_calc_js_component_provides_info //test/js:test_npm_dependencies_installation
Expand Down Expand Up @@ -206,19 +188,16 @@ jobs:
- name: Build All Targets
run: |
# Build core working targets using explicit inclusions
# Same approach as Linux but with macOS-specific exclusions
# Excluding Go components with manual exports (need wit-bindgen-go migration)
bazel build --keep_going -- \
//examples/go_component:calculator_component_debug \
//examples/go_component:calculator_docs \
//examples/go_component:calculator_manual \
//examples/go_component:calculator_with_bindings \
//examples/go_component:http_service_component \
//examples/go_component:http_service_docs \
//examples/go_component:multi_file_test \
//examples/go_component:simple_test \
//examples/go_component:simple_wasi \
//examples/go_component:calculator_wit \
//examples/go_component:http_service_wit \
//examples/go_component:simple_calculator_wit \
//examples/basic/... \
//examples/simple_module/... \
//examples/cli_tool_example/... \
Expand All @@ -235,17 +214,22 @@ jobs:
//tools/... \
//providers/... \
//test/go/... \
-//test/go:test_calculator_component_provides_info \
-//test/go:test_calculator_component_valid_wasm \
-//test/go:test_calculator_exports_verification \
-//test/go:all_go_tests \
-//test/go:go_component_tests \
-//test/go:go_integration_tests \
-//test/go:test_calculator_component_valid_wasm \
-//test/go:test_debug_component_valid_wasm \
-//test/go:test_http_service_exports_verification \
//test/cpp/... \
//test/unit/... \
//test/integration/... \
//docs-site/... \
-//examples/cpp_component/multi_component_system:analytics_service \
-//examples/go_component:calculator_component \
-//examples/go_component:calculator_component_debug \
-//examples/go_component:calculator_simple \
-//examples/go_component:calculator_simple_binding \
-//examples/go_component:calculator_manual \
-//examples/go_component:calculator_docs \
-//examples/go_component:simple_calculator_wit \
-//examples/simple_oci_test/... \
-//examples/microservices_architecture/... \
-//test/integration:validate_consumer_deps \
Expand Down
12 changes: 6 additions & 6 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ rust.toolchain(
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
],
versions = ["1.88.0"],
versions = ["1.90.0"],
)
use_repo(rust, "rust_toolchains")

Expand All @@ -58,22 +58,22 @@ register_toolchains("@rust_toolchains//:all")

# Go toolchain setup
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(version = "1.25.0")
go_sdk.download(version = "1.25.2")
use_repo(go_sdk, "go_toolchains")

register_toolchains("@go_toolchains//:all")

# WASI WIT interface definitions
wasi_wit_ext = use_extension("//wasm:extensions.bzl", "wasi_wit")
wasi_wit_ext.init()
use_repo(wasi_wit_ext, "wasi_cli", "wasi_cli_v020", "wasi_clocks", "wasi_clocks_v020", "wasi_filesystem", "wasi_http", "wasi_io", "wasi_io_v020", "wasi_nn", "wasi_nn_v0_2_0_rc_2024_06_25", "wasi_nn_v0_2_0_rc_2024_08_19", "wasi_random", "wasi_sockets") # Complete WASI ecosystem (0.2.3 + 0.2.0 + all NN versions)
use_repo(wasi_wit_ext, "wasi_cli", "wasi_cli_v020", "wasi_clocks", "wasi_clocks_v020", "wasi_filesystem", "wasi_filesystem_v020", "wasi_http", "wasi_io", "wasi_io_v020", "wasi_nn", "wasi_nn_v0_2_0_rc_2024_06_25", "wasi_nn_v0_2_0_rc_2024_08_19", "wasi_random", "wasi_random_v020", "wasi_sockets", "wasi_sockets_v020") # Complete WASI ecosystem (0.2.3 + 0.2.0 + all NN versions)

# WebAssembly toolchains
wasm_toolchain = use_extension("//wasm:extensions.bzl", "wasm_toolchain")
wasm_toolchain.register(
name = "wasm_tools",
strategy = "download", # Download strategy with improved error messages for signing
version = "1.235.0",
version = "1.240.0",
)
use_repo(wasm_toolchain, "wasm_tools_toolchains")

Expand All @@ -84,7 +84,7 @@ wkg = use_extension("//wasm:extensions.bzl", "wkg")
wkg.register(
name = "wkg",
strategy = "download",
version = "0.11.0",
version = "0.12.0",
)
use_repo(wkg, "wkg_toolchain")

Expand Down Expand Up @@ -141,7 +141,7 @@ wasmtime = use_extension("//wasm:extensions.bzl", "wasmtime")
wasmtime.register(
name = "wasmtime",
strategy = "download",
version = "35.0.0",
version = "37.0.2",
)
use_repo(wasmtime, "wasmtime_toolchain")

Expand Down
1,428 changes: 939 additions & 489 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

81 changes: 78 additions & 3 deletions checksums/registry.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _get_fallback_checksums(tool_name):
"wasm-tools": {
"tool_name": "wasm-tools",
"github_repo": "bytecodealliance/wasm-tools",
"latest_version": "1.239.0",
"latest_version": "1.240.0",
"versions": {
"1.235.0": {
"release_date": "2024-12-15",
Expand Down Expand Up @@ -111,6 +111,31 @@ def _get_fallback_checksums(tool_name):
},
},
},
"1.240.0": {
"release_date": "2025-10-08",
"platforms": {
"darwin_amd64": {
"sha256": "8959eb9f494af13868af9e13e74e4fa0fa6c9306b492a9ce80f0e576eb10c0c6",
"url_suffix": "x86_64-macos.tar.gz",
},
"darwin_arm64": {
"sha256": "ecdce0140b4b6394b4fa6deab53f19037ce08e8d618e6a7d108b455504ab03e7",
"url_suffix": "aarch64-macos.tar.gz",
},
"linux_amd64": {
"sha256": "b6ad301b8ac65e283703d1a5cf79280058a5f5699f8ff1fcaf66dbcf80a9efae",
"url_suffix": "x86_64-linux.tar.gz",
},
"linux_arm64": {
"sha256": "e3d497196bf99a31a62c885d2f5c3aa1e4d4a6bc02c1bff735ffa6a4c7aa9c2f",
"url_suffix": "aarch64-linux.tar.gz",
},
"windows_amd64": {
"sha256": "0019dfc4b32d63c1392aa264aed2253c1e0c2fb09216f8e2cc269bbfb8bb49b5",
"url_suffix": "x86_64-windows.tar.gz",
},
},
},
},
},
"wit-bindgen": {
Expand Down Expand Up @@ -230,7 +255,7 @@ def _get_fallback_checksums(tool_name):
"wkg": {
"tool_name": "wkg",
"github_repo": "bytecodealliance/wasm-pkg-tools",
"latest_version": "0.11.0",
"latest_version": "0.12.0",
"versions": {
"0.11.0": {
"release_date": "2025-06-19",
Expand All @@ -257,12 +282,37 @@ def _get_fallback_checksums(tool_name):
},
},
},
"0.12.0": {
"release_date": "2025-10-01",
"platforms": {
"darwin_amd64": {
"sha256": "15ea13c8fc1d2fe93fcae01f3bdb6da6049e3edfce6a6c6e7ce9d3c620a6defd",
"binary_name": "wkg-x86_64-apple-darwin",
},
"darwin_arm64": {
"sha256": "0048768e7046a5df7d8512c4c87c56cbf66fc12fa8805e8fe967ef2118230f6f",
"binary_name": "wkg-aarch64-apple-darwin",
},
"linux_amd64": {
"sha256": "444e568ce8c60364b9887301ab6862ef382ac661a4b46c2f0d2f0f254bd4e9d4",
"binary_name": "wkg-x86_64-unknown-linux-gnu",
},
"linux_arm64": {
"sha256": "ebd6ffba1467c16dba83058a38e894496247fc58112efd87d2673b40fc406652",
"binary_name": "wkg-aarch64-unknown-linux-gnu",
},
"windows_amd64": {
"sha256": "0019dfc4b32d63c1392aa264aed2253c1e0c2fb09216f8e2cc269bbfb8bb49b5",
"binary_name": "wkg-x86_64-pc-windows-gnu",
},
},
},
},
},
"wasmtime": {
"tool_name": "wasmtime",
"github_repo": "bytecodealliance/wasmtime",
"latest_version": "35.0.0",
"latest_version": "37.0.2",
"versions": {
"35.0.0": {
"release_date": "2025-07-22",
Expand All @@ -289,6 +339,31 @@ def _get_fallback_checksums(tool_name):
},
},
},
"37.0.2": {
"release_date": "2025-09-04",
"platforms": {
"darwin_amd64": {
"sha256": "6bbc40d77e4779f711af60314b32c24371ffc9dbcb5d8b9961bd93ecd9e0f111",
"url_suffix": "x86_64-macos.tar.xz",
},
"darwin_arm64": {
"sha256": "369012921015d627c51fa9e1d1c5b7dff9b3d799a7ec5ce7d0b27bc40434e91c",
"url_suffix": "aarch64-macos.tar.xz",
},
"linux_amd64": {
"sha256": "a84fef229c2d11e3635ea369688971dc48abc0732f7b50b696699183043f962e",
"url_suffix": "x86_64-linux.tar.xz",
},
"linux_arm64": {
"sha256": "eb306a71e3ec232815326ca6354597b43c565b9ceda7d771529bfc4bd468dde9",
"url_suffix": "aarch64-linux.tar.xz",
},
"windows_amd64": {
"sha256": "9aaa2406c990e773cef8d90f409982fac28d3d330ad40a5fab1233b8c5d88795",
"url_suffix": "x86_64-windows.zip",
},
},
},
},
},
"wasi-sdk": {
Expand Down
54 changes: 52 additions & 2 deletions checksums/tools/wasm-tools.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"tool_name": "wasm-tools",
"github_repo": "bytecodealliance/wasm-tools",
"latest_version": "1.236.0",
"last_checked": "2025-08-02T04:35:34.862279Z",
"latest_version": "1.240.0",
"last_checked": "2025-10-09T00:00:00.000000Z",
"supported_platforms": [
"darwin_amd64",
"darwin_arm64",
Expand Down Expand Up @@ -56,6 +56,56 @@
"url_suffix": "x86_64-linux.tar.gz"
}
}
},
"1.239.0": {
"release_date": "2024-09-09",
"platforms": {
"darwin_amd64": {
"sha256": "d62482e2bfe65a05f4c313f2d57b09736054e37f4dfe94b4bdf7b4713b03fa02",
"url_suffix": "x86_64-macos.tar.gz"
},
"darwin_arm64": {
"sha256": "b65777dcb9873b404e50774b54b61b703eb980cadb20ada175a8bf74bfe23706",
"url_suffix": "aarch64-macos.tar.gz"
},
"linux_amd64": {
"sha256": "be1764c1718a2ed90cdd3e1ed2fe6e4c6b3e2b69fb6ba9a85bcafdca5146a3b9",
"url_suffix": "x86_64-linux.tar.gz"
},
"linux_arm64": {
"sha256": "54bb0fdad016a115bde8dd7d2cd63e88d0b136a44ab23ae9c3ff4d4d48d5fa4d",
"url_suffix": "aarch64-linux.tar.gz"
},
"windows_amd64": {
"sha256": "0019dfc4b32d63c1392aa264aed2253c1e0c2fb09216f8e2cc269bbfb8bb49b5",
"url_suffix": "x86_64-windows.tar.gz"
}
}
},
"1.240.0": {
"release_date": "2025-10-08",
"platforms": {
"darwin_amd64": {
"sha256": "8959eb9f494af13868af9e13e74e4fa0fa6c9306b492a9ce80f0e576eb10c0c6",
"url_suffix": "x86_64-macos.tar.gz"
},
"darwin_arm64": {
"sha256": "ecdce0140b4b6394b4fa6deab53f19037ce08e8d618e6a7d108b455504ab03e7",
"url_suffix": "aarch64-macos.tar.gz"
},
"linux_amd64": {
"sha256": "b6ad301b8ac65e283703d1a5cf79280058a5f5699f8ff1fcaf66dbcf80a9efae",
"url_suffix": "x86_64-linux.tar.gz"
},
"linux_arm64": {
"sha256": "e3d497196bf99a31a62c885d2f5c3aa1e4d4a6bc02c1bff735ffa6a4c7aa9c2f",
"url_suffix": "aarch64-linux.tar.gz"
},
"windows_amd64": {
"sha256": "0019dfc4b32d63c1392aa264aed2253c1e0c2fb09216f8e2cc269bbfb8bb49b5",
"url_suffix": "x86_64-windows.tar.gz"
}
}
}
}
}
29 changes: 27 additions & 2 deletions checksums/tools/wasmtime.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"tool_name": "wasmtime",
"github_repo": "bytecodealliance/wasmtime",
"latest_version": "35.0.0",
"last_checked": "2025-08-02T04:35:39.086536Z",
"latest_version": "37.0.2",
"last_checked": "2025-10-09T00:00:00.000000Z",
"versions": {
"35.0.0": {
"release_date": "2025-07-22",
Expand Down Expand Up @@ -53,6 +53,31 @@
"url_suffix": "aarch64-linux.tar.xz"
}
}
},
"37.0.2": {
"release_date": "2025-09-04",
"platforms": {
"darwin_amd64": {
"sha256": "6bbc40d77e4779f711af60314b32c24371ffc9dbcb5d8b9961bd93ecd9e0f111",
"url_suffix": "x86_64-macos.tar.xz"
},
"darwin_arm64": {
"sha256": "369012921015d627c51fa9e1d1c5b7dff9b3d799a7ec5ce7d0b27bc40434e91c",
"url_suffix": "aarch64-macos.tar.xz"
},
"linux_amd64": {
"sha256": "a84fef229c2d11e3635ea369688971dc48abc0732f7b50b696699183043f962e",
"url_suffix": "x86_64-linux.tar.xz"
},
"linux_arm64": {
"sha256": "eb306a71e3ec232815326ca6354597b43c565b9ceda7d771529bfc4bd468dde9",
"url_suffix": "aarch64-linux.tar.xz"
},
"windows_amd64": {
"sha256": "9aaa2406c990e773cef8d90f409982fac28d3d330ad40a5fab1233b8c5d88795",
"url_suffix": "x86_64-windows.zip"
}
}
}
}
}
Loading