Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

A standing firing that changed nothing is logged as landed

オープン
#1,582 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
cli, testing-qa

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Go
スター
115
フォーク
14
平均マージ
9時間 37分
マージ済み PR(30日)
755

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Agent-Field/CodeAF のほかの issue

Agent-Field/CodeAF の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。