Incomplete Pull Request Reviews on Peer Reviewer Assistant

Incident Report for Fluid Attacks

Postmortem

Impact

Some users experienced pull request and merge request reviews ending as "Incomplete" (including the check message "Incomplete · The security scan could not complete" and "Push a new commit or re-run the check to scan again.") instead of passing or failing, or saw a mismatch where the provider check reported "Passed" while the platform recorded "Incomplete". Because the review check fails closed, incomplete reviews blocked pull request merges even when the failure was on our side. The issue started on October 8, 2026, at 14:54 (UTC-5) and was reactively discovered 47.1 days (TTD) later by a customer via support email. The problem was resolved in 7.9 days (TTF), resulting in a total window of exposure of 55 days (WOE).

  • Pull request checks: affected reviews ended as "Incomplete" and blocked required merge checks, and re-running the check could fail again under the same conditions.
  • Status consistency: when a platform backend instance shut down mid-review, the platform marked the execution "Incomplete" even if the scanning service finished seconds later and reported "Passed" on the repository provider.
  • Scope: scheduled repository scans, CLI scans, vulnerability management, platform authentication, and API operations kept working normally, and no data was lost or exposed.

Cause

Previously, when a repository provider sent a pull request event, our platform backend called the pull request scanning service synchronously over HTTP and held the request open in a background task until the scan completed. This inherited architecture required both services to stay up and responsive throughout the entire scan, and lacked durability across four failure modes. First, when a platform backend instance shut down during a deployment or scale-down, its shutdown handler cancelled in-flight background tasks after a 15-second drain window, recording the review as "Incomplete" even if the scanning service completed the scan moments later and published a passing check. Second, scans that exceeded the platform's wait threshold ended "Incomplete" even when scanning finished shortly afterward. Third, transient repository provider errors such as rate limits, dropped connections, or temporary server errors immediately terminated the review without retries. Fourth, automatic background repository maintenance during scanning could rewrite clone metadata while it was being read, causing scans to fail intermittently. Because the check had been configured to fail closed on incomplete scans and no per-group monitor alerted when reviews ended incomplete, affected merges remained blocked until customers escalated the behavior.

Solution

We replaced the synchronous HTTP review flow with an asynchronous, queue-backed architecture and resolved the repository maintenance failure. Now, the platform backend only places review identifiers on a durable message queue grouped by organization so no single organization can starve others. Dedicated scanning workers, automatically scaled by queue depth, claim each review from the platform, mint short-lived provider credentials at claim time, execute the scan under a bounded deadline, and report the outcome back to the platform. If a worker instance stops mid-review, the unfinished item automatically becomes visible again for another worker to process. Transient provider errors and rate limits are retried with exponential backoff (from 1 to 15 minutes, up to six attempts), while unrecoverable failures move to a dead-letter queue and close the review with a clear status. We also disabled background repository maintenance during review clones, migrated legacy provider webhooks onto the same queue, removed the deprecated HTTP review endpoints, and added per-group monitoring and alerting for every review that ends incomplete. After switching production traffic to the queue on December 2, 2026, at 14:36 (UTC-5), 474 pull request pushes were reviewed over the following 5.4 hours with zero incomplete reviews caused by these failures, zero review errors, and an empty dead-letter queue. No customer action is required.

Conclusion

This incident showed that coupling long-running pull request scans to synchronous in-process HTTP calls and a short backend shutdown drain left reviews fragile during routine deployments, transient provider errors, and long scans, while missing incomplete-review alerting delayed detection until customers reported blocked merges. Moving pull request reviews to a durable, per-organization queue with automatic retries, disabling concurrent repository maintenance, and alerting on every incomplete review eliminates this class of failure. UNHANDLED_EXCEPTION < INCOMPLETE_PERSPECTIVE < MISSING_ALERT

Posted Dec 03, 2026 - 11:50 GMT-05:00

Resolved

Between October 8, 2026, 14:54 GMT-05:00 and December 2, 2026, 14:36 GMT-05:00, some users experienced pull request and merge request reviews ending as "Incomplete" (with
the check message "Incomplete · The security scan could not complete") instead of passing or failing, which blocked required merge checks. In some cases, the provider
check reported "Passed" while the platform execution recorded "Incomplete". The issue was caused by synchronous review calls that could be cancelled during backend
shutdowns, exceeded wait thresholds, failed without retries on transient provider errors, or encountered background repository maintenance conflicts.

We replaced the synchronous review path with an asynchronous, queue-backed architecture with automatic retries, disabled concurrent repository maintenance during review
scans, and added per-group alerting for incomplete reviews. Scheduled repository scans, CLI scans, vulnerability management, platform authentication, and API operations
were not affected, and no data was lost or exposed. No customer action is required, and pull request reviews are operating normally.
Posted Dec 03, 2026 - 11:50 GMT-05:00
This incident affected: Scanning and Integrations.