Commit 52016f4
fix(responses-demo): make crash route recovery-aware (crash once, then recover)
The demo crash trigger (input='crash' -> os._exit(137)) did not check
context.is_recovery, so after a crash the durably re-delivered 'crash' input
re-fired the exit on every recovered lifetime — an infinite crash-loop for a
demo whose whole point is to crash ONCE and recover. Guard with
'not context.is_recovery' so the recovered run skips the crash and resumes to
completion. Also refreshes the azd env agent version pointer.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 2c8d3d8 commit 52016f4
2 files changed
Lines changed: 8 additions & 4 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
236 | 240 | | |
237 | 241 | | |
238 | 242 | | |
| |||
0 commit comments