Skip to content

api(issues): list_issues executes unpaginated serial git subprocesses on worker runtime #450

Open

Description

@euxarist

Summary

In crates/gitlawb-node/src/api/issues.rs:108 and crates/gitlawb-node/src/git/issues.rs:85-102, list_issues() resolves issue refs and executes synchronous git cat-file blob subprocesses serially on the async worker thread.

Impact

Repositories with many issue refs cause thread starvation and elevated latency on public reads without pagination or batching.

Remediation

Add pagination bounds and move git operations to a bounded blocking pool or batch read mechanism.

Activity

  1. added
    crate:node
    kind:perf
    sev:medium
    subsystem:api
    on Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    crate:nodekind:perfsev:mediumsubsystem:api

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions