BUG agent session creates PR that doesn't get linked properly
- 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
### Short summary
PR not linked to session
### Affected version or release
v0.2.5
### Installation context
_No response_
### What happened?
This happens to me on every other PR. Very annoying for obvious reasons.
The MCP function the agent tries to use to open the PR fails with 422, apparently because we work off of forks and can't create branches on the main repo. Then, it usually asks me if it is allowed to use `gh` to open the PR, and I approve. But it's about 50-50 on whether the PR actually gets linked. I've had some sessions try to update whatever local DB state is missing the linkage but that never helped either.
Happy to provide examples for investigation if it helps.
### Steps to reproduce
_No response_
### Expected behavior
PR gets linked
### Additional context
Happy to provide IDs if you tell me how to retrieve them.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par collecter les ID de session et de PR à partir d’un exemple affecté, puis comparez le chemin MCP 422 avec le fallback gh approuvé lorsque vous travaillez depuis un fork. C’est terminé lorsque la PR créée est systématiquement liée à sa session d’agent, y compris lorsque la création de la branche MCP échoue.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github
- Domaine
- devtools
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100