force WAL sync after session create (#5202)

This commit is contained in:
Jack Amadeo
2025-10-16 11:00:36 -04:00
committed by GitHub
parent ceba54d60c
commit 6c25600356
4 changed files with 17 additions and 14 deletions
+3 -2
View File
@@ -133,7 +133,7 @@ async fn offer_extension_debugging_help(
}
// Create the debugging session
let mut debug_session = CliSession::new(debug_agent, None, false, None, None, None, None);
let mut debug_session = CliSession::new(debug_agent, None, false, None, None, None, None).await;
// Process the debugging request
println!("{}", style("Analyzing the extension failure...").yellow());
@@ -465,7 +465,8 @@ pub async fn build_session(session_config: SessionBuilderConfig) -> CliSession {
session_config.max_turns,
edit_mode,
session_config.retry_config.clone(),
);
)
.await;
// Add stdio extensions if provided
for extension_str in session_config.extensions {