diegosouzapw/OmniRoute · error

[STARTUP] Could not scan combos for model-name collisions (n

Error message

[STARTUP] Could not scan combos for model-name collisions (non-fatal):

What it means

Error "[STARTUP] Could not scan combos for model-name collisions (non-fatal):" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/instrumentation-node.ts:232

 * tested directly without exercising the rest of the startup sequence.
 */
export async function scanComboModelNameCollisionsAtBoot(): Promise<void> {
  try {
    const [{ getCombos }, { scanCombosForModelCollisions }] = await Promise.all([
      import("@/lib/db/combos"),
      import("@/lib/combos/modelNameCollision"),
    ]);
    const collisions = scanCombosForModelCollisions(await getCombos());
    if (collisions.length > 0) {
      console.warn(
        `[STARTUP] ${collisions.length} combo(s) share a name with a real model id (#8530) — ` +
          "intentional per #6940 bare-model-id fallback, but confirm each is expected: " +
          collisions.map((c) => `${c.comboName}→${c.providerId}/${c.modelId}`).join(", ")
      );
    }
  } catch (err: unknown) {
    const msg = err instanceof Error ? err.message : String(err);
    console.warn("[STARTUP] Could not scan combos for model-name collisions (non-fatal):", msg);
  }
}

/**
 * #9654 U7: fold a dashboard DB toggle for the adaptive virtual-lanes flag into
 * the process-global admission runtime's env at boot. Env-wins: no-op when the
 * operator's OMNIROUTE_CHAT_VIRTUAL_LANES env var is set (the lazy runtime
 * already reads process.env correctly). The runtime reads env only at
 * construction, so this must run before the first request touches it — hence
 * awaited here, after ensureDbReadyForBoot(). Non-fatal.
 *
 * Exported (rather than inline in registerNodejs()) so it can be unit tested
 * directly without exercising the rest of the startup sequence.
 */
export async function warmAdaptiveVirtualLanesIntoRuntime(): Promise<void> {
  try {
    const { warmAdaptiveVirtualLanesIntoRuntime: warm } =
      await import("@/lib/admissionVirtualLanes");

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/instrumentation-node.ts:232 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/7b3d0abcf222adf5. Report an issue: GitHub.