Skip to content

Phase 1: Provide a shared async runtime for database-heavy commands #107

@3vilM33pl3

Description

@3vilM33pl3

User Story

As a developer, I want a shared async runtime/handle for database operations so that commands no longer spin up their own tokio::Runtime, improving performance and error handling.

Acceptance Criteria

  • Convert the CLI entrypoint (or a new runtime manager) to own a single Tokio runtime that commands can borrow, or make command execution async.
  • Update database-heavy commands (commit, status, create, list, etc.) to call async helpers instead of Runtime::new().block_on.
  • Provide tests ensuring commands fail gracefully when the runtime/bootstrap fails, and document the new pattern for future commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    phase1Phase 1 roadmap items

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions