Spike: Investigate using runners to support Duo workflows "create code" workflows
Problem to solve
In a nutshell we want to be able to complete user auto-code requirements such as "Write code for this issue #123 and create an MR". In order to do that we're going to write an agent that will clone the repository, write code and tests and debug and fix issues. Since this code is going to be untrusted, we need to write and run code in secure code sandbox, where the LLM can install dependencies, run tests, etc. We were wondering whether we can leverage the runner architecture in a way to spin up these ephemeral code sandboxes. How much of a lift would it be so that we can somehow spin up an environment and have bi-directional communication with it? We want to try to reuse what we have for runners vs trying to build our own Kubernetes/Firecracker/Docker container based solution.
Proposal
Time box discussion and investigation over the next couple of days on whether or not GitLab runner can support this.
If this is a viable path, create implementation issues for Runner Teams and we can discuss LoE and Milestone to support