ruvnet/ruflo · error · QECoreError

Quality gate workflow failed

Error message

Quality gate workflow failed

What it means

The quality-gate workflow executed with failFast=true and a required gate step failed (or the 30s timeout hit), so the workflow runner returned success=false and the bridge rethrows this error. The root cause is in the step results — a gate condition was not met — not in the bridge.

Solutions

  1. Read the workflow failure details to find which gate step failed.
  2. Fix the failing quality check or adjust gate thresholds.
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at v3/plugins/agentic-qe/src/bridges/QECoreBridge.ts:331 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/758e5008fa90559f. Report an issue: GitHub.

Appendix: source

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

        steps,
        failFast: true, // Stop on first required gate failure
        timeout: 30000, // 30s timeout
      });

      // Transform to QE format
      const workflowResult: WorkflowResult = {
        workflowId: result.workflowId,
        success: result.success,
        stepResults: result.stepResults.map((step) => this.transformStepResult(step, gates)),
        durationMs: result.durationMs,
        output: this.buildQualityGateOutput(result.stepResults, gates, metrics),
      };

      this.logger.info(`Quality gate workflow complete: ${result.success ? 'PASSED' : 'FAILED'}`);
      return workflowResult;
    } catch (error) {
      this.logger.error('Quality gate workflow failed', error);
      throw new QECoreError('Quality gate workflow failed', error as Error);
    }
  }

  /**
   * Get configuration value
   */
  async getConfig<T>(key: string): Promise<T | undefined> {
    try {
      return await this.config.get<T>(key);
    } catch (error) {
      this.logger.warn(`Failed to get config: ${key}`, error);
      return undefined;
    }
  }

  /**
   * List available agents by type
   */

View on GitHub (pinned to fa13ee4ad6)