Skip to content

SCIP indexer - #5504

Open
yangdanny97 wants to merge 25 commits into
meta:mainfrom
yangdanny97:main
Open

yangdanny97 wants to merge 25 commits into
meta:mainfrom
yangdanny97:main

Conversation

@yangdanny97

Copy link
Copy Markdown
Collaborator

Summary

This PR adds a SCIP indexer to Pyrefly, modeled after our existing setups for glean & code coverage. It is intended to be a replacement for Sourcegraph's scip-python, tho outputs are not 100% identical.

  • I am a human, and I fully understand the code I am submitting.

Test Plan

Snapshot tests, manual runs comparing with scip-python for repos like pytorch

@meta-cla meta-cla Bot added the cla signed label Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

✅ This PR meets all requirements from our pull request checklist.

Optional recommendations:

  • If this PR addresses an open issue, please link the issue in the PR description and claim it.
  • This PR is very large, which makes it slow and difficult to review. We strongly recommend splitting it into smaller PRs that can be merged independently. If that isn't possible, please structure it as a series of small commits. If you've already split it as far as is practical, no action is needed.

Note: this comment updates automatically after changes to the PR. Updates may take up to half an hour.

yangdanny97 and others added 2 commits November 3, 2026 22:47
SCIP indexes name the tool that produced them in metadata.tool_info.name,
and indexers conventionally use a scip- prefix (scip-python, scip-java,
scip-typescript). Writing scip-pyrefly makes the producer clear to SCIP
consumers alongside other indexers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Bffbuhqr9Q4j6RVYDgryu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Bffbuhqr9Q4j6RVYDgryu
@github-actions github-actions Bot added size/xl and removed size/xl labels Nov 4, 2026
@meta-codesync

meta-codesync Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

This pull request has been imported. If you are a Meta employee, you can view this in D129353935. (Because this pull request was imported automatically, there will not be any future comments.)

@github-actions

This comment has been minimized.

@github-actions github-actions Bot added size/xl and removed size/xl labels Nov 4, 2026
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants