Skip to content

Add Sorbet type checking

What does this MR do and why?

Add type check tooling as a step to reduce dead code stockpiling. Made MR in response to #1442. For now I have no idea how exactly to use the tool to track the dead code. The docs are here https://sorbet.org/docs/gradual

Contributes to gitlab-org/quality/quality-engineering/team-tasks#153.

Expected impact & dry-runs

Let's see what CI/CD reports..

These are strongly recommended to assist reviewers and reduce the time to merge your change.

See https://gitlab.com/gitlab-org/quality/triage-ops/-/tree/master/doc/scheduled#testing-policies-with-a-dry-run on how to perform dry-runs for new policies.

See https://gitlab.com/gitlab-org/quality/triage-ops/-/blob/master/doc/reactive/best_practices.md#use-the-sandbox-to-test-new-processors on how to make sure a new processor can be tested.

Action items

Edited by Peter Leitzen

Merge request reports