<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/59237>59237</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [UpdateTestChecks] Refactor `common.py` to track its changes
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            mtrofin
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          mtrofin
      </td>
    </tr>
</table>

<pre>
    The module needs to track state, and also quite a bit of state passed around its functions is the same, so some OO-ish refactoring is in order.

This would avoid issues like #59220.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxFkdFu3CAQRb8Gv4xiAd611w88pIn6GqnafgA2szZZbFwGUuXvO_amioRg8FzuPZghuk9znRGW6EpAWBEdQY6Qkx3vQNlmFPoF7OrABorwp_iMYGHwGeLtIYDNEiELUiys85ngVtYx-7gSeLZjf7LLYcQWFBeEt7cnTzMkvNkxx-TXaVf6FWJymGohX4V8fszXmTt_Ywmc8BE9BxAVJAj-jiB0c-61lnWFRrVt37ZaNW3lTOP6prdV9jmgEecfvzfHqFek_DLjeCdxfoVfX-kgWjnGZYlrvX1y_f0D9ruMs10npKqkYOacNxLNs9A_eUw-z2Wo-ShvQvj4vzxtKb7jmHn7YOWCKZuumo1rtO1H23aq66WWnVXoLrZTp-6kUaGsgh0w0I7MiJU3WmqtlL6oXd7X4_mCTaduQ99K1zspThIX60O9B9cxTVUyB8NQJuJm8JTpu8kv5Sd-5cNf6yWnePMrV3uYLXmOyXx9rA52c4D_A6sptDE">