Skip to content

Phase 4: investigate VS Code JS/TS parse syntax gaps #88

Description

@jununfly

This was generated by AI during triage.

What to build

Investigate the real supported JS/TS syntax gaps surfaced by the VS Code large-target parse-error taxonomy.

Issue #86 classified the 46 parse errors from the #81 VS Code profile. Most are intentional malformed fixtures or prompt/generated non-app source, but 16 paths look like normal supported JavaScript/TypeScript source or tests and should be investigated as parser coverage gaps rather than waived.

Evidence

Source artifact:

  • docs/benchmarks/2026-06-13-rust-indexing-core-phase-4-vscode-profile.raw.json

Representative real syntax-gap paths:

  • build/next/index.ts
  • extensions/copilot/src/extension/byok/vscode-node/test/geminiNativeProvider.spec.ts
  • extensions/copilot/src/extension/chatSessions/claude/vscode-node/test/claudeSlashCommandService.spec.ts
  • extensions/copilot/src/extension/chatSessions/copilotcli/node/test/copilotcliSession.spec.ts
  • extensions/copilot/src/extension/chatSessions/copilotcli/vscode-node/test/chatSessionMetadataStoreImpl.spec.ts
  • extensions/copilot/src/extension/chatSessions/copilotcli/vscode-node/test/lockFile.spec.ts
  • extensions/copilot/src/extension/typescriptContext/serverPlugin/src/common/typescripts.ts
  • extensions/copilot/src/platform/telemetry/common/telemetry.ts
  • src/vs/code/electron-browser/workbench/workbench.ts
  • src/vs/platform/agentHost/node/claude/claudeSubagentSignals.ts
  • src/vs/platform/browserView/electron-browser/preload-browserView.ts
  • src/vs/platform/tunnel/test/node/tunnelProxy.test.ts
  • src/vs/sessions/electron-browser/sessions.ts
  • src/vs/workbench/contrib/chat/test/common/promptSyntax/hookSchema.test.ts
  • src/vs/workbench/contrib/issue/browser/issueFormService.ts
  • src/vs/workbench/contrib/terminal/test/browser/terminalProfileService.integrationTest.ts

Acceptance criteria

  • Each real syntax-gap path is reduced to a minimal parser fixture or explained as a false positive in the taxonomy.
  • The root syntax feature is identified for each failing family.
  • Fixes include targeted parser/extractor coverage where appropriate.
  • Re-running the VS Code parse-error taxonomy moves fixed paths out of the real syntax-gap bucket.
  • Any remaining unfixed paths are explicitly listed as rollout blockers or accepted limitations.

Agent notes

Do not require VS Code to reach zero parse errors. This issue is only for the real supported JS/TS syntax-gap subset; malformed fixtures and prompt/generated non-app source should remain documented separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestready-for-agentFully specified and ready for an AFK agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions