microsoft / microsoft/typescript-analyze-trace

Can normalize-positions exit early once all positions have been normalized?

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
429
Forks
23
PR merge metrics
No merged PRs in 30d

Description

The naive implementation would be to add a global flag that causes all work to be skipped once it's set. However, it would be nicer if we could find some stream API that caused everything to shut down and/or detach.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the normalize-positions implementation and trace how its stream work is started and completed. Investigate whether the stream API can shut down or detach remaining work once all positions are normalized, rather than relying on a global skip flag. Done means normalization exits early without processing unnecessary remaining work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.