github / github/app

[Bugs] Pull Request doesn't load when it's targeting an upstream repo.

Ouverte
#1,561 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Bugs Feedback mood:happy os:macos
Langage dominant
Aucune donnée de langage
Étoiles
2.1k
Forks
153
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Mood:** 😊
**Category:** Bugs

Pull Request doesn't load when it's targeting an upstream repo. And for some reason, the PR view's tab says Issue instead of Pull Request. When the pull request targets the same repository (fork in my case), the PR view can load.

Clicking the link to the created PR in the response opens the PR in the integrated PR view. Across all my attempts, the view keeps loading and doesn't show anything no matter how long I wait.

Additional context:

Forking an upstream repo, develop in the fork and submit a PR to the upstream from the fork is a typical GitHub workflow.

The built-in PR tool in the app only knows how to create a PR in the same repo. In this case, it is the forked repo and that's not what I want.

I was able to work around this problem by explicitly emphasize in my prompt telling the agent to use gh cli and giving the exact upstream org/repo - branch target. It mitigates the problem most of the time but occasionally it still hallucinates by creating the PR in the forked repo claiming it has created it in the upstream.

The screenshots contains both a working PR view 24 which was incorrectly created in the forked repo, and a buggy view 2725 in the upstream repo.

Image

---
| Field | Value |
| --- | --- |
| App version | 1.0.11 |
| OS | macOS 14.8.7 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Week 5 |

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Reproduisez le problème dans la vue PR intégrée en utilisant un fork ciblant un dépôt upstream, puis comparez-le avec le cas fonctionnel dans le même dépôt décrit dans le rapport. Vérifiez pourquoi la vue upstream reste en chargement et est intitulée Issue ; c’est terminé lorsque le PR upstream se charge et que l’onglet l’identifie comme Pull Request.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github
Domaine
desktop
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.