Commit 886e5aa
Fix flaky abort test: approve permissions to avoid race with deny-by-default
The test_should_abort_a_session test relies on the shell tool actually
starting execution before the abort is sent. With deny-by-default
permissions (github#509), a race exists: if the permission denial response
arrives before the abort, the tool result becomes 'Permission denied'
instead of the snapshotted 'interrupted' message, causing the replay
proxy to fail matching subsequent requests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 970db18 commit 886e5aa
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
337 | 339 | | |
338 | 340 | | |
339 | 341 | | |
| |||
0 commit comments