After removing the AI assistant feature from the dashboard (#18726), the VS Code extension still has leftover references that should be cleaned up:
-
extension/src/debugger/languages/dotnet.ts — Injects ASPIRE_DASHBOARD_AI_DISABLED=true env var for every AppHost launch. The dashboard no longer recognizes this variable.
-
extension/src/debugger/languages/maui.ts — Lists ASPIRE_DASHBOARD_AI_DISABLED in isKnownMauiApplicationEnvironmentVariable.
-
extension/src/dcp/DashboardTelemetryPassthrough.ts — Allowlists 5 Aspire.Dashboard.AIAssistant.* property keys in ALLOWED_DASHBOARD_PROPERTY_KEYS and ALLOWED_STRING_ARRAY_PROPERTY_KEYS.
-
extension/src/test/dashboardTelemetryPassthrough.test.ts — Tests exercise the removed AI property keys.
These are harmless (they emit a now-ignored env var and allowlist telemetry keys that will never arrive), but should be removed to keep the extension in sync with the dashboard.
After removing the AI assistant feature from the dashboard (#18726), the VS Code extension still has leftover references that should be cleaned up:
extension/src/debugger/languages/dotnet.ts— InjectsASPIRE_DASHBOARD_AI_DISABLED=trueenv var for every AppHost launch. The dashboard no longer recognizes this variable.extension/src/debugger/languages/maui.ts— ListsASPIRE_DASHBOARD_AI_DISABLEDinisKnownMauiApplicationEnvironmentVariable.extension/src/dcp/DashboardTelemetryPassthrough.ts— Allowlists 5Aspire.Dashboard.AIAssistant.*property keys inALLOWED_DASHBOARD_PROPERTY_KEYSandALLOWED_STRING_ARRAY_PROPERTY_KEYS.extension/src/test/dashboardTelemetryPassthrough.test.ts— Tests exercise the removed AI property keys.These are harmless (they emit a now-ignored env var and allowlist telemetry keys that will never arrive), but should be removed to keep the extension in sync with the dashboard.