[Vs Code] Suggestion loading icon remains in gutter after canceling (streamResult.done = false)
Summary
This only occurs intermittently (about 20% of the time).
When generating a suggestion, if ESC is pressed during a stream, occasionally the gutter loading icon will remain and will follow the cursor.
Note: there is no streamResult.done = true
in the logs when this happens, the last log entry is streamResult.done = false
Video of the icon being sticky, while not suggesting anything:
Screen_Recording_2023-12-22_at_15.47.37
Video of it occurring
guttericonsticky
Checklist
-
~~I'm using the latest version of the extension 3.96.1 -
I'm using the latest VS Code version -
I'm using a supported version of GitLab (see README for the supported version) - GitLab version: happens on
gitlab.com
- GitLab version: happens on
What is the expected correct behavior?
- No suggestion / no gutter icon
Actual behaviour
Suggestion stops streaming, but gutter icon remains and follow cursor, even though the plugin isn't working.
Logs
2023-12-22T15:44:58:154 [debug]: Streaming Suggestion:
describe('pipeline actions', () => {
it('should trigger pipeline run', async () => {
const pipelineRun = {, Done is false
2023-12-22T15:44:58:154 [debug]: streamResult.done = false
2023-12-22T15:44:58:401 [debug]: Streaming Suggestion:
describe('pipeline actions', () => {
it('should trigger pipeline run', async () => {
const pipelineRun = {
id: ', Done is false
2023-12-22T15:44:58:401 [debug]: streamResult.done = false
Edited by Tristan Read