gitpod-io / gitpod-io/gitpod

[teams] strange behavior when changing the Gitpod GitHub app config

Open
#6,421 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Bug description

I just tried to change the watched repos of the Gitpod-Staging GitHub app, switching from all in the org to just specific ones.

  1. It brought up the "Install GitHub App page in Gitpod
Screen Shot 2021-10-27 at 10 37 43 2) Clicking on "Install App" resulted in a "Failed to Install" modal Screen Shot 2021-10-27 at 10 38 36

In the end, the result was as expected, but the UI flow was more than confusing. I think the entire flow should not have popped up at all.

Steps to reproduce
  • Open a repo with the Gitpod GitHub app installed on GitHub
  • Go to Settings > Integrations
  • Select the Gitpod app and change the active repos
    -> the UI flow to install the app starts, even though it's already installed
Workspace affected

No response

Expected behavior

No response

Example repository

No response

Anything else?

No response

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 in Settings > Integrations with a repository where the Gitpod GitHub app is already installed, then change the active repositories. Reproduce the flow and trace why the app-install screen and failure modal appear; done means changing repositories completes without prompting to install an already-installed app.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.