Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

tasks: a landing refusal names an untracked file the task never touched as a clash

Ouverte Adaptée aux débutants
#1,779 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
82/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
go
Domaine
cli

Piste de recherche

Recherchez your own uncommitted work in dans internal/session et suivez la manière dont le refus lors de l’atterrissage détermine les chemins à nommer. Ajoutez un test d’atterrissage déterministe pour un commit avec des changements reportés contenant un fichier non suivi et une modification d’un fichier suivi, tandis que la tâche ne modifie que le fichier suivi. Le travail est terminé lorsque le refus nomme strutil.go, mais pas mine.txt.

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

Description

area:session bug sev:papercut

What happened

2026-10-05, staging-20261005-7e30335645c8 (no code change from dev@f81638787). Found in the v0.7.1 staging happy-path pass.

The repository was on branch work. It had an uncommitted edit to strutil.go and an untracked mine.txt. A /task changed strutil.go and strutil_test.go, and its landing was refused, correctly, with:

did not merge cleanly and was kept: your own uncommitted work in strutil.go, mine.txt is in the same files, so your tree was left exactly as it was

The task never touched mine.txt. That file was only carried into the "world this task started from" commit at the base of the task's branch. The sentence names it as a clash anyway, so the person goes looking for a conflict in a file that has none. Nothing was lost; the tree was verified unchanged by shasum.

Replication

Deterministic (no model). A landing test whose task branch starts with the carried-changes commit (an untracked file plus an edit to a tracked file) and whose work changes only the tracked file. Assert that the refusal names only the tracked file.

Field. OPENROUTER_API_KEY:

  1. In a repository on work with strutil.go committed, add an untracked mine.txt and append a comment to strutil.go.
  2. /task add a Reverse function with a table test to strutil.go.
  3. Expand the landing card.

Cost is about $0.05.

Where

The landing refusal that builds your own uncommitted work in … (search that string in internal/session). It appears to list every path in the carried-changes commit rather than the intersection with the paths the task's own commits changed.

The fix

The sentence names only files that both the person's uncommitted work and the task's own changes touched: here strutil.go.

Acceptance

  • Unit: the refusal for the case above names strutil.go and not mine.txt.
Langage dominant
Go
Étoiles
115
Forks
14
Merge moyen
9 h 3 min
PR mergées (30 j)
517

Préparer son environnement

Nous n'avons pas encore vérifié les fichiers d'installation de ce projet. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Agent-Field/CodeAF

Toutes les issues de Agent-Field/CodeAF

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

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