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

A standing firing that changed nothing is logged as landed

Aperta
#1,582 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
65/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cli, testing-qa

Direzione di ricerca

Start with the /standing item log and reproduce the firing using the provided dev build, isolated profile, and failing Go test repository. Compare the recorded ending with git status and go test ./... after the run, then trace the existing status decision from the standing firing to its log. Done means an unchanged firing is recorded as "nothing changed" or as a failure, never "landed", with an e2e check covering it.

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

Descrizione

area:session bug sev:serious

Seen on: dev 837b2b0.

Behaviour

A standing watch fired, made no edits and left the tests red, but its item log showed landed. A firing that did nothing should say so, not landed. Related to #1550 (a firing's claim is not checked against the repo).

Replication

  1. Build dev 837b2b0 (git checkout 837b2b0 && make build, binary bin/codeaf), or install the dev build with curl -fsSL https://agentfield.ai/get/devaf | bash.
  2. Use an isolated profile: export HOME=$(mktemp -d), export OPENROUTER_API_KEY, and keep the default model (~deepseek/deepseek-v4-flash-latest, crew on auto).
  3. On a busy machine set task.max_load to 0 (/settings, Tasks) so the busy-machine gate does not hold tasks.
  4. Make a Go repo with a failing test: R=$(mktemp -d) && cd "$R" && git init -q && printf 'package main\n\nfunc main() {}\n' > main.go && printf 'module demo\n\ngo 1.22\n' > go.mod && git add -A && git commit -qm init, add a failing _test.go, commit.
  5. codeaf, then: Every 2 minutes run go test ./... here; if a test fails, fix it. Accept the standing card with 1.
  6. After a firing, read /standing (the item's log) and git status / go test ./....

Evidence

  • Item log: landed for a firing with no edits; tests still red afterwards.
  • Code path not traced in this pass.

Guessed cause

A guess from reading the code, not a confirmed diagnosis. The firing's ending is taken from the run's own report rather than from the repo's state after the run.

Acceptance

  • e2e: a firing that made no change logs nothing changed (or the failure), never landed.

Found while writing the public docs; manual text differences are in #1545.

🤖 Generated with Claude Code

Lingua principale
Go
Stelle
115
Fork
14
Merge medio
9h 35m
PR unite (30g)
752

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.