Skip to content

[Initiative] Datastore Backend: go-memdb #101

@juliuskrah

Description

@juliuskrah

Summary

Implement a go-memdb datastore backend for the new API datastore abstraction as an in-memory option for local development and tests.

Parent initiative: #100

Scope

In Scope

  • Implement datastore interface using go-memdb.
  • Wire backend registration/selection into runtime datastore config.
  • Provide schema/index definitions for required API entities.
  • Add unit/integration tests validating behavior parity with abstraction contract.

Out of Scope

  • Persistence across restarts.
  • Horizontal scaling guarantees.
  • Advanced query optimization beyond required API behavior.

Acceptance Criteria

  • go-memdb backend satisfies the datastore interface contract used by gitstore-api.
  • Runtime config value (e.g. memdb) selects this backend successfully.
  • CRUD operations required by API pass contract tests against go-memdb.
  • Error behavior is documented and consistent with other backends where applicable.

Tracking

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions