github / github/app

When the "Repos directory" setting is changed (e.

Ouverte
#1,952 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Bugs Feedback 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

When the "Repos directory" setting is changed (e.g. from ~/.copilot/repos to ~/repos), existing projects retain their original main_repo_path in the projects table and root_resource_uri in the project_checkouts table. This causes worktree creation to fail for those projects because the app tries to run git worktree add from a main checkout path that no longer exists.

---
| Field | Value |
| --- | --- |
| App version | 1.0.21 |
| OS | macOS 26.5.2 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Day 4 (Week 1) |

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start at the /chat settings flow and trace how changing the Repos directory affects the projects table and project_checkouts table. Inspect how those stored paths are used during git worktree creation; done means existing projects use the new valid checkout location and worktree creation succeeds after the setting changes.

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

Évaluation

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

Recevez les nouvelles issues par e-mail

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