This repository was archived by the owner on Jun 21, 2023. It is now read-only.
[wip] Find a way to improve the organization list load time#2147
Closed
[wip] Find a way to improve the organization list load time#2147
Conversation
Log the GetPullRequestFiles and GetPullRequestLastCommitAdapter calls.
Also log total number or repositories read.
Load organization repositories by including OrganizationMember in ownerAffiliations rather than iterating over Repositories for each of the viewer's Organizations.
f11a2d8 to
12a33f9
Compare
Otherwise not all visible repositories will be returned.
Collaborator
Author
|
Closing in favor of #2148. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Load organization repositories by including
OrganizationMemberinownerAffiliationsrather than iterating over Repositories for each of the viewer'sOrganizations.Related
List org repos ordered by STARGAZERS not working
https://github.com/github/github/issues/100120
Unable to fetch user’s repositories by organization membership
https://platform.github.9909958.xyzmunity/t/unable-to-fetch-users-repositories-by-organization-membership/7557/6
Fixes #2143