Skip to content

Deduplicate lsif npm identifiers - #66

Open
Eric Fritz (efritz) wants to merge 1 commit into
microsoft:mainfrom
sourcegraph:deduplicate-lsif-npm-identifiers
Open

Deduplicate lsif npm identifiers#66
Eric Fritz (efritz) wants to merge 1 commit into
microsoft:mainfrom
sourcegraph:deduplicate-lsif-npm-identifiers

Conversation

@efritz

Copy link
Copy Markdown

The output of lsif-npm can contain vertices and edges with duplicated IDs. This PR ensures that a global integer ID generator is created to stop the current behavior of resetting the counter to MAX_SAFE_INTEGER on each construction (one for the import linker, one for the export linker, and one each time an int-id moniker is encountered after a uuid-id moniker).

@msftclas

Microsoft Contribution License Agreements (msftclas) commented Aug 9, 2019

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@chrismwendt

Copy link
Copy Markdown
Contributor

Dirk Bäumer (@dbaeumer) Jullyana Ramos (@jumattos) Could you take a look?

@efritz

Eric Fritz (efritz) commented Aug 30, 2019

Copy link
Copy Markdown
Author

Any chance of looking at this?

@efritz

Copy link
Copy Markdown
Author

Dirk Bäumer (@dbaeumer) any chance you could look at this?

@efritz
Eric Fritz (efritz) force-pushed the deduplicate-lsif-npm-identifiers branch from c79d693 to 2706d1d Compare November 14, 2019 15:02
Base automatically changed from master to main March 2, 2021 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants