Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta Adatta ai principianti
#1,779 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
82/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cli

Direzione di ricerca

Cerca your own uncommitted work in in internal/session e segui come il rifiuto durante il landing determina quali percorsi nominare. Aggiungi un test di landing deterministico per un commit con modifiche trascinate che contenga un file non tracciato e una modifica a un file tracciato, mentre il task modifica solo il file tracciato. Il lavoro è completato quando il rifiuto nomina strutil.go, ma non mine.txt.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Go
Stelle
115
Fork
14
Merge medio
9h 3m
PR unite (30g)
514

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Agent-Field/CodeAF

Tutte le issue di Agent-Field/CodeAF

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.