mirror of
https://github.com/rookiestar28/ComfyUI-OpenClaw.git
synced 2026-08-14 00:48:07 +00:00
33 lines
951 B
Python
33 lines
951 B
Python
"""
|
|
Debug script for S35 Transform Isolation.
|
|
Verifies that the correct executor (TransformProcessRunner) is allowed/loaded.
|
|
"""
|
|
|
|
import os
|
|
import sys
|
|
|
|
# Ensure project root is in path
|
|
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
from services.constrained_transforms import get_transform_executor
|
|
from services.transform_runner import TransformProcessRunner
|
|
|
|
|
|
def main():
|
|
print("Checking S35 Transform Executor...")
|
|
executor = get_transform_executor()
|
|
print(f"Executor Type: {type(executor)}")
|
|
|
|
if isinstance(executor, TransformProcessRunner):
|
|
print("SUCCESS: TransformProcessRunner is active (Isolation Enabled).")
|
|
else:
|
|
print("WARNING: TransformProcessRunner is NOT active.")
|
|
# Check if feature flag is enabled
|
|
from services.transform_common import is_transforms_enabled
|
|
|
|
print(f"Feature Flag Enabled: {is_transforms_enabled()}")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|