Investigate IndexError related to truncated suffix
There seems to be some bugs introduced with the recent deployment in production related to truncated suffix https://log.gprd.gitlab.net/app/r/s/VT2Yi /cc @bruno Cardoso
<snipped>
truncated_suffix = parser.suffix_near_cursor(point=_make_point(prefix))
File "/app/codesuggestions/suggestions/processing/completions.py", line 345, in _make_point
col = len(lines[-1])
IndexError: list index out of range
Edited by Tan Le