warp icon indicating copy to clipboard operation
warp copied to clipboard

Process stuck in repetitive "summarization loop" failing to make progress

Open macjabeth opened this issue 1 year ago • 38 comments

Pre-submit Checks

Describe the bug

When running a long-running, stateful process (in this case, an AI agent performing a multi-step coding task), the process gets stuck in a repetitive loop. Instead of progressing through its task list, it repeatedly re-summarizes its context and restarts the same initial step.

This seems to indicate an issue with how the session's state or history is being managed or summarized, causing the underlying process to lose its place and start over.

To reproduce

  1. Initiate a long-running, multi-step process. (In my case, it was an AI agent executing "Phase 5" of a 25-step phase process.)
  2. The process defines a "Todo List" and series of sub-tasks.
  3. The process begins work, reads files, and outputs its progress.
  4. Eventually, instead of moving to the next task, the process appears to re-evaluate its context (e.g., "Looking at the conversation summary...").
  5. After this re-evaluation, it restarts from the first step, announcing the same "Phase 5" task, reading the same files, and before any progress is made, re-initiating the same "summarization" process and then regenerating the commands again.
  6. This loop repeats indefinitely, preventing any forward progress.

Expected behavior

The process should execute its defined steps sequentially. After completing one sub-task, it should move on to the next until the entire "Todo List" is finished. Any summarization should be short enough to not immediately exceed the limit again that initiates the recurring loop.

Screenshots, videos, and logs

No response

Operating system (OS)

Windows

Operating system and version

25H2

Shell Version

PowerShell 5.1 (Build 26100, Revision 6725)

Current Warp version

v0.2025.10.15.08.12.stable_01

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

This bug has a direct financial impact.

The process being run in a way that consumes API credits for every operation it performs. Because the process is stuck in an infinite loop (summarize -> restart task -> summarize -> ...), it continuously consumes these credits without ever making progress or producing a result.

As a user, this is highly problematic as it burns through paid resources, leading to unexpected costs with zero output. It essentially rips the user off by failing in a way that costs them credits for no reason, making the terminal unreliable for this kind of stateful, long-running work.

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

macjabeth avatar Oct 18 '25 20:10 macjabeth

Since a few hours, I have the same problem. Is it a bug or a feature?

Image

Openliquid avatar Oct 18 '25 20:10 Openliquid

Since a few hours, I have the same problem. Is it a bug or a feature?

Image

It seems like a bit of both. I know they changed the UI around a bit with the latest update so we can more easily see summarization when it's happening now, but I think it was a feature before that (I'm not certain). In any case, I think summarization is a good feature to have and it definitely helps with executing long-running tasks, but the problem is when it gets stuck in a repeating loop like this.

macjabeth avatar Oct 18 '25 20:10 macjabeth

It happenend during the process, from one moment to the other it started this "summarizing conversation" .... it´s boring and if you interrupt it, it´s start from the beginning. Image

Openliquid avatar Oct 18 '25 21:10 Openliquid

@macjabeth - would you be able to attach or send me the debugging ids for the looping conversation? It would help with determining what's going on, thanks!

cephalonaut avatar Oct 19 '25 01:10 cephalonaut

@macjabeth - would you be able to attach or send me the debugging ids for the looping conversation? It would help with determining what's going on, thanks!

Hi, thank you for your feedback. Here are my debuggin ID:

{"request_id":"5fccf1f4-2faf-4d7c-aaed-2534eaaee3ab","conversation_id":"b960de60-25ed-495d-945e-f4f54fa2f129"}

It´s also consuming a huge amount of credits, my new billing cycle started just a few hours ago and it already consumed 4000 credits.

Image

In the last billing cylcle I have consumed over the whole month arround 39k Credits and now in a few hours 4k?

Thank you for your support.

Openliquid avatar Oct 19 '25 06:10 Openliquid

4 Minutes later over 100 Credits more are gone:

Image

Openliquid avatar Oct 19 '25 07:10 Openliquid

Hi, on more debuggin ID:

{"request_id":"8b7cb9f6-d21a-480f-8f7a-ee1beae0d91c","conversation_id":"f1ba62ca-cf3d-4e35-a8b8-83fc12944d5c"}

I made a new window in warp and few minutes it´s working fast and without "Summarizing Conversation" and then it starts this process

Image

Credit status:

Image

Openliquid avatar Oct 19 '25 09:10 Openliquid

Same here. Everything started yesterday morning. {"request_id":"ba224e64-acc6-4e6d-9088-d5f2400d6256","conversation_id":"28e42a35-523c-4a30-bceb-75b99d89f0ad"}

agisofttm avatar Oct 19 '25 09:10 agisofttm

One more:

Image

{"request_id":"6d640432-1153-4163-ac16-24ce96a5b994","conversation_id":"f1ba62ca-cf3d-4e35-a8b8-83fc12944d5c"}

It was arround 4 - 5 pm CET in my case.

Think till the end of the day, the credits will be all consumed :-)

Image

Openliquid avatar Oct 19 '25 10:10 Openliquid

Same here

radekdymacz avatar Oct 19 '25 11:10 radekdymacz

2 more:

{"request_id":"c0601fb4-3850-462e-9d8e-0470180e754f","conversation_id":"bd06b492-92ce-403e-b335-6649644b7159"}

{"request_id":"b61119a2-2e19-4b93-ac7e-8fe3337a6827","conversation_id":"16a8a736-9ed9-4051-85a9-09dc5d8f0927"}

Openliquid avatar Oct 19 '25 11:10 Openliquid

Since a few minutes it´s going crazy:

Image

After EACH step it´s doing this thing.

Openliquid avatar Oct 19 '25 11:10 Openliquid

I have the same issue and is consuming a lot of credits for no reason and no results. Changed model, restarted everytime summarization starts everything is blocked. Please fix asap.

francesco-laferla avatar Oct 19 '25 14:10 francesco-laferla

Thanks for the links - we've just turned off an experiment that should resolve this issue. Let us know if this persists.

cephalonaut avatar Oct 19 '25 14:10 cephalonaut

Thanks for the links - we've just turned off an experiment that should resolve this issue. Let us know if this persists.

Thank you. Also the credit burning is stopped? https://github.com/warpdotdev/Warp/issues/7820

Openliquid avatar Oct 19 '25 15:10 Openliquid

@cephalonaut Now it looks like it is fixed but I lost at least 2000 in credits today and few hours of work just looking at the "Summarization" text. Any plan to give any refund?

francesco-laferla avatar Oct 19 '25 18:10 francesco-laferla

Thanks for the links - we've just turned off an experiment that should resolve this issue. Let us know if this persists.

@cephalonaut Now it looks like it is fixed but I lost at least 2000 in credits today and few hours of work just looking at the "Summarization" text. Any plan to give any refund?

Seconding this. Not sure how I feel about being used as a guinea pig for experimental features when real money is on the line and I never explicitly opted in.

macjabeth avatar Oct 20 '25 00:10 macjabeth

@macjabeth - My apologies that this happened. Just to clarify, we weren't testing out experimental features but rather rolling out an improvement to our summarization system that we expect to make a real difference in quality for conversations that exceed the context window. Unfortunately, a bug we didn't find in testing lead to the looping behavior you and others experienced. We were able to revert that change because major changes are rolled out using "experiment" flags as a precaution. We'll do better to prevent this problem from reoccurring and will be reaching out about credits.

cephalonaut avatar Oct 20 '25 17:10 cephalonaut

Same here. Unfortunately I didn't capture the request id when I interrupted it finally. Any chance you can look up how many credits this ended up wasting? I'm on the turbo plan and don't watch my spending that closely.

cipherome-minkim avatar Oct 24 '25 05:10 cipherome-minkim

Image Same here. I can't continue the conversation anymore... How can I stop this?

chwonl avatar Nov 04 '25 17:11 chwonl