[VS Code] Diagnostics file does not reflect disabled DAP setting
Checklist
-
I'm using the latest version of the extension (see the latest version in the right column of this page)
- Extension version: 6.64.1 and 6.65.1
-
I'm using the latest VS Code version (find the latest version here)
- VS Code version: 1.108.0
-
I'm using a supported version of GitLab (see README for the supported version)
- GitLab version: 18.8
Summary
When you disable DAP in user or workspace settings, the DAP section disappears correctly but the diagnostics file still shows GitLab Agentic Chat and GitLab Flows as on.
We're also missing a ...is enabled in settings (true/false) item - I don't see anything under the GitLab Agentic Chat or GitLab Flows section, and nothing under the GitLab Duo Agent Platform settings section.
Video:
Steps to reproduce
- Open extension settings
- Disable GitLab Duo Agent Platform (I tried this in both User and Workspace settings)
- Open the diagnostics file (cmd + shift + p and type "GitLab Diagnostics") and scroll down to the GitLab Agentic Chat and GitLab Flows section
What is the current bug behavior?
- The label beside "GitLab Agentic Chat" and "GitLab Flows" still says
On - There isn't a distinct status in the doc indicating that the feature is enabled in settings (like we have for Code Suggestions and classic chat)
What is the expected correct behavior?
- The label beside "GitLab Agentic Chat" and "GitLab Flows" should say
Off. - We have a distinct status item that indicates that the feature is enabled in settings.