From 30bdda1ef13a3a34fce2cd2fec633f15d832122a Mon Sep 17 00:00:00 2001 From: Maanil Verma Date: Thu, 3 Sep 2026 17:45:08 +0530 Subject: [PATCH] Register partner_run_gate_enabled feature flag (#16012) The frontend's partner-nodes run gate (Comfy-Org/ComfyUI_frontend#15248) reads this key from /features as its kill switch. Registering it makes --feature-flag partner_run_gate_enabled=false coerce to a real boolean; unregistered keys pass through as strings, and the string "false" is truthy to the frontend, so the switch would silently not work. --- comfy_api/feature_flags.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/comfy_api/feature_flags.py b/comfy_api/feature_flags.py index cb14a5be0..9fbef8260 100644 --- a/comfy_api/feature_flags.py +++ b/comfy_api/feature_flags.py @@ -30,6 +30,11 @@ CLI_FEATURE_FLAG_REGISTRY: dict[str, FeatureFlagInfo] = { "default": False, "description": "Signal the frontend that telemetry collection is enabled", }, + "partner_run_gate_enabled": { + "type": "bool", + "default": True, + "description": "Gate the local Run button behind sign-in when the graph contains partner nodes", + }, }