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

A standing firing that changed nothing is logged as landed

Ouverte
#1,582 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é
4/5
Temps estimé
3-5 jours
Accessibilité débutants
65/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
go
Domaine
cli, testing-qa

Piste de recherche

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.

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

Description

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

Langage dominant
Go
Étoiles
115
Forks
14
Merge moyen
9 h 37 min
PR mergées (30 j)
755

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.