diegosouzapw/OmniRoute · error

[ARENA_ELO_SYNC] Sync failed:

Error message

[ARENA_ELO_SYNC] Sync failed:

What it means

Error "[ARENA_ELO_SYNC] Sync failed:" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/lib/arenaEloSync.ts:429

    if (!dryRun) {
      lastSyncTime = new Date().toISOString();
      lastSyncModelCount = entries.length;
    }

    const countLabel = dryRun ? "would sync" : "synced";
    console.log(
      `[ARENA_ELO_SYNC] ${countLabel} ${entries.length} model intelligence entries from Arena leaderboards`
    );

    return {
      success: true,
      modelCount: entries.length,
      source: "arena_elo",
    };
  } catch (err) {
    const message = err instanceof Error ? err.message : String(err);
    console.warn("[ARENA_ELO_SYNC] Sync failed:", message);
    return {
      success: false,
      modelCount: 0,
      source: "arena_elo",
      error: message,
    };
  } finally {
    syncInProgress = false;
  }
}

// ─── Clear synced data ───────────────────────────────────

/**
 * Clear all synced intelligence data (arena_elo source).
 *
 * Iterates through all arena_elo entries and deletes them one by one,
 * since the DB module provides per-key deletion. This is used by the

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/arenaEloSync.ts:429 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/bc4a02956c82922a. Report an issue: GitHub.