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).
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.
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.
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