Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py

rUv5485cc3b8402
diff --git a/.claude/checkpoints/task-1754484820.json b/.claude/checkpoints/task-1754484820.json
new file mode 100644
index 0000000000..71cd1b0103
--- /dev/null
+++ b/.claude/checkpoints/task-1754484820.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250806-125339", "task": "the time out should be really long, some of the benchmarks could run for many hours. ", "timestamp": "2025-08-06T12:53:40Z", "commit": "33035c29d2712656154b74a1aff76bd4aa26bbab", "github_release": "true"}
diff --git a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
index 33198669ad..59020026db 100644
--- a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
+++ b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
@@ -304,8 +304,8 @@ class RealClaudeFlowExecutor:
if config.additional_flags:
command.extend(config.additional_flags)
- # Set a reasonable timeout (5 minutes)
- timeout = min(config.timeout * 60, 300)
+ # Use the configured timeout (can be hours)
+ timeout = config.timeout * 60 # Convert minutes to seconds
return self._execute_streaming_command(command, timeout)
@@ -344,8 +344,9 @@ class RealClaudeFlowExecutor:
if config.additional_flags:
command.extend(config.additional_flags)
- # Use appropriate timeout
- return self._execute_streaming_command(command, 300) # 5 minute timeout
+ # Use a long timeout for benchmarks (default 6 hours)
+ timeout = 6 * 60 * 60 # 6 hours in seconds
+ return self._execute_streaming_command(command, timeout)
def execute_sparc(self, config: SparcCommand) -> RealExecutionResult:
"""Execute a real SPARC command."""
@@ -373,8 +374,9 @@ class RealClaudeFlowExecutor:
if config.additional_flags:
command.extend(config.additional_flags)
- # Execute with appropriate timeout
- return self._execute_streaming_command(command, 300) # 5 minutes for SPARC
+ # Use a long timeout for SPARC benchmarks (default 2 hours)
+ timeout = 2 * 60 * 60 # 2 hours in seconds
+ return self._execute_streaming_command(command, timeout)
def _execute_streaming_command(self, command: List[str], timeout_seconds: int) -> RealExecutionResult:
"""Execute command and parse streaming output."""