You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR: Bug Hunter is not explicitly told to run full test suites, but the current prompt strongly nudges it toward test-driven repro (minimal failing test), so it can spend time re-running tests even when CI is already green; I recommend tightening the prompt to prefer targeted repro and explicitly avoid redundant full-suite runs.
Recommendation
Update .github/workflows/gh-aw-bug-hunter.md to keep the reproducibility bar high while reducing unnecessary test execution:
Keep mandatory reproduction, but explicitly prefer the smallest targeted command and avoid rerunning full test suites that are already green unless needed for a new failing signal.
Relax wording from “must be covered by a minimal failing test” to “must have deterministic reproduction (failing check or clearly incorrect output/behavior).”
Add an explicit skip rule for “re-running broad existing test suites with no new failure hypothesis.”
Findings
Current Bug Hunter prompt emphasizes test framing:
.github/workflows/gh-aw-bug-hunter.md:79 — requires a bug that can be covered by a minimal failing test.
.github/workflows/gh-aw-bug-hunter.md:101 — “Can be expressed as a minimal failing test.”
.github/workflows/gh-aw-bug-hunter.md:92-95 — reproduction is mandatory (good, should stay).
There is no explicit instruction today to skip redundant full-suite reruns when status is already known/green.
Related historical context:
#89 and PR #90 focused on duplicate prevention/labeling, not test-execution strategy.
#158 clarified commit-history lookback behavior.
#135 added “run required commands” guidance for code-changing workflows; Bug Hunter is detection/reporting and should still optimize for focused repro over broad reruns.
Verification
$ rg -n "test|tests|passing|failing" .github/workflows/gh-aw-bug-hunter.md
79: Find a single reproducible, user-impacting bug ... minimal failing test.
101: - Can be expressed as a minimal failing test ...
136: > [File path + outline of test]
$ web_fetch https://github.com/elastic/beats/actions/runs/22206903339
Status Success; artifact list available from run page summary.
I could confirm prompt wording locally; the linked run page summary is accessible, but detailed command logs are not included in that summary fetch.
Detailed Action Plan
Edit .github/workflows/gh-aw-bug-hunter.md:
At :79, reword goal to emphasize deterministic repro with minimal targeted commands (not broad suite reruns).
In Data Gathering step 3 (:92-95), add a bullet: if CI/tests are already green for the same scope, do not rerun full suites unless there is a concrete failure hypothesis.
In “What to Look For” (:99-102), replace strict “minimal failing test” language with “deterministic failing check or clear behavior mismatch.”
In “What to Skip” (:103-109), add “rerunning broad test suites without a new hypothesis.”
Recompile workflow locks (make compile) so .github/workflows/gh-aw-bug-hunter.lock.yml reflects prompt changes.
Run lint/validation (make lint) and spot-check the compiled lock includes the new guidance text.
Observe 2-3 subsequent Bug Hunter runs to verify behavior shifts toward focused repro and fewer redundant test reruns.
I want it to find a bug, build a test that shows that the bug exists, etc. It's not supposed to be just running tests hoping one fails and then calling that a bug
Activity
github-actions commentedon Feb 20, 2026
TL;DR:
Bug Hunteris not explicitly told to run full test suites, but the current prompt strongly nudges it toward test-driven repro (minimal failing test), so it can spend time re-running tests even when CI is already green; I recommend tightening the prompt to prefer targeted repro and explicitly avoid redundant full-suite runs.Recommendation
Update
.github/workflows/gh-aw-bug-hunter.mdto keep the reproducibility bar high while reducing unnecessary test execution:Findings
.github/workflows/gh-aw-bug-hunter.md:79— requires a bug that can be covered by a minimal failing test..github/workflows/gh-aw-bug-hunter.md:101— “Can be expressed as a minimal failing test.”.github/workflows/gh-aw-bug-hunter.md:92-95— reproduction is mandatory (good, should stay).#89and PR#90focused on duplicate prevention/labeling, not test-execution strategy.#158clarified commit-history lookback behavior.#135added “run required commands” guidance for code-changing workflows; Bug Hunter is detection/reporting and should still optimize for focused repro over broad reruns.Verification
I could confirm prompt wording locally; the linked run page summary is accessible, but detailed command logs are not included in that summary fetch.
Detailed Action Plan
.github/workflows/gh-aw-bug-hunter.md::79, reword goal to emphasize deterministic repro with minimal targeted commands (not broad suite reruns).:92-95), add a bullet: if CI/tests are already green for the same scope, do not rerun full suites unless there is a concrete failure hypothesis.:99-102), replace strict “minimal failing test” language with “deterministic failing check or clear behavior mismatch.”:103-109), add “rerunning broad test suites without a new hypothesis.”make compile) so.github/workflows/gh-aw-bug-hunter.lock.ymlreflects prompt changes.make lint) and spot-check the compiled lock includes the new guidance text.Related Items
.github/workflows/gh-aw-bug-hunter.md:79,92-95,99-109,136What is this? | From workflow: Issue Triage Agent
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. for issue #185
strawgate commentedon Feb 20, 2026
I want it to find a bug, build a test that shows that the bug exists, etc. It's not supposed to be just running tests hoping one fails and then calling that a bug