Skip to content

Full index refresh can hang on SymbolExtractor.JavaScriptTypeScriptSupport #2683

Description

@Widthdom

Summary

During work on branch fix-issue2676-1783-1741-1733, a full local refresh with:

dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll . --json

stalled for several minutes near the end of indexing while repeatedly reporting:

cdidx: still indexing 341/342 file(s): src/CodeIndex/Indexer/Symbols/SymbolExtractor.JavaScriptTypeScriptSupport.cs (symbols)...

Multiple dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll . --json processes remained alive and had to be killed. The command then exited with E012_INTERRUPTED and partial progress saved.

Expected

A full refresh should either complete or fail with a bounded diagnostic instead of hanging indefinitely on symbol extraction for this file.

Notes

This was observed on macOS arm64 while following the issue-fix workflow for #2676/#1783/#1741/#1733. The current PR will only reference this issue as a discovered follow-up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions