From 5a4a25ccc7c6fcc68d8eb69e1ca8bf1fb4f7a3a4 Mon Sep 17 00:00:00 2001 From: Scott Werner Date: Sat, 1 Aug 2026 17:35:35 -0400 Subject: [PATCH] Remove the run-creation reopen fallback --- .../fabro-workflow/src/operations/create.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/components/fabro-workflow/src/operations/create.rs b/lib/components/fabro-workflow/src/operations/create.rs index 780599b02..15d4f85b6 100644 --- a/lib/components/fabro-workflow/src/operations/create.rs +++ b/lib/components/fabro-workflow/src/operations/create.rs @@ -522,14 +522,10 @@ async fn persist_created_run( web_url: Option, ) -> Result<(), Error> { let record = persisted.run_spec(); - let run_store = match store.create_run(&record.run_id).await { - Ok(run_store) => run_store, - Err(err) => store - .open_run(&record.run_id) - .await - .map_err(|open_err| Error::engine(open_err.to_string())) - .map_err(|_| Error::engine(err.to_string()))?, - }; + let run_store = store + .create_run(&record.run_id) + .await + .map_err(|err| Error::engine_with_source("failed to create run store", err))?; let manifest_blob = match submitted_manifest_bytes { Some(bytes) => Some(run_store.write_blob(bytes).await.map_err(store_error)?), None => None,