Skip to content

repos: remove unread fields from graphql query#1288

Merged
keegancsmith merged 1 commit intomainfrom
k/repos-list
Apr 8, 2026
Merged

repos: remove unread fields from graphql query#1288
keegancsmith merged 1 commit intomainfrom
k/repos-list

Conversation

@keegancsmith
Copy link
Copy Markdown
Member

We didn't actually read the majority of fields on the graphql query for repositories. So we remove all unread fields. In particular this removes the field "Language" which is expensive to compute if not cached.

In practice I suspect this will dramatically improve the performance of "src repos list" command.

We didn't actually read the majority of fields on the graphql query for
repositories. So we remove all unread fields. In particular this removes
the field "Language" which is expensive to compute if not cached.

In practice I suspect this will dramatically improve the performance of
"src repos list" command.
@keegancsmith keegancsmith requested a review from a team April 8, 2026 13:18
@keegancsmith keegancsmith enabled auto-merge (squash) April 8, 2026 13:21
@keegancsmith keegancsmith merged commit 81ef50c into main Apr 8, 2026
9 checks passed
@keegancsmith keegancsmith deleted the k/repos-list branch April 8, 2026 13:24
keegancsmith added a commit that referenced this pull request Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants