LearnNewsExamplesServices
Frontmatter
id7532
titleMake start_database Hybrid-Aware
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 17, 2025, 3:03 PM
updatedAtOct 17, 2025, 3:24 PM
githubUrlhttps://github.com/neomjs/neo/issues/7532
authortobiu
commentsCount0
parentIssue7529
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 17, 2025, 3:24 PM

Make start_database Hybrid-Aware

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 17, 2025, 3:03 PM

The start_database tool is not hybrid-aware. It doesn't check if a ChromaDB instance is already running on the target port before attempting to spawn a new one. This needs to be corrected to support developers who prefer to manage the DB process manually.

Acceptance Criteria

  1. The knowledgeBase object in ai/mcp/server/config.mjs is updated with host and port properties.
  2. The start_database function in knowledge-base/services/databaseLifecycleService.mjs is updated.
  3. It first performs a heartbeat check on the configured host and port.
  4. If the heartbeat is successful, it returns a status indicating the database is already running and does not spawn a new process.
  5. If the heartbeat fails, it proceeds with spawning a new background process.
tobiu assigned to @tobiu on Oct 17, 2025, 3:03 PM
tobiu added the enhancement label on Oct 17, 2025, 3:03 PM
tobiu added the ai label on Oct 17, 2025, 3:03 PM
tobiu added parent issue #7529 on Oct 17, 2025, 3:03 PM
tobiu referenced in commit 93f278f - "Make start_database Hybrid-Aware #7532" on Oct 17, 2025, 3:24 PM
tobiu closed this issue on Oct 17, 2025, 3:24 PM