From 5787c2c355d8f3393cdfc0daed45281c3f1c9bc8 Mon Sep 17 00:00:00 2001 From: hugocasa Date: Wed, 8 Jul 2026 18:32:52 +0200 Subject: [PATCH] fix: cfg-gate scope-note helper (dead code on OSS builds) Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01PP5gBSPfo1YtkL1sWVAjJm --- backend/windmill-worker/src/result_processor.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/windmill-worker/src/result_processor.rs b/backend/windmill-worker/src/result_processor.rs index e4485b7918..fab576d01b 100644 --- a/backend/windmill-worker/src/result_processor.rs +++ b/backend/windmill-worker/src/result_processor.rs @@ -1134,6 +1134,7 @@ async fn persist_git_sync_open_pr_error( /// A one-line description of the repo's sync filters, appended to an "in sync" /// PR verdict: a PR that only touches files outside these paths deploys /// nothing on merge, which otherwise looks like a wrong verdict. +#[cfg(all(feature = "enterprise", feature = "private"))] fn format_git_sync_scope_note(include: &[String], exclude: &[String]) -> Option { if include.is_empty() { return None;