Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto Apto para principiantes
#1,779 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
82/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
go
Área
cli

Línea de trabajo

Busca your own uncommitted work in en internal/session y sigue cómo la negativa al aterrizar determina qué rutas nombrar. Añade una prueba determinista de aterrizaje para un commit con cambios arrastrados que contenga un archivo sin seguimiento y una modificación de un archivo con seguimiento, mientras que la tarea solo modifica el archivo con seguimiento. El trabajo estará terminado cuando la negativa nombre strutil.go, pero no mine.txt.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Go
Estrellas
115
Forks
14
Merge medio
9 h 3 min
PR fusionados (30 d)
517

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Agent-Field/CodeAF

Todos los issues de Agent-Field/CodeAF

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.