diegosouzapw/OmniRoute · error
[STARTUP] Could not warm adaptive virtual lanes flag (non-fa
Error message
[STARTUP] Could not warm adaptive virtual lanes flag (non-fatal):
What it means
Error "[STARTUP] Could not warm adaptive virtual lanes flag (non-fatal):" thrown in diegosouzapw/OmniRoute.
Source
Thrown at src/instrumentation-node.ts:259
* 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");
const materialized = await warm();
if (materialized) {
console.log(
"[STARTUP] Adaptive virtual lanes flag materialized from dashboard override (#9654)"
);
}
} catch (err: unknown) {
const msg = err instanceof Error ? err.message : String(err);
console.warn("[STARTUP] Could not warm adaptive virtual lanes flag (non-fatal):", msg);
}
}
export async function registerNodejs(): Promise<void> {
markServerStarting();
// Rename the process title so OmniRoute is identifiable in ps/htop instead
// of the generic "next-server" standalone server name.
process.title = renameProcessTitle(process.title);
// Initialize proxy fetch patch FIRST (before any HTTP requests)
await import("@omniroute/open-sse/index.ts");
console.log("[STARTUP] Global fetch proxy patch initialized");
// Guarantee the SQLite singleton — including a sql.js WASM pre-init when
// both synchronous drivers (better-sqlite3, node:sqlite) are unavailable —
// is ready before ANY other startup step reaches getDbInstance(). This
// MUST run before ensureSecrets, clearStaleCrashCooldowns,View on GitHub (pinned to a179ffed5b)
When it happens
Trigger: Thrown at src/instrumentation-node.ts:259 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/aac2911da6c8fe72.
Report an issue: GitHub.