Skip to content

Commit 599709e

Browse files
committed
chore(api): updates stale JSDoc, removes orphaned fixtures
1 parent 3b1c040 commit 599709e

File tree

4 files changed

+2
-189
lines changed

4 files changed

+2
-189
lines changed

src/app/services/api.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -736,14 +736,11 @@ export async function fetchRepos(
736736
return repos;
737737
}
738738

739-
// ── Step 3: fetchIssues (Search API) ─────────────────────────────────────────
739+
// ── Step 3: fetchIssues (GraphQL Search) ─────────────────────────────────────
740740

741741
/**
742742
* Fetches open issues across repos where the user is involved (author, assignee,
743-
* mentioned, or commenter) using the GitHub Search API.
744-
*
745-
* Before: 3 API calls per repo (creator/assignee/mentioned) = 225 calls for 75 repos.
746-
* After: ~3 search calls total (batched in chunks of 30 repos).
743+
* mentioned, or commenter) using GraphQL search queries, batched in chunks of 30 repos.
747744
*/
748745
export interface FetchIssuesResult {
749746
issues: Issue[];

tests/fixtures/github-prs.json

Lines changed: 0 additions & 80 deletions
This file was deleted.

tests/fixtures/github-search-issues.json

Lines changed: 0 additions & 71 deletions
This file was deleted.

tests/fixtures/github-search-prs.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)