Commit a382a02
committed
fix(init): add Sentry observability to stale-step recovery path
Previously the recovery path had no observability — there was no way
to tell from Sentry whether the fix was working in production.
- addBreadcrumb when recovery succeeds: appears in subsequent traces
so we can confirm the recovery mechanism is actually being triggered
and seamlessly continuing the wizard.
- captureException (warning) when recovery fails: creates a separate
trackable event tagged wizard.stale_step_recovery=failed with the
step ID and run ID so we can investigate edge cases where runById
is unreachable or returns unexpected data.
The server-side CLI-SERVER-9 events (from withWorkflowErrorCapture)
continue to fire on each "step not suspended" 500, but these new
client-side events tell us the outcome of the recovery attempt.1 parent 15c21c1 commit a382a02
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
509 | 510 | | |
510 | 511 | | |
511 | 512 | | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
512 | 519 | | |
513 | 520 | | |
514 | 521 | | |
515 | 522 | | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
516 | 531 | | |
517 | 532 | | |
518 | 533 | | |
| |||
0 commit comments