fix(review): publish failure result for manual runs - #2795
Conversation
PR Summary by QodoPublish generic failure comment for manual /review runs
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
|
Code review by qodo was updated up to the latest commit df6cc50 |
|
Code review by qodo was updated up to the latest commit 6c534d1 |
IsmaelMartinez
left a comment
There was a problem hiding this comment.
Thanks for the fast turnaround on the Qodo findings, each fixed within minutes of being raised. Verified against today's main: with your three source files reverted and the tests kept, nine go red across reviewer core, GitLab and Bitbucket, so the coverage is real, and the failure comment correctly stays out of automatic runs. #2532 landed this morning and touched the same test file, so I resolved the test-only conflict on the branch to save you the round trip; the full suite is green on the merged tree. Merging, and #2797 can rebase over this.
Summary
/reviewrun raisesFollow-up to #2788.
Result
A failed manual
/reviewnow leavesFailed to review PRinstead of leaving no visible outcome. The underlying exception remains in logs and is not exposed in the public comment.If an existing persistent review was already updated successfully, a failure posting only the latest-commit notice no longer produces a misleading failure result or a duplicate full review.
Testing
PYTHONPATH=. pytest -q tests/unittest/test_pr_reviewer_core.py tests/unittest/test_gitlab_provider.py tests/unittest/test_bitbucket_provider.py(199 passed)PYTHONPATH=. pytest -q tests/unittest --ignore=tests/unittest/test_extra_config_url.py(2,059 passed, 1 skipped, 1 xfailed)PYTHONPATH=. pytest -q tests/unittest/test_extra_config_url.py(41 passed)