{"record":{"id":"fe49c8ad3e2077b8","repo":"diegosouzapw/OmniRoute","slug":"startup-memory-backend-initialization-failed-no","errorCode":null,"errorMessage":"[STARTUP] memory backend initialization failed (non-fatal):","messagePattern":"\\[STARTUP\\] memory backend initialization failed \\(non-fatal\\):","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/instrumentation-node.ts","lineNumber":666,"sourceCode":"      // Doubly opt-in (no-op unless MEMORY_TYPED_DECAY_ENABLED=true AND\n      // MEMORY_TYPED_DECAY_SWEEP_INTERVAL>0). Never deletes by default. Never fatal.\n      import(\"@/lib/memory/typedDecay\")\n        .then((m) => m.startMemoryDecaySweep())\n        .catch((err: unknown) => {\n          const msg = err instanceof Error ? err.message : String(err);\n          console.warn(\"[STARTUP] memory decay sweep failed to start (non-fatal):\", msg);\n        }),\n\n      // MemoryBackend provider pattern (PR #8752): initialize configured memory\n      // backends from settings (sqlite, obsidian, notion, custom HTTP, etc.).\n      // Reads the DB settings synchronously (non-blocking, never fatal). Must\n      // run after the DB is ready AND after getSettings/applyRuntimeSettings so\n      // memory backend config is hydrated.\n      import(\"@/lib/memory/index\")\n        .then((m) => m.initMemoryBackends())\n        .catch((err: unknown) => {\n          const msg = err instanceof Error ? err.message : String(err);\n          console.warn(\"[STARTUP] memory backend initialization failed (non-fatal):\", msg);\n        }),\n\n      // Backup schedule (#8513): execute `backup-schedule.json` cron server-side.\n      // Reads the schedule written by `omniroute backup auto enable` and fires\n      // `runBackupCommand` when the cron expression matches. Self-gated: no-op\n      // when no schedule file exists or the schedule is disabled. Never fatal.\n      import(\"@/lib/jobs/backupScheduleJob\")\n        .then((m) => m.startBackupScheduleJob())\n        .catch((err: unknown) => {\n          const msg = err instanceof Error ? err.message : String(err);\n          console.warn(\"[STARTUP] backup schedule job failed to start (non-fatal):\", msg);\n        }),\n\n      // Real-time dashboard WebSocket daemon (port 20132): powers Combo Studio Live,\n      // the Home live-pulse, and Live Compression. Side-effect import triggers the\n      // flag-gated auto-start (OMNIROUTE_ENABLE_LIVE_WS, default ON).\n      import(\"@/server/ws/liveServer\")\n        .then(() => {","sourceCodeStart":648,"sourceCodeEnd":684,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/instrumentation-node.ts#L648-L684","documentation":"Error \"[STARTUP] memory backend initialization failed (non-fatal):\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/instrumentation-node.ts:666 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"}