Commit bc11847
authored
fix(amazonq): Change JB's behavior back to blocking auto trigger (#5978)
Added NonCancellable context: Wrapped getSuggestion with NonCancellable to prevent completion requests from being cancelled mid-execution
Implemented session persistence: Maintained activeTriggerSessions map to preserve suggestions from previous trigger sessions that were disposed before completion
Cross-session suggestion display: When a display session is invalidated, suggestions from activeTriggerSessions are carried forward to the next available display session via getVariants()
Asynchronous pagination: Made pagination non-blocking while ensuring suggestions are still delivered to future display sessions1 parent 1211c41 commit bc11847
File tree
4 files changed
+147
-88
lines changed- plugins/amazonq/codewhisperer/jetbrains-community
- src-242/software/aws/toolkits/jetbrains/services/codewhisperer/popup
- src-243+/software/aws/toolkits/jetbrains/services/codewhisperer/popup
- src/software/aws/toolkits/jetbrains/services/codewhisperer
- popup
- telemetry
4 files changed
+147
-88
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
0 commit comments