ruvnet/ruflo · error

No baseline found. Capturing initial baseline...

Error message

No baseline found. Capturing initial baseline...

What it means

Bootstrap path in PerformanceBaseline.compare(): no baseline data exists yet, so compare() captures the current metrics as the initial baseline and returns an empty comparison array. First-run seeding, not a regression.

Source

Thrown at v3/@claude-flow/testing/src/regression/performance-baseline.ts:93

    const baseline: BaselineData = {
      version: '1.0.0',
      capturedAt: Date.now(),
      metrics,
    };

    await this.saveBaseline(baseline);
    this.cachedBaseline = baseline;

    return baseline;
  }

  /**
   * Compare current performance against baseline
   */
  async compare(): Promise<BaselineComparison[]> {
    const baseline = await this.loadBaseline();
    if (!baseline) {
      console.warn('No baseline found. Capturing initial baseline...');
      await this.captureBaseline();
      return [];
    }

    const currentMetrics = await this.measureCurrentPerformance();
    const comparisons: BaselineComparison[] = [];

    for (const current of currentMetrics) {
      const baselineMetric = baseline.metrics.find((m) => m.name === current.name);
      if (!baselineMetric) continue;

      const isHigherBetter = current.category === 'throughput';
      const diff = current.value - baselineMetric.value;
      const percentChange = (diff / baselineMetric.value) * 100;

      // For latency/memory, higher is worse. For throughput, lower is worse.
      const degradation = isHigherBetter ? -percentChange : percentChange;

View on GitHub (pinned to fa13ee4ad6)

Solutions

  1. Commit the captured initial performance baseline so future runs can compare against it.
  2. Verify the baseline file path is correct and restore it from version control if it was deleted.
  3. Re-run the baseline capture on representative hardware before trusting comparisons.
Defensive patterns

Strategy: fallback

When it happens

Trigger: Performance regression suite runs without an existing baseline file (first run on a machine, cleaned artifacts, or new benchmark); current timings are captured as the reference baseline.

Common situations: See trigger scenarios.


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