Commit b9f9ae4
ci(auto-fix-issue): Skip git history as first step for flaky tests (#21037)
## Summary
- Adds an "Investigation scope" section to the auto-fix-issue prompt
- Tells the agent to treat the current checkout as the source of truth
(the workflow always runs on latest `develop`)
- For flaky test issues specifically: don't open with `git log`/`git
blame`/diff exploration — diagnose from the current code first
- Reach for git history only as an escalated step, with a concrete
reason
## Why
Recent runs burned turns on speculative history digging that rarely pays
off for flaky tests. The flake almost always reproduces against the
current code, so that's where investigation should start.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3d2b4d6 commit b9f9ae4
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
| |||
0 commit comments