{"record":{"id":"2f9a925ca7b9da91","repo":"diegosouzapw/OmniRoute","slug":"hot-reload-runtime-config-reload-failed-for-so","errorCode":null,"errorMessage":"[HOT_RELOAD] Runtime config reload failed for ${source}:","messagePattern":"\\[HOT_RELOAD\\] Runtime config reload failed for (.+?):","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/lib/config/hotReload.ts","lineNumber":52,"sourceCode":"      .join(\", \")}`\n  );\n}\n\nasync function runHotReloadCheck(source: string) {\n  const settings = await getSettings();\n  const changes = await applyRuntimeSettings(settings, { source });\n  logChanges(source, changes);\n}\n\nfunction queueHotReloadCheck(source: string) {\n  if (activeCheck) {\n    queuedSource = source;\n    return;\n  }\n\n  activeCheck = runHotReloadCheck(source)\n    .catch((error) => {\n      console.warn(\n        `[HOT_RELOAD] Runtime config reload failed for ${source}:`,\n        error instanceof Error ? error.message : error\n      );\n    })\n    .finally(() => {\n      activeCheck = null;\n      if (!queuedSource) return;\n      const nextSource = queuedSource;\n      queuedSource = null;\n      queueHotReloadCheck(nextSource);\n    });\n}\n\nexport function startRuntimeConfigHotReload(options: { pollIntervalMs?: number } = {}) {\n  if (pollTimer || sqliteWatcher) return;\n\n  const pollIntervalMs = Math.max(\n    options.pollIntervalMs || getPollIntervalMs(),","sourceCodeStart":34,"sourceCodeEnd":70,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/config/hotReload.ts#L34-L70","documentation":"Error \"[HOT_RELOAD] Runtime config reload failed for ${source}:\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/config/hotReload.ts:52 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}