Add regression test for repohascommitafter search filter
Created by: kzh
This PR adds a regression test for the repohascommitafter search filter. The case for ignoring all errors is that whenever there is one, the repository is likely unaccessible/damaged. This implies the filter should skip this repository anyways. Perhaps, these errors should bubble up elsewhere or explored more in depth during 3.11.
This closes #6475.