|
|
@@ -85,8 +85,8 @@ describe.skipIf(process.platform === 'win32')('semantic checkpoint hard-crash re
|
|
|
expect(crashed.markerText).toBe('request-dispatched')
|
|
|
const events = await load(crashed.root)
|
|
|
expect(events.map(event => event.type)).toEqual([
|
|
|
- 'agent/inbox/spliced', 'agent/inbox/spliced',
|
|
|
- 'turn/start', 'step/start', 'user/message', 'request/header', 'request/context', 'step/end', 'turn/end',
|
|
|
+ 'agent/inbox/spliced', 'turn/start', 'agent/inbox/spliced',
|
|
|
+ 'step/start', 'user/message', 'request/header', 'request/context', 'step/end', 'turn/end',
|
|
|
])
|
|
|
expect(events.at(-1)).toMatchObject({
|
|
|
type: 'turn/end', data: { reason: { kind: 'interrupted' } },
|