Skip to content

Build local issue cache for query performance #129

Description

@remenoscodes

Add a .git/issue-cache file that maps each issue UUID to its current state (title, state, labels, assignee, priority, tip SHA). Regenerate on fetch/merge.

Current performance with 105 issues: ~0.55s for git issue ls.
Extrapolated: ~5s at 1,000 issues, unusable at 10,000.

Cache format (TSV or similar):
\t\t<title>\t\t\t\t

Implementation:

  • git issue ls reads cache first, falls back to git for-each-ref if cache missing
  • git issue merge/create/comment/state invalidates cache
  • git issue cache-rebuild regenerates from refs

Priority: LOW until a user reports performance issues. Current scale (< 200 issues) is fine.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions