Skip to content

[node][runtime] Implement start/stop process manager for jongodb #108

Description

@midagedev

Objective

Implement runtime process manager to launch/stop jongodb for Node tests and expose connection URI.

Deliverables

  • start() API with options (port, host, dbPath?, logLevel)
  • process health-check and ready detection
  • stop() teardown with timeout handling
  • deterministic temp-resource cleanup

Success Criteria

  • start/stop works repeatedly in a single process (>=20 cycles test)
  • returns usable mongodb:// URI for official Node driver
  • failure paths produce actionable errors (spawn fail, port in use, timeout)

Parallel Notes

  • Ownership: runtime launcher only
  • avoid test-runner specific code (Jest/Vitest hooks are separate)

PR Checklist

  • include review comments and follow-up commit before merge
  • add unit tests for timeout/retry/cleanup paths

Depends On

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions