feat(harness): report categorized post-script failures on issue/PR (#2908) - #2921
feat(harness): report categorized post-script failures on issue/PR (#2908)#2921ifireball wants to merge 4 commits into
Conversation
…ullsend-ai#2908) When post-code or post-fix fails after the agent completes, post a comment with the failure category, sanitized output, workflow run link, and an explicit note for workflow-permission push rejections. Signed-off-by: Barak Korren <bkorren@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
🤖 Finished Review · ✅ Success · Started 1:27 PM UTC · Completed 1:39 PM UTC |
PR Summary by Qodofeat(harness): report categorized post-script failures on issue/PR
AI Description
Diagram
High-Level Assessment
Files changed (6)
|
Site previewPreview: https://1d381f7b-site.fullsend-ai.workers.dev Commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Code Review by Qodo
1.
|
|
Looks good to me Previous runReviewFindingsHigh
Medium
Labels: PR adds a shared failure-reporting library and modifies post-code/post-fix harness scripts, fitting the component/harness and feature labels. Previous runLooks good to me Previous run (2)ReviewFindingsHigh
Medium
Labels: PR adds a shared failure-reporting library and modifies post-code/post-fix harness scripts, fitting the component/harness and feature labels. |
…t-failure-reporting Signed-off-by: Barak Korren <bkorren@redhat.com>
|
🤖 Review · |
…ai#2908) Source failure-report helpers before early exits, omit gitleaks output from public secret-scan comments, and broaden token/PEM sanitization. Signed-off-by: Barak Korren <bkorren@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
🤖 Finished Review · ✅ Success · Started 2:01 PM UTC · Completed 2:13 PM UTC |
…t-failure-reporting Signed-off-by: Barak Korren <bkorren@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 6:30 AM UTC · Completed 6:45 AM UTC |
ralphbean
left a comment
There was a problem hiding this comment.
This is an automated comment. We are moving agent content from internal/scaffold/fullsend-repo/ to https://github.com/fullsend-ai/agents -- changes should be made to agent definitions there going forwards.
|
Closing in favor of fullsend-ai/agents#38, which ports this work to the agents repo now that harness content lives there. |
|
🤖 Finished Retro · ✅ Success · Started 7:21 AM UTC · Completed 7:32 AM UTC |
|
PR #2921 added categorized post-script failure reporting for post-code.sh and post-fix.sh. The review agent caught real logic-error bugs on the first review, which the author fixed in one iteration — good code-level review quality. However, the PR was closed without merge after 11 days because a human reviewer flagged that the code targeted the deprecated Proposals filed:
Proposals filed
|
Port fullsend-ai/fullsend#2921: add shared post-failure-report.sh with categorized failure comments, output sanitization, and workflow run links. post-code.sh posts detailed failures on the issue; post-fix.sh posts equivalent comments on the PR. Extend post-code-test.sh and post-fix-test.sh. Signed-off-by: Barak Korren <bkorren@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
post-failure-report.shlibrary with categorized failure comments, output sanitization, and workflow run linkspost-code.shposts detailed failure comments on the issue (push rejected, pre-commit blocked, secret scan, PR creation failed, etc.)post-fix.shposts equivalent failure comments on the PR (previously silent on post-script failures)post-code-test.sh/post-fix-test.shcoverage and wirepost-fix-test.shintomake script-testCloses #2908
Test plan
bash internal/scaffold/fullsend-repo/scripts/post-code-test.shbash internal/scaffold/fullsend-repo/scripts/post-fix-test.shmake linton staged filesMade with Cursor