Whenever you're ready, walk me through how you'd approach this.
Explain in detail how status checks were implemented in GitLab.
Cover the end-to-end request flow, including how checks are configured, how external systems report results, how GitLab associates results with merge requests and commits, and how required checks affect mergeability. Discuss authentication, authorization, persistence, retries, idempotency, auditability, failure handling, and how you would test the implementation. Distinguish external status checks from CI pipeline status where relevant.