Code Suggestions slash commands (such as /tests) should work in a personal project for a user with Duo add-on
Summary
For a user with a Duo add-on (Premium or Ultimate), the user should be able to use Duo functionality in a personal project. The current behavior is:
- Can successfully use Duo Chat
- Can successfully use Duo Code Suggestions - including both code completion and code generation
- Cannot use Code Suggestions related slash commands such as /tests, /explain, /refactor, /fix
The user should be able to successfully use slash commands such as /tests, /explain, /refactor, /fix.
Steps to reproduce
- For a user with Duo Pro or Duo Enterprise:
- Navigate to a personal project
- Open a code file in the web IDE or an IDE with GitLab Duo Chat extension
- Select some code and invoke a slash command such as
/tests
What is the current bug behavior?
In the web IDE, we return an M3003 error in the Duo chat interface:
I'm sorry, I can't generate a response. You might want to try again. You could also be getting this error because the items you're asking about either don't exist, you don't have access to them, or your session has expired. Error code: M3003
In VS Code, I seem to get an infinite loop of Duo trying to find an answer. This seems like a silent failure:
What is the expected correct behavior?
For a project where GitLab Duo is enabled, the slash command should be successfully executed.
Output of checks
This bug happens on GitLab.com
Edited by Jordan Janes

