When editing Composer's code and then accepting, any follow-up requests will fail

I’m pretty sure this is what causes it. I can tell Composer e.g. “update these files according to example.com/some-migration-guide” and it will do it, but then the next message I send will always give me the “Connection failed” error. This is wrong. See my comment below.

From there, it always fails no matter how many times I retry. I’ve emailed plenty of request IDs to hi@cursor.sh with no response. Only pressing the “reset composer” button fixes it, but then obviously I lose my chat history and the model won’t remember what it was doing.

1 Like

Hi @TacoNavigator, does this constantly happen to you with every link you try, I couldn’t reproduce it on my end.

Hi @shaoruu. Weird, it seemed to happen on every link yesterday, but now I also can’t seem to reproduce it.

Here are a bunch of request IDs where it happened though:

  • 64a57f7a-11de-4d32-9882-d60aa6444376
  • ef5081c9-d8c0-4543-a60d-1146cf8fa36a
  • 4cea62cb-87f9-4bb4-a82b-3dfd7a4005e2
  • 798f71b4-affc-4440-a84d-7393e741b27d
  • 732c38da-ca6d-4b1e-b79d-72a92b705a33
  • 049fe5ed-7f31-4506-be77-6f7feb606986

@shaoruu I just tried recreating the exact Composer edit I did yesterday and it failed again. Might be something specific to my link or my files. Here is the request ID: cb6885f4-cf66-4a02-8c14-bf64270cdcbc

@shaoruu Sorry for all the pings. I’ve finally figured out the correct repro steps, it turns out the link had nothing to do with it.

These steps trigger the bug 100% of the time:

  1. Open an empty folder in Cursor.
  2. Open a floating Composer window (CTRL+I).
  3. Tell Composer “make a hello world app, be sure to create at least one file”. Don’t accept or save yet.
  4. Make a manual change to the file (e.g. add a line at the end that says “test”).
  5. Then press CTRL+S to save the file.
  6. Then press “Accept All” in Composer.
  7. Send any other message to Composer (e.g. “are you still there”). It won’t go though. You are now completely unable to use Composer until you reset it.

Thanks for this! This is very helpful, will fix.

1 Like