Commit e74c4c5
committed
🐛 Fix processing time format error and add diff parsing debug logging
🔧 CRITICAL FIXES:
- Fix TypeError when processing_time is None in result logging
- Handle None processing_time gracefully with fallback to 0.0
🔍 DEBUG IMPROVEMENTS:
- Add comprehensive debug logging to diff parsing
- Log unidiff PatchSet creation and file processing details
- Track file skipping reasons (binary files, invalid paths, no hunks)
- Add detailed logging for troubleshooting 0-file parsing issue
📊 ENHANCED LOGGING:
- Better visibility into diff parsing process
- Debug logs for each file conversion step
- Warning indicators for skipped files
- Preview of diff content when parsing fails
This addresses the immediate runtime error and provides tools to diagnose
why diff parsing is returning 0 files despite having content.1 parent 55784bc commit e74c4c5
2 files changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | | - | |
| 72 | + | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
| 81 | + | |
75 | 82 | | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
79 | | - | |
| 87 | + | |
| 88 | + | |
80 | 89 | | |
81 | 90 | | |
82 | 91 | | |
| |||
113 | 122 | | |
114 | 123 | | |
115 | 124 | | |
116 | | - | |
| 125 | + | |
117 | 126 | | |
118 | 127 | | |
119 | 128 | | |
| |||
124 | 133 | | |
125 | 134 | | |
126 | 135 | | |
127 | | - | |
| 136 | + | |
128 | 137 | | |
129 | 138 | | |
130 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
| |||
0 commit comments