Improve performance for fetching active branches and prebuilds
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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