revert: undo PR #455 due to 30 test regressions across multiple languages#467
revert: undo PR #455 due to 30 test regressions across multiple languages#467
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Greptile SummaryThis PR reverts the changes introduced by #455 (JS/TS service call resolution and empty-graph reindex), which caused 30 test regressions across Python, Lua, Rust, C++, TypeScript, and JavaScript by touching core call-resolution paths shared by all language parsers. The revert cleanly removes all five additions: the Key observations:
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[resolve_function_call] --> B{IIFE?}
B -->|yes| RET1[return IIFE match]
B -->|no| C{super call?}
C -->|yes| RET2[_resolve_super_call]
C -->|no| D{method chain?}
D -->|yes| RET3[_resolve_chained_call]
D -->|no| E[_try_resolve_via_imports]
E -->|found| RET4[return match]
E -->|not found| F[_try_resolve_same_module]
F -->|found| RET5[return match]
F -->|not found| G[_try_resolve_via_trie]
G -->|found| RET6[return trie match]
G -->|not found| RET7[return None]
subgraph "Reverted from #455"
H["class_context threading\n(this.method → RoutesController.method)"]
I["_should_force_full_reindex\n(empty graph → force full reindex)"]
J["Constructor injection types\n(this.service resolved via ctor params)"]
end
style H fill:#ffcccc
style I fill:#ffcccc
style J fill:#ffcccc
Last reviewed commit: "revert: undo PR #455..." |
c7257a4 to
9367755
Compare
9367755 to
faf7f9c
Compare
|



Summary
Reverts PR #455 (JS/TS service call resolution and empty-graph reindex) which introduced 30 test failures across Python, Lua, Rust, C++, TypeScript, and JavaScript.
Root cause
PR #455 modified
call_resolver.pyandjs_ts/type_inference.py— core modules that affect call resolution for ALL languages, not just JS/TS. The changes broke CALLS relationship detection across the entire test suite.Failures introduced (30 total)
Verification
All 30 failures resolve after this revert. The pre-existing test_write_to_readonly_directory failure remains (root chmod issue).
Note to @clawdx3
The intent of the PR was good — fixing JS/TS service call resolution and empty-graph reindex. The empty-graph reindex fix can be re-submitted as a smaller, focused PR. The call resolver changes need more careful testing across all languages before re-applying.