Aligning Cross-Functional Efforts for Iteration 1
Our MVC for bringing Code Suggestions to self-managed requires concurrent efforts by several teams, with code changes in multiple domains. This issue illustrates the overall technical effort required and progress being made across teams.
We will prioritize shipping code changes required in the self-managed instance with the %16.1 monthly release. We have more flexibility to ship changes that are not tied to the monthly release cadence (ie, VS code workflow extension, or SaaS code changes).
sequenceDiagram
autonumber
participant A as SM admin
participant U as SM user
participant VS as VS Code
participant SM as SM GitLab
participant GL as GitLab Inc.
participant CS as Code Suggest
Note over A,GL: Admin persona
A->>GL: Create Gitlab SaaS account
GL-->>SM: SaaS personal access token (PAT)
SM->>SM: store SaaS PAT
Note over U,CS: Developer persona
U->>SM: Obtain SM PAT
SM-->>U: PAT
U->>VS: Configure with SM PAT
VS->>VS: store SM PAT
loop Use code suggestions
alt JWT token missing or invalid
VS->>SM: Authenticate user with PAT
SM->>GL: Get JWT with SaaS PAT
GL-->>SM: JWT
SM-->>VS: JWT
else
VS->>CS: get code suggestions with JWT
CS-->>VS: code suggestions
end
end
Sequence / Step # | Status [not started / started / complete] | DRI Team | Technical DRI | Issue / Epic Link |
---|---|---|---|---|
n/a - Code Suggestions instance level enable checkbox | Complete | Application Performance | @nmilojevic1 | Make SM configurable with a token for Code Sugg... (#412436 - closed) |
1,2,3 | Complete | Application Performance | @nmilojevic1 | Make SM configurable with a token for Code Sugg... (#412436 - closed) |
4,5 | Complete (Existing functionality) | |||
6,7,8,12 | Complete | Create:IDE | @viktomas |
By App Performance team POC: VScode uses code suggestions via SM instance (#412792 - closed) By Create team: #413135 (closed) |
9,10,11 | Complete | Application Performance | @nmilojevic1 | Proxy CodeSuggestions Tokens API for Self Manag... (#411435 - closed) |
13 | Complete | AI Assisted | @tle_gitlab |
Authentication: Authorize using stateless JWT... (gitlab-org/modelops/applied-ml/code-suggestions/ai-assist#56 - closed) |
Edited by Paul Phillips