Commit f7198cc
committed
fix: address review feedback from Cursor BugBot
- Remove dead code: flattenSpanTree (unused, superseded by EAP API)
- Remove dead code: writeSpanTable (superseded by formatSpanTable)
- Fix case-insensitive span ID matching in findSpanById — lowercase
the API-returned span_id before comparing with user-lowercased input
- Fix JSON duration consistency: use computeSpanDurationMs() in
buildJsonResults instead of raw r.span.duration, matching the human
output path's timestamp-arithmetic fallback1 parent e6727e1 commit f7198cc
2 files changed
+4
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | | - | |
| 221 | + | |
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | 327 | | |
362 | 328 | | |
363 | 329 | | |
| |||
381 | 347 | | |
382 | 348 | | |
383 | 349 | | |
384 | | - | |
| 350 | + | |
385 | 351 | | |
386 | 352 | | |
387 | 353 | | |
| |||
490 | 456 | | |
491 | 457 | | |
492 | 458 | | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | 459 | | |
507 | 460 | | |
508 | 461 | | |
| |||
0 commit comments