Commit 3447e85
committed
fix(site): invalidate debug runs on chat interrupt
interruptChat was the only debug-run-producing mutation that didn't kick
the Debug panel query on success. The other four (createChatMessage,
editChatMessage, promoteChatQueuedMessage, regenerateChatTitle) all
invalidate chatDebugRunsKey. Without it, the panel shows stale
"running" for up to the 5s poll interval after the user interrupts.
Change-Id: I086ca5dde03439f6bc48458b91f9d0f0e81041fa
Signed-off-by: Thomas Kosiewski <tk@coder.com>1 parent c1afd99 commit 3447e85
2 files changed
Lines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1179 | 1179 | | |
1180 | 1180 | | |
1181 | 1181 | | |
1182 | | - | |
| 1182 | + | |
1183 | 1183 | | |
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
1187 | | - | |
1188 | | - | |
1189 | 1187 | | |
1190 | | - | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
1191 | 1194 | | |
1192 | 1195 | | |
1193 | 1196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
987 | | - | |
| 987 | + | |
988 | 988 | | |
989 | | - | |
990 | | - | |
991 | | - | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
992 | 996 | | |
993 | 997 | | |
994 | 998 | | |
| |||
0 commit comments