ruvnet/ruflo · error · QECoreError
Failed to create test task
Error message
Failed to create test task
What it means
QECoreBridge.createTestTask caught an error from the underlying task-creation call (invalid task spec, orchestrator unavailable) and rethrew as QECoreError with the cause attached. The task object for the test suite (framework, config, 2x-duration timeout) could not be registered with the core.
Source
Thrown at v3/plugins/agentic-qe/src/bridges/QECoreBridge.ts:283
framework: testSuite.framework,
config: testSuite.config,
},
timeout: testSuite.estimatedDuration * 2, // 2x safety margin
});
const handle = new TaskHandleImpl(
createdTask,
this.tasks,
this.logger
);
this.activeHandles.set(handle.id, handle);
this.logger.debug(`Created test task: ${handle.id}`);
return handle;
} catch (error) {
this.logger.error('Failed to create test task', error);
throw new QECoreError('Failed to create test task', error as Error);
}
}
/**
* Execute quality gate workflow
*/
async executeQualityGateWorkflow(
gates: QualityGate[],
metrics: QualityMetrics
): Promise<WorkflowResult> {
try {
this.logger.info(`Executing quality gate workflow with ${gates.length} gates`);
// Build workflow steps from quality gates
const steps: WorkflowStep[] = gates.map((gate) => ({
name: `gate-${gate.id}`,
type: 'condition' as const,
config: {View on GitHub (pinned to fa13ee4ad6)
Solutions
- Inspect the underlying error from task creation.
- Verify the core bridge is initialized and the task payload is valid.
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at v3/plugins/agentic-qe/src/bridges/QECoreBridge.ts:283 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/220599e7d06d2a4a.
Report an issue: GitHub.