Repository navigation
ci: recheck the review approval when a thread is resolved or reopened - #14
devnullexile wants to merge 1 commit into
Conversation
| group: deepseek-review-${{ github.event.pull_request.number }}${{ github.event.action == 'edited' && !github.event.changes.base && '-edit' || '' }} | ||
| cancel-in-progress: true | ||
| # A thread event, which the bot itself causes when it resolves a fixed thread, | ||
| # queues behind the running review instead of canceling it. | ||
| cancel-in-progress: ${{ github.event_name != 'pull_request_review_thread' }} |
There was a problem hiding this comment.
Lost review
Thread-event runs join the same deepseek-review-<PR> concurrency group as review runs, so they share the group's single pending slot. cancel-in-progress: false protects the running review, but GitHub still cancels any previously pending run when a new run is queued in the same group. Concrete sequence: Review A is running, a push queues Review B as pending, then a pull_request_review_thread event (the bot resolving a fixed thread during A, or a user resolving a thread) is queued and replaces pending Review B; when A finishes only the lightweight recheck runs. The pushed commit is then never fully reviewed until another event, while the recheck can update the approval/result comment using the prior review's findings. Consider a separate concurrency group (or another mechanism) for thread-triggered rechecks so they cannot displace a queued review.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
DeepSeek review: Not approved (
|
|
Closing this: |
Adds the
pull_request_review_threadtrigger (resolved,unresolved) supported by devnullexile/deepseek-review v1.5.3. When a review thread is resolved or reopened, the action now rechecks the open findings and updates its approval and result comment without running a new review, so the verdict no longer waits for the next push.cancel-in-progressis turned off for thread events, so a thread the bot resolves during a review queues behind that review instead of canceling it. Pull request events behave as before.