apollographql / apollographql/apollo-tooling
VSCode helper pegged at 100%
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 460
- PR merge metrics
- No merged PRs in 30d
Description
When typing graphql queries the "Code Helper" process immediately jumps to 100% and stays there for a very long time. From the looks of things every keypress in a graphql fragment is triggering an update of some sort as I get errors under various parts of the gql query that bounce around for a few minutes after I'm done typing it. Maybe debounce the keypresses?

**Versions**
v1.5.2 of the plugin, 1.31.1 of vscode
Contributor guide
Research direction
No file, test, or entry point is named. Reproduce the issue by typing GraphQL queries in VSCode with the reported plugin and VSCode versions, then trace the updates associated with each keypress. Done means the Code Helper no longer remains at 100% CPU and diagnostics settle promptly after typing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100