ruvnet/ruflo · error · QECoreError

Failed to spawn test executor

Error message

Failed to spawn test executor

What it means

QECoreBridge.spawnTestExecutor caught an error from the underlying agent-spawn call (agent config invalid, core unavailable, or spawn itself threw) and rethrew as QECoreError after logging. The failure is in spawning the executor agent for the given test suite, not in the test suite definition itself.

Source

Thrown at v3/plugins/agentic-qe/src/bridges/QECoreBridge.ts:244

          testCount: testSuite.testCases.length,
          estimatedDuration: testSuite.estimatedDuration,
        },
        model: agentConfig.model,
      });

      const handle = new AgentHandleImpl(
        spawnedAgent,
        this.agents,
        this.logger
      );

      this.activeHandles.set(handle.id, handle);
      this.logger.debug(`Spawned test executor: ${handle.id}`);

      return handle;
    } catch (error) {
      this.logger.error('Failed to spawn test executor', error);
      throw new QECoreError('Failed to spawn test executor', error as Error);
    }
  }

  /**
   * Create a test execution task via V3 Task Service
   */
  async createTestTask(
    testSuite: TestSuite,
    priority: Priority
  ): Promise<TaskHandle> {
    try {
      this.logger.info(`Creating test task for suite: ${testSuite.name} (priority: ${priority})`);

      const createdTask = await this.tasks.create({
        type: 'test-execution',
        description: `Execute test suite: ${testSuite.name}`,
        priority,
        payload: {

View on GitHub (pinned to fa13ee4ad6)

Solutions

  1. Check the test executor binary path and that it is executable.
  2. Inspect the spawn error (ENOENT, EACCES) for the root cause.
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at v3/plugins/agentic-qe/src/bridges/QECoreBridge.ts:244 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18). Data as JSON: /api/errors/c7e25ad9e04c2dec. Report an issue: GitHub.