fix: exclude extended kinds from parity tests#326
Conversation
…ports them The native engine does not yet extract extended kinds (parameter, property, constant). Filter these from both build-parity and engine parity comparisons, consistent with the existing children exclusion comment.
|
Claude finished @carlos-alm's task —— View job PR Review CompleteReviewing this pull request for codegraph - analyzing the fix for excluding extended kinds from parity tests. Todo List
Phase 1: Root Cause Analysis ✅What problem is this solving?
Is this legitimate or symptom-hiding? Phase 2: Configuration Change Detection ✅Analysis: ✅ NO HIGH-RISK CHANGES
Phase 3: Test Integrity ✅Analysis: ✅ ACCEPTABLE TEST MODIFICATIONS
No red flags detected - this is a legitimate exclusion of unimplemented features, not weakened assertions. Phase 4: Code Quality ✅Implementation Analysis:
Minor observations:
Root Cause AnalysisProblem Being Solved: Pre-existing CI failure due to WASM engine extracting extended symbol kinds ( Why This Approach: Temporary exclusion of unimplemented features from parity comparisons is appropriate. The native engine has the extraction infrastructure but doesn't populate these extended kinds in its final output yet. Risk Assessment: Low risk. This is a legitimate temporary workaround for a known feature gap, well-documented, and doesn't compromise core functionality testing. Critical ConcernsNone identified. This is a clean, well-justified fix for a real infrastructure gap. Final Recommendation
|
Greptile SummaryAligned both parity test files to exclude extended kinds (
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: af33d63 |
Summary
parameter,property,constant) and structural edges (parameter_of,receiver) frombuild-parity.test.jscomparisonengines/parity.test.jsnormalize()functionchildrenexclusion commentFixes the pre-existing CI failure in
build-parity.test.js(WASM: 19 nodes/31 edges vs native: 10 nodes/13 edges).Test plan
build-parity.test.js— 2 tests pass (was failing)engines/parity.test.js— 10 pass, 3 skipped (was 1 failing)