|
12 | 12 | | `pr-review` never posts a comment | No open PR found for the push branch (exits silently by design); LLM API error; `pull-requests: write` permission missing | |
13 | 13 | | Review verdict is always `REQUEST_CHANGES` loop never resolves | AI prompt regression; issue body too vague for the generated code to satisfy review criteria; consider manual review | |
14 | 14 | | `auto-fix-pr` does not trigger after `changes-requested` label | Label name mismatch (`config/labels.yaml` `review.changes.name` vs actual label); `AI_PR_TOKEN` cannot emit `labeled` events; auto-fix workflow not enabled | |
| 15 | +| Checkbox rerun (`- [x] Relancer Auto Fixer`) posted but no auto-fix triggered | Comment does not contain the exact text (case-insensitive alternatives: `rerun auto-fix`, `rerun auto fixer`); comment is on an issue that is **not** a PR; `issue_comment` trigger not present in `auto-fix-pr.yml` | |
| 16 | +| Auto-fix triggered via checkbox but fails at checkout | "Resolve PR payload for issue_comment" step failed — check that `AI_PR_TOKEN` or `GITHUB_TOKEN` has `pull-requests: read` and `contents: read`; `jq` parse error indicates malformed API response | |
15 | 17 | | Auto-fix loop stops at attempt 3 | Expected: 3-attempt hard limit reached — manual intervention required (see below) | |
16 | 18 | | Auto-fix posts "Auto-Fix Skipped" comment and stops | PR modifies `scripts/auto_fix_pr.mjs` — self-modification guard triggered (expected) | |
17 | 19 | | Auto-fix workflow succeeds but pushes nothing | Checkpoint resume: attempt was already completed in a previous run | |
@@ -41,7 +43,10 @@ Key steps to expand per workflow: |
41 | 43 | - **Run PR review** — PR resolution, LLM call, comment upsert, review submit, label swap, re-pulse guard result |
42 | 44 |
|
43 | 45 | ### `auto-fix-pr` (`auto-fix-pr.yml`) |
44 | | -- **Run auto-fix** — attempt count read, LLM call, file writes, commit push, attempt label apply |
| 46 | +- **Resolve PR payload for issue_comment** _(only for checkbox-rerun triggers)_ — GitHub PR API call; extracts `head.ref` branch name needed for the checkout step. Failure here means the checkout will not have the correct branch ref. |
| 47 | +- **Checkout PR branch** — verifies the correct PR branch is checked out (uses `head_ref` from the resolve step for `issue_comment` events, `pull_request.head.ref` for label events) |
| 48 | +- **Apply AI fixes** — attempt count read, LLM call, file writes, attempt label apply |
| 49 | +- **Commit and push fixes** — commit push to PR branch |
45 | 50 |
|
46 | 51 | --- |
47 | 52 |
|
@@ -85,6 +90,8 @@ Key steps to expand per workflow: |
85 | 90 | | Auto-fix skipped on a PR that modifies `auto_fix_pr.mjs` | Expected — self-modification guard is active. Fix the script manually and push directly. | |
86 | 91 | | Workflow re-run completes immediately with no commit | No files changed by the model output for that run; inspect logs and review feedback context. | |
87 | 92 | | Need to restart auto-fix from attempt 1 | Post or edit a PR comment with `- [x] Relancer Auto Fixer`; this clears existing `auto-fix-attempt-N` labels and checkpoint files automatically before rerun. | |
| 93 | +| Checkbox rerun fails at "Resolve PR payload" step | Confirm the token (`AI_PR_TOKEN` or `GITHUB_TOKEN`) has `pull-requests: read`; inspect the curl output in the step log for HTTP errors | |
| 94 | +| Checkbox rerun triggers but commits to wrong branch | Indicates an older workflow version without the step-ordering fix — ensure `auto-fix-pr.yml` has "Resolve PR payload for issue_comment" listed **before** "Checkout PR branch" | |
88 | 95 |
|
89 | 96 | --- |
90 | 97 |
|
|
0 commit comments