> I wonder if we could make something automatic and put that into a > Go-specific Salsa CI check?
I haven't given much thought to this tool or the ptrace details or other alternatives to implement this, so I can't contribute much right now in brainstorming how this should be made, but I can briefly comment that Salsa CI is a system that runs existing tools. Any check Salsa CI does should also be possible to run in a container you fire up locally and run a command there. I would not want to maintain in Salsa CI fully custom Go/Python programs to run checks, but rather have a new tool in devscripts or somewhere doing this thing, and then Salsa CI simply uses it. So either we need a new tool, or perhaps extend some existing tool to have this feature. Maybe ratt could have a mode where it removes dependencies and tries to rebuild without them..
