Commit 9bfe9dd
Fix Java upgrade notification flow telemetry and activation check
Addresses three follow-up improvements from v0.27.5 telemetry analysis (#5979):
1. Add hasCVEIssue field to upgradeNotification.show event so the 6
(state x type) buckets can be split at the NOTIFY level.
2. Emit upgradeFlow.result success right after installExtension resolves
on the outdated path (instead of only after reload acceptance, which
was lost 81% of the time), wrap install in try/catch to label
install-failed, and report reload acceptance as a separate
reloadChoice event.
3. Replace the fixed setTimeout(2000) post-install activation wait with a
15s polling loop to fix the 41% false activation-timeout rate.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 4db30ab commit 9bfe9dd
2 files changed
Lines changed: 32 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
200 | 209 | | |
201 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
202 | 219 | | |
203 | 220 | | |
204 | 221 | | |
205 | 222 | | |
206 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
207 | 229 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | 230 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | 231 | | |
219 | 232 | | |
220 | 233 | | |
221 | 234 | | |
222 | 235 | | |
223 | 236 | | |
224 | | - | |
225 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
226 | 245 | | |
227 | | - | |
228 | | - | |
229 | 246 | | |
230 | 247 | | |
231 | 248 | | |
| |||
0 commit comments