Repository navigation
Perf: index AST file labels during mention deduplication - #5673
sdivyanshu90 wants to merge 1 commit into
Conversation
Fixes Graphify-Labs#5671 Co-authored-by: OpenAI <[email protected]>
|
Thanks for the pull request, @sdivyanshu90. A maintainer will review it soon. Want to talk it through while it is in review? Come join us on our Discord server. For longer-form discussion there is also GitHub Discussions. A couple of things that speed up review: make sure the test suite passes on Python 3.11 and 3.13, and that the change keeps extraction deterministic. |
|
Thanks @sdivyanshu90! One small thing: our changelog and release notes are built from PR titles, so we use the conventional-commits format, for example: Prefixes we use: |
|
@safishamsi Could you please review this PR? |
There was a problem hiding this comment.
Graphify review 
No issues reported · High impact
What this review covered
- We didn't review 1 file that isn't source code, such as docs, config, images, or generated or third-party code.
- 2 of 2 changed files inspected. This is scope, not a correctness guarantee.
Code graph · 2375 functions depend on this change
- 2 functions became more coupled.
build_from_json()(355 callers),_lost_saved_semantic_nodes()(25 callers). - 666 of 666 test files are affected by this change.
- Gate, test list and every flagged function: in the Graphify check.
Reviewed bfa5001
Fixes #5671
Summary
Validation
python -m pytest -q tests/test_file_mention_index.py tests/test_build*.py tests/test_shrink_guard*.py→ 201 passed.ruff check .→ passed.python -m pyright --outputjson→ same diagnostics as clean upstream (1,258 errors and 241 warnings in this environment).python -m graphify update .→ completed.python -m pytest tests -q→ 12,592 passed, 147 skipped, 2 xfailed, and 17 failures. The same 17 tests fail on clean upstream in this environment.