Skip to content

Commit 7e99156

Browse files
committed
fix: integration test signatures for Sandbox/AgentDeps/create_worker_tool_server
1 parent 2817e88 commit 7e99156

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

tests/bulletin.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ async fn bootstrap_deps() -> anyhow::Result<spacebot::AgentDeps> {
105105
agent_config.workspace.clone(),
106106
&config.instance_dir,
107107
agent_config.data_dir.clone(),
108+
agent_id.clone(),
108109
)
109110
.await,
110111
);
@@ -137,6 +138,7 @@ async fn bootstrap_deps() -> anyhow::Result<spacebot::AgentDeps> {
137138
),
138139
api_state: None,
139140
wiki_store: None,
141+
wake_tx: None,
140142
})
141143
}
142144

tests/context_dump.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ async fn bootstrap_deps() -> anyhow::Result<(spacebot::AgentDeps, spacebot::conf
104104
agent_config.workspace.clone(),
105105
&config.instance_dir,
106106
agent_config.data_dir.clone(),
107+
agent_id.clone(),
107108
)
108109
.await,
109110
);
@@ -136,6 +137,7 @@ async fn bootstrap_deps() -> anyhow::Result<(spacebot::AgentDeps, spacebot::conf
136137
),
137138
api_state: None,
138139
wiki_store: None,
140+
wake_tx: None,
139141
};
140142

141143
Ok((deps, config))
@@ -425,6 +427,7 @@ async fn dump_worker_context() {
425427
deps.memory_search.clone(),
426428
false,
427429
None,
430+
None,
428431
);
429432

430433
let tool_defs = worker_tool_server
@@ -623,6 +626,7 @@ async fn dump_all_contexts() {
623626
deps.memory_search.clone(),
624627
false,
625628
None,
629+
None,
626630
);
627631
let worker_tool_defs = worker_tool_server.get_tool_defs(None).await.unwrap();
628632
let worker_tools_text = format_tool_defs(&worker_tool_defs);

tests/sandbox_initialization_test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ async fn test_sandbox_creation_in_initialize() {
1616
workspace.path().to_path_buf(),
1717
instance_dir.path(),
1818
data_dir.path().to_path_buf(),
19+
Arc::from("test-agent"),
1920
)
2021
.await;
2122

0 commit comments

Comments
 (0)