Allow workspace creation with organization mapped agents
Issue: Allow workspaces to be created with an organiza... (#534679 - closed)
What does this MR do and why?
This MR introduces functionality to allow organization-mapped agents to be used when creating a workspace. Previously, only namespace-mapped agents could be used. This MR allows organization agents to be used by checking if he agent provided in the create workspace query is mapped in the organization where the project lives.
This MR also:
- Adds and refactors unit tests on the create workspace mutation path
- Updates the graphql integration spec when creating a workspace to do so in the context of an organization agent
References
Allow workspaces to be created with an organiza... (#534679 - closed)
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
Testing locally is a bit difficult without patching the frontend UI code (UI work is not ready for this feature), I beleive the integration spec is sufficent to verify this works.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.