While working on #16839 , I noticed I had some bugs around action_type as well counts of various Actionlogs. For instance, on creating a new asset via API that has an assigned_user, is that one Actionlog or two?
So I'd like to see a chunk of new tests around action logs - checking counts of logs, and types of action_type - and then when I merge in those changes, I'm expecting to see my PR start to fail and will be able to fix them.
I'm mostly seeing this around checkin/checkout on creation - mostly via GUI but quite possibly via importer as well. And, checkin/checkout is slightly different between API and GUI - which is a whole other issue that I'm concerned about but not something we have to do here.
I already introduced some checkin/checkout tests (for both API and GUI) around counters - and maybe we can add some more tests in there?