{"record":{"id":"aac2911da6c8fe72","repo":"diegosouzapw/OmniRoute","slug":"startup-could-not-warm-adaptive-virtual-lanes-fl","errorCode":null,"errorMessage":"[STARTUP] Could not warm adaptive virtual lanes flag (non-fatal):","messagePattern":"\\[STARTUP\\] Could not warm adaptive virtual lanes flag \\(non-fatal\\):","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/instrumentation-node.ts","lineNumber":259,"sourceCode":" * construction, so this must run before the first request touches it — hence\n * awaited here, after ensureDbReadyForBoot(). Non-fatal.\n *\n * Exported (rather than inline in registerNodejs()) so it can be unit tested\n * directly without exercising the rest of the startup sequence.\n */\nexport async function warmAdaptiveVirtualLanesIntoRuntime(): Promise<void> {\n  try {\n    const { warmAdaptiveVirtualLanesIntoRuntime: warm } =\n      await import(\"@/lib/admissionVirtualLanes\");\n    const materialized = await warm();\n    if (materialized) {\n      console.log(\n        \"[STARTUP] Adaptive virtual lanes flag materialized from dashboard override (#9654)\"\n      );\n    }\n  } catch (err: unknown) {\n    const msg = err instanceof Error ? err.message : String(err);\n    console.warn(\"[STARTUP] Could not warm adaptive virtual lanes flag (non-fatal):\", msg);\n  }\n}\n\nexport async function registerNodejs(): Promise<void> {\n  markServerStarting();\n\n  // Rename the process title so OmniRoute is identifiable in ps/htop instead\n  // of the generic \"next-server\" standalone server name.\n  process.title = renameProcessTitle(process.title);\n\n  // Initialize proxy fetch patch FIRST (before any HTTP requests)\n  await import(\"@omniroute/open-sse/index.ts\");\n  console.log(\"[STARTUP] Global fetch proxy patch initialized\");\n\n  // Guarantee the SQLite singleton — including a sql.js WASM pre-init when\n  // both synchronous drivers (better-sqlite3, node:sqlite) are unavailable —\n  // is ready before ANY other startup step reaches getDbInstance(). This\n  // MUST run before ensureSecrets, clearStaleCrashCooldowns,","sourceCodeStart":241,"sourceCodeEnd":277,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/instrumentation-node.ts#L241-L277","documentation":"Error \"[STARTUP] Could not warm adaptive virtual lanes flag (non-fatal):\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/instrumentation-node.ts:259 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"}