From 85dfcd36f9f2fc498a2968ce2872a2438c49b09e Mon Sep 17 00:00:00 2001 From: Scott Werner Date: Mon, 3 Aug 2026 15:32:36 -0400 Subject: [PATCH] Scope synchronous fixture I/O allowance to tests --- lib/components/fabro-workflow/src/operations/create.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/components/fabro-workflow/src/operations/create.rs b/lib/components/fabro-workflow/src/operations/create.rs index ffd29f3b6..bf10a905c 100644 --- a/lib/components/fabro-workflow/src/operations/create.rs +++ b/lib/components/fabro-workflow/src/operations/create.rs @@ -1,7 +1,9 @@ -#![expect( - clippy::disallowed_methods, - reason = "sync workflow creation path: reads workflow.toml during workflow load and persists \ - .fabro scaffolding outside the Tokio execution hot path" +#![cfg_attr( + test, + expect( + clippy::disallowed_methods, + reason = "tests write workflow fixture files synchronously before exercising async creation" + ) )] use std::collections::{BTreeMap, HashMap};