High invalid request rates of Duo Chat
Problem
Currently, it seems the majority of the Duo Chat requests to gitlab.com encounter a validation error. One of the possibilities is that the requesters do NOT to belong to any groups with EEU license + Enable Experiment and Beta features checkbox enabled, therefore it hits the Returning from Service due to validation
error.
Data point in the last 24 hours:
- There were 722 requests to the GraphQL endpoint for the Duo Chat. source.
- 529 of them encountered the
Returning from Service due to validation
error. source. - 167 of them passed the initial validation and processed. source
Approx. 73.2 % of the requests resulted in the validation error.
This indicates that the clients side (e.g. WebUI, VS Code Extension) are requesting to the GraphQL endpoint regardless of the requester doesn't have permission to do so.
Proposal
Improve the UX of the client side interface (WebUI and VS Code Extension) to prevent the users from requesting to the Duo Chat GraphQL endoint if they don't have permission.