Commit e46b724
committed
fix(scripts): wait for finalize before reject in smoke test
The reject was racing with finalize — task reached in_review on the
server but daemon hadn't finished preserving the session yet. Agent
would then see in_progress (rejected) instead of in_review on getTask,
causing a spurious release + re-dispatch. Add 5s delay to let finalize
complete before rejecting.1 parent 370398a commit e46b724
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| |||
0 commit comments