LearnNewsExamplesServices
Frontmatter
id9724
titleStabilize GraphService Initialization Race conditions and Memory bounds
stateClosed
labels
bugai
assigneestobiu
createdAtApr 5, 2026, 11:03 PM
updatedAtApr 6, 2026, 8:11 PM
githubUrlhttps://github.com/neomjs/neo/issues/9724
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 6, 2026, 8:11 PM

Stabilize GraphService Initialization Race conditions and Memory bounds

Closedbugai
tobiu
tobiu commented on Apr 5, 2026, 11:03 PM

Resolves Foreign Key errors hitting GraphService.initAsync due to parallel Node GraphService script evaluations competing for storage resources inside unit test runners.

Also fixes LRU matrix count assertion bugs inside GraphService.spec.mjs test by establishing safe .db.clear() runtime isolations to guarantee that the RAM footprint bounds remain accurately tested without data leakage.

tobiu added the bug label on Apr 5, 2026, 11:03 PM
tobiu added the ai label on Apr 5, 2026, 11:03 PM
tobiu assigned to @tobiu on Apr 5, 2026, 11:09 PM
tobiu referenced in commit 8a4221a - "fix(GraphService): Eliminate async parallel initialization conditions and flush strict db scopes (#9724)" on Apr 5, 2026, 11:52 PM
tobiu referenced in commit 150daee - "feat(MemoryCore): Add Ollama process lifecycle management and cleanup (#9724)" on Apr 5, 2026, 11:52 PM
tobiu closed this issue on Apr 6, 2026, 8:11 PM