gitpod-io / gitpod-io/gitpod

Improve performance for fetching active branches and prebuilds

Open
#5,038 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component: dashboard feature: prebuilds feature: teams and projects [DEPRECATED] meta: never-stale team: webapp user experience
Dominant language
TypeScript
Stars
13.8k
Forks
1.4k
Avg merge
17h 58m
Merged PRs (30d)
5

Description

Problem to solve

Back in https://github.com/gitpod-io/gitpod/pull/4970 we added Branches and Prebuilds pages for Projects.

However, these pages fetch a great amount data from third party providers which adds a noticeable delay during page load.

Proposal

One improvement could be to add a loading state for fetching active branches and prebuilds.

Ideally, we could introduce some mechanisms to make this loading faster, like caching. Looping in @AlexTugarev because of the relevant discussion (internal).

Follow up issue from https://github.com/gitpod-io/gitpod/issues/4958, point 15. See also https://github.com/gitpod-io/gitpod/pull/4876#discussion_r676633703.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Projects pages that fetch active branches and prebuilds, then trace their third-party provider requests. Review the related discussion and linked issues/PRs before choosing between a loading state or caching; done means the pages communicate loading clearly and fetch their data with less delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.