@@ -272,22 +272,6 @@ describe("CursorAdapterV2", () => {
272272 } ) ,
273273 failure : { class : "transport_error" , message : "Provider turn failed." } ,
274274 } ,
275- {
276- reason : "an error Cursor's run ended with after the turn ended" ,
277- updates : [
278- { type : "text-delta" , text : "The answer." } ,
279- { type : "turn-ended" } ,
280- ] satisfies ReadonlyArray < InteractionUpdate > ,
281- wait : Effect . succeed ( {
282- id : "native-cursor-run" ,
283- requestId : "native-request" ,
284- status : "error" as const ,
285- error : { message : "Checkpoint persistence failed" } ,
286- model : { id : "claude-fable-5" } ,
287- durationMs : 1 ,
288- } ) ,
289- failure : { class : "provider_error" , message : "Checkpoint persistence failed" } ,
290- } ,
291275 {
292276 reason : "no failure when Cursor's resume after the turn ended made no progress" ,
293277 // Cursor's SDK resumed from an older checkpoint after the answer was
@@ -328,31 +312,6 @@ describe("CursorAdapterV2", () => {
328312 message : "Agent turn stopped after repeated resume attempts made no progress" ,
329313 } ,
330314 } ,
331- {
332- reason : "the error a continuation's tool call after the turn ended stopped with" ,
333- updates : [
334- { type : "text-delta" , text : "The answer." } ,
335- { type : "turn-ended" } ,
336- {
337- type : "partial-tool-call" ,
338- modelCallId : "native-model-call" ,
339- callId : "read-file" ,
340- toolCall : { type : "read" , args : { path : "math.ts" } } ,
341- } ,
342- ] satisfies ReadonlyArray < InteractionUpdate > ,
343- wait : Effect . succeed ( {
344- id : "native-cursor-run" ,
345- requestId : "native-request" ,
346- status : "error" as const ,
347- error : { message : "Agent turn stopped after repeated resume attempts made no progress" } ,
348- model : { id : "claude-fable-5" } ,
349- durationMs : 1 ,
350- } ) ,
351- failure : {
352- class : "provider_error" ,
353- message : "Agent turn stopped after repeated resume attempts made no progress" ,
354- } ,
355- } ,
356315 {
357316 reason : "no answer from a resume after the turn ended that made no progress" ,
358317 updates : [ { type : "turn-ended" } ] satisfies ReadonlyArray < InteractionUpdate > ,
0 commit comments