-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
aspect: performanceanything related to performanceanything related to performancecomponent: dashboardfeature: teams and projects [DEPRECATED]Please, use feature: organizations or feature: projects labels instead.Please, use feature: organizations or feature: projects labels instead.priority: highest (user impact)Directly user impactingDirectly user impactingteam: webappIssue belongs to the WebApp teamIssue belongs to the WebApp teamtype: improvementImproves an existing feature or existing codeImproves an existing feature or existing code
Description
Is your feature request related to a problem? Please describe
Currently, when you open a Project, you land on its "Branches" page.
This page synchronously fetches the GitHub/GitLab/Bitbucket API without any cache, and thus typically makes you wait 30-40s before showing anything interesting.
This is terrible, but thankfully it could be pretty easy to fix:
Describe the behaviour you'd like
-
We could start by displaying the branches we already know about (e.g. we could fetch all N latest prebuilds, then derive the list of branches from them, thus making the "Branches" page as fast as the "Prebuilds" page -- and optionally enhance the list with unprebuilt branches later when the data arrives)
-
We could also fetch the GitHub/GitLab/Bitbucket API ahead-of-time and cache the result
Describe alternatives you've considered
Additional context
This is also a customer-reported issue.
Metadata
Metadata
Assignees
Labels
aspect: performanceanything related to performanceanything related to performancecomponent: dashboardfeature: teams and projects [DEPRECATED]Please, use feature: organizations or feature: projects labels instead.Please, use feature: organizations or feature: projects labels instead.priority: highest (user impact)Directly user impactingDirectly user impactingteam: webappIssue belongs to the WebApp teamIssue belongs to the WebApp teamtype: improvementImproves an existing feature or existing codeImproves an existing feature or existing code
Type
Projects
Status
No status