The InternetArchiveBot is a vital tool for many Wikipedia communitys and will only become more important in the years to come. The bot runs with numerous different configurations and has to deal with the idiosyncrasies of MediaWiki syntax and the community's wishes regarding link and template formatting.
We have an issue not only with bugs, but also with regressions or bugs that are introduced while trying to fix another one. For a piece of software that complex, there should be a comprehensive test suite that is easy to maintain and add to, so that each edit that was reported as a bug can be added as a test case to ensure that it will be handled fine by later versions of the bot as well.
Not sure how to set this up and where to start, but I'm happy to lend a hand. Since the bot's source is on GitHub, we might start by using Actions and see how far we get?