Conversation
|
Claude finished @Saga4's task in 2m 59s —— View job PR Review Summary
Prek ChecksAll checks pass — Mypy errors in Code ReviewWhat this PR does:
Findings: 1. Silent exception swallowing in try:
is_ts = self.treesitter_language == TreeSitterLanguage.TYPESCRIPT
return normalize_js_code(source, typescript=is_ts)
except Exception:
return source # no log hereWhen the normalizer fails, it silently returns the original source unchanged. This means deduplication silently degrades to "no deduplication at all" with no observability. The inner 2. Dead The abstract class 3. Both inner functions now have identical 3-branch trees (method_definition → function_declaration family → lexical/variable_declaration). This is pre-existing duplication that the PR extends. Not a blocker, but worth noting as a refactor target. 4. Multiline arrow function line-matching correctness ( if name == target_name and (
(node.start_point[0] + 1) == target_line
or (value_node.start_point[0] + 1) == target_line
):The fix for multi-line 5.
Duplicate DetectionNo duplicates detected. The two inner functions ( Test CoverageAll 140 tests pass. New tests cover:
Optimization PRsMerged #1779 (⚡️ Speed up |
⚡️ Codeflash found optimizations for this PR📄 11% (0.11x) speedup for
|
⚡️ Codeflash found optimizations for this PR📄 114% (1.14x) speedup for
|
No description provided.