Skip to content

Ability to launch Duo Agent (workflow) run directly into a workspace on startup

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Motivation

In #548238 (closed) we are working on adding a button to issues to say immediately create an MR from the issue. This will run the workflow in a CI pipeline and the last step will be to push the code.

This might be a compelling way to rapidly resolve issues but some users might actually prefer a more live collaborative approach. They can already, in the VS Code extension, ask Duo Agent to fix the issue locally and it will start editing code in their local environment. This would be more collaborative but has the following downsides:

  1. They need the development environment setup locally (this is the same reason why Workspaces are compelling in the first place)
  2. They can only be working on 1 thing at a time because the code is being edited on their local workstation

Proposal

We could add a button to an issue to say "solve this issue in a workspace" and it would:

  1. Provision a workspace for you (on top of our existing workspace functionality)
  2. Preconfigure the VS Code extension to launch and start running the workflow (if we can't get VS Code to start working on a workflow without user interaction we can defer to the Go executor instead)
  3. As soon as the workspace is booted up the workflow should start running. The user can connect whenever they want but it's critical to the value of the feature that the workflow is already underway immediately
  4. It will post a comment on the issue (or a more explicit UI element) with a link to the workspace so the user can connect and start interacting whenever they want

This approach will allow users to trigger multiple agents concurrently and allow them to collaborate with those agents live in different browser tabs.

Edited by 🤖 GitLab Bot 🤖