ruvnet/ruflo · error

Failed to get config: ${key}

Error message

Failed to get config: ${key}

What it means

Log warning in getConfig: reading the requested key from the QE config backend threw; the method degrades and returns undefined for that key so the caller falls back to defaults.

Source

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

        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
   */
  async listAgents(filter?: { type?: string; status?: string }): Promise<AgentHandle[]> {
    try {
      this.logger.debug(`Listing agents with filter: ${JSON.stringify(filter)}`);

      const agents = await this.agents.list({
        type: filter?.type,
        status: filter?.status,
      });

      // Filter to only QE agents
      const qeAgents = agents.filter((a) => a.type.startsWith('qe-'));

View on GitHub (pinned to fa13ee4ad6)

Solutions

  1. Verify the config key exists in the QE core configuration store; set it before reading.
Defensive patterns

Strategy: try-catch

When it happens

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