Skip to content

Commit 9e21748

Browse files
authored
Updated to wasmtime v21 and some additional dependencies (#602)
* Updated to wasmtime v21 and some additional dependencies * Updated rust test components * Updated Zig test components * Updated TinyGo test components * Updated Grain test components * Updated the JS test components * Updated the C# test components * Updated the Swift test components * Updated the C test components * Updated the Python test components * Regenerated OpenAPI spec with updated poem * Fix failing_worker test case * Fix blob_storage integration tests * Fixing test framework for the new testcontainers version * Format * Reverted testcontainers update because we cannot stop containers from dtor * Format * Fix CLI tests
1 parent fca0be4 commit 9e21748

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

cli/golem-cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ futures-util = { workspace = true }
3333
golem-examples = "0.2.1"
3434
golem-wasm-ast = { workspace = true }
3535
golem-wasm-rpc = { workspace = true }
36-
golem-wasm-rpc-stubgen = { version = "0.0.26", optional = true }
36+
golem-wasm-rpc-stubgen = { version = "0.0.29", optional = true }
3737
h2 = "0.3.24"
3838
http = { workspace = true }
3939
hyper = { workspace = true }
@@ -48,7 +48,7 @@ serde_json = { workspace = true }
4848
serde_yaml = { workspace = true }
4949
strum = { workspace = true }
5050
strum_macros = { workspace = true }
51-
testcontainers-modules = { version = "0.3.2", features = ["postgres", "redis"] }
51+
testcontainers-modules = { workspace = true }
5252
tokio = { workspace = true }
5353
tokio-tungstenite = { version = "0.20.1", features = ["native-tls"] }
5454
tower = "0.4.13"

cli/golem-cli/src/service/component.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl<ProjectContext: Display + Send + Sync> ComponentService
144144
.await?;
145145
let components: Vec<Component> = components
146146
.into_iter()
147-
.group_by(|c| c.versioned_component_id.component_id)
147+
.chunk_by(|c| c.versioned_component_id.component_id)
148148
.into_iter()
149149
.map(|(_, group)| {
150150
group

cli/golem-cli/tests/text.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ fn text_component_update(
205205
assert_eq!(
206206
*lines.first().unwrap(),
207207
format!(
208-
"Updated component with ID {}. New version: 1. Component size is 72309 bytes.",
208+
"Updated component with ID {}. New version: 1. Component size is 72129 bytes.",
209209
component.component_id
210210
)
211211
);
@@ -256,7 +256,7 @@ fn text_component_get(
256256
assert_eq!(
257257
*lines.first().unwrap(),
258258
format!(
259-
"Component with ID {}. Version: 0. Component size is 72309 bytes.",
259+
"Component with ID {}. Version: 0. Component size is 72129 bytes.",
260260
component.component_id
261261
)
262262
);
@@ -307,7 +307,7 @@ fn text_component_list(
307307
+--------------------------------------+-------------------------------+---------+-------+---------------+
308308
| ID | Name | Version | Size | Exports count |
309309
+--------------------------------------+-------------------------------+---------+-------+---------------+
310-
| {} | {} | 0 | 72309 | 2 |
310+
| {} | {} | 0 | 72129 | 2 |
311311
+--------------------------------------+-------------------------------+---------+-------+---------------+
312312
",
313313
component.component_id,

0 commit comments

Comments
 (0)