Update daytona-sdk-rust to 06033ca and apply clippy/fmt fixes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-08 22:13:43 -04:00
parent f30effaadd
commit e24d20b439
4 changed files with 18 additions and 22 deletions

24
Cargo.lock generated
View file

@ -857,7 +857,7 @@ version = "3.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.48.0",
]
[[package]]
@ -1176,7 +1176,7 @@ checksum = "d7a1e2f27636f116493b8b860f5546edb47c8d8f8ea73e1d2a20be88e28d1fea"
[[package]]
name = "daytona-api-client"
version = "0.1.0"
source = "git+https://github.com/brynary/daytona-sdk-rust?rev=03b7c06#03b7c0609422a7d3fa20f8e92fbe6b1cc59fa85e"
source = "git+https://github.com/brynary/daytona-sdk-rust?rev=06033ca#06033caaf5d9e12918ae68396048c5c0a98822c6"
dependencies = [
"reqwest 0.12.28",
"reqwest-middleware",
@ -1190,7 +1190,7 @@ dependencies = [
[[package]]
name = "daytona-sdk"
version = "0.1.0"
source = "git+https://github.com/brynary/daytona-sdk-rust?rev=03b7c06#03b7c0609422a7d3fa20f8e92fbe6b1cc59fa85e"
source = "git+https://github.com/brynary/daytona-sdk-rust?rev=06033ca#06033caaf5d9e12918ae68396048c5c0a98822c6"
dependencies = [
"daytona-api-client",
"daytona-toolbox-client",
@ -1209,7 +1209,7 @@ dependencies = [
[[package]]
name = "daytona-toolbox-client"
version = "0.1.0"
source = "git+https://github.com/brynary/daytona-sdk-rust?rev=03b7c06#03b7c0609422a7d3fa20f8e92fbe6b1cc59fa85e"
source = "git+https://github.com/brynary/daytona-sdk-rust?rev=06033ca#06033caaf5d9e12918ae68396048c5c0a98822c6"
dependencies = [
"reqwest 0.12.28",
"reqwest-middleware",
@ -1324,7 +1324,7 @@ dependencies = [
"libc",
"option-ext",
"redox_users",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]
[[package]]
@ -1411,7 +1411,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]
[[package]]
@ -2761,7 +2761,7 @@ version = "0.50.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]
[[package]]
@ -3320,7 +3320,7 @@ dependencies = [
"once_cell",
"socket2",
"tracing",
"windows-sys 0.60.2",
"windows-sys 0.59.0",
]
[[package]]
@ -3709,7 +3709,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]
[[package]]
@ -3777,7 +3777,7 @@ dependencies = [
"security-framework",
"security-framework-sys",
"webpki-root-certs",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]
[[package]]
@ -4587,7 +4587,7 @@ dependencies = [
"getrandom 0.4.1",
"once_cell",
"rustix",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]
[[package]]
@ -5466,7 +5466,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.48.0",
]
[[package]]

View file

@ -54,8 +54,8 @@ hex = "0.4"
tokio-tungstenite = { version = "0.26", features = ["rustls-tls-webpki-roots"] }
futures-util = "0.3"
openssh = "0.11"
daytona-sdk = { git = "https://github.com/brynary/daytona-sdk-rust", rev = "03b7c06", package = "daytona-sdk" }
daytona-api-client = { git = "https://github.com/brynary/daytona-sdk-rust", rev = "03b7c06", package = "daytona-api-client" }
daytona-sdk = { git = "https://github.com/brynary/daytona-sdk-rust", rev = "06033ca", package = "daytona-sdk" }
daytona-api-client = { git = "https://github.com/brynary/daytona-sdk-rust", rev = "06033ca", package = "daytona-api-client" }
# regex is extremely slow in debug builds (~10s to compile gitleaks patterns)
[profile.dev.package.regex]

View file

@ -1265,7 +1265,7 @@ async fn create_completion(
// Get or create LLM client (cached in AppState)
let client = match state
.llm_client
.get_or_try_init(|| arc_llm::client::Client::from_env())
.get_or_try_init(arc_llm::client::Client::from_env)
.await
{
Ok(c) => c,

View file

@ -639,10 +639,7 @@ pub async fn git_checkpoint_remote(
let message = trailerlink::format_message(&subject, "", &trailers);
// Write message to temp file in sandbox to avoid shell escaping issues
if let Err(e) = sandbox
.write_file("/tmp/arc-commit-msg", &message)
.await
{
if let Err(e) = sandbox.write_file("/tmp/arc-commit-msg", &message).await {
return Err(format!("failed to write commit message file: {e}"));
}
@ -1992,9 +1989,8 @@ impl WorkflowRunEngine {
Ok(sha) => {
checkpoint.git_commit_sha = Some(sha.clone());
if let Err(e) = checkpoint.save(&checkpoint_path) {
context.append_log(format!(
"checkpoint re-save with SHA failed: {e}"
));
context
.append_log(format!("checkpoint re-save with SHA failed: {e}"));
}
self.services
.emitter