]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: Update prompt to include a list of errors
authorDaan De Meyer <daan@amutable.com>
Tue, 10 Mar 2026 19:43:22 +0000 (20:43 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 10 Mar 2026 19:45:10 +0000 (20:45 +0100)
To make debugging the review workflow easier, have claude include an
overview of errors encountered in the review summary.

.github/workflows/claude-review.yml

index e1246d30725765b51ae1f63d6046834c31ea66ea..0f151add147419e1bed73250d3ca83a8b82d525a 100644 (file)
@@ -292,6 +292,13 @@ jobs:
                  Omit empty sections. Each checkbox item must correspond to an entry in `comments`.
                  If there are no issues at all, write a short message saying the PR looks good.
 
+                 Throughout all phases, track any errors that prevented you from doing
+                 your job fully: permission denials (403, "Resource not accessible by
+                 integration"), tools that were not available, rate limits, or any other
+                 failures that degraded the review quality. If there were any, append a
+                 `### Errors` section listing each failed tool/action and the error
+                 message, so maintainers can fix the workflow configuration.
+
                  **If an existing tracking comment was found (subsequent run):**
                  Use the existing comment as the starting point. Preserve the order and wording
                  of all existing items. Then apply these updates: