Skip to content

[new-hs-indexer #5] tag refs with import/export/code #518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

simonmar
Copy link
Contributor

It's useful to be able to know whether a ref is in an import or export,
e.g. for dead code detection, so let's tag refs with an enum to say what
kind of ref it is.

I changed field names so that the schema change shouldn't trigger a
validation failure (I hope).

Note: stacked on #511

Copy link

netlify bot commented May 15, 2025

Deploy Preview for fb-oss-glean canceled.

Name Link
🔨 Latest commit 0dbb4cb
🔍 Latest deploy log https://app.netlify.com/projects/fb-oss-glean/deploys/6843e3b9ccb7cf0008ea72b7

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 15, 2025
@simonmar simonmar force-pushed the import-export-refs branch from 71f79fd to c30c4fa Compare May 15, 2025 11:52
@facebook-github-bot
Copy link
Contributor

@iamirzhan has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@simonmar simonmar force-pushed the import-export-refs branch from c30c4fa to 487e533 Compare May 24, 2025 18:42
@simonmar simonmar changed the title [new-hs-indexer] tag refs with import/export/code [new-hs-indexer #5] tag refs with import/export/code May 24, 2025
@simonmar simonmar force-pushed the import-export-refs branch from 487e533 to 78262d3 Compare May 30, 2025 16:11
It's useful to be able to know whether a ref is in an import or export,
e.g. for dead code detection, so let's tag refs with an enum to say what
kind of ref it is.

I changed field names so that the schema change shouldn't trigger a
validation failure (I hope).
@simonmar simonmar force-pushed the import-export-refs branch from 78262d3 to 0dbb4cb Compare June 7, 2025 07:01
@facebook-github-bot
Copy link
Contributor

@bochko has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot pushed a commit that referenced this pull request Jun 13, 2025
Summary:
1. Ignore Names that come from another source file (TODO)
2. Ignore Names that come from the current source file but have a
   line number outside the valid range. No idea why this happens, I
   didn't investigate.

Note: stacked on #518

Pull Request resolved: #521

Reviewed By: donsbot

Differential Revision: D75289445

Pulled By: bochko

fbshipit-source-id: 212e6c2e4432ef3840d75e8fa187033a15e58e04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants