eca-intellij icon indicating copy to clipboard operation
eca-intellij copied to clipboard

`/resume` shows random/inconsistent chat history after restart, with some chats missing

Open devleifr opened this issue 6 months ago • 7 comments

I’m using eca.dev installed via Homebrew on macOS:

eca --version eca 0.131.1

In IntelliJ IDEA, I’m using the eca.dev plugin configured to use the Homebrew-installed eca binary.

The problem is that after restarting the plugin, restarting IntelliJ IDEA, or rebooting the laptop, the chat history shown in /resume appears to be random or inconsistent. It is not just that recent chats are missing - the list itself changes unpredictably and may include seemingly random old chats while other chats are missing.

As a result, some chat sessions disappear from /resume, and there is no way to continue them.

Expected behavior: The /resume list should consistently show the available chat sessions and should not randomly change between restarts.

Actual behavior: After restarting the plugin, IntelliJ IDEA, or the laptop, /resume shows a different/random set of chats. Some chats are missing, while unrelated older chats may appear instead.

Environment:

  • macOS
  • eca installed via Homebrew
  • eca version: 0.131.1
  • IntelliJ IDEA with eca.dev plugin
  • Plugin configured to use the Homebrew eca binary

devleifr avatar May 15 '26 16:05 devleifr

@devleifr there is only time logic in which chats to show in resume, via the config chatRetentionDays which has 14 by default, all the rest should work, can you double check that the bug happens inside this time window? would be nice to test latest server version (0.134.2)

ericdallo avatar May 18 '26 23:05 ericdallo

@ericdallo I tested it with ECA 0.135.3 installed via brew and plugin version 0.27.2. I had several chats that I had been using for about 3 days. Today I typed /resume, but I can only see one of those chats; the others are missing.

devleifr avatar May 29 '26 10:05 devleifr

@devleifr I found a corner case in the new resume UI and fixed on server side, can you try latest?

ericdallo avatar May 29 '26 13:05 ericdallo

@devleifr I found a corner case in the new resume UI and fixed on server side, can you try latest?

Thank you!<3 Will try.

devleifr avatar Jun 01 '26 19:06 devleifr

@ericdallo It has become a little better, but it still isn’t working :(

devleifr avatar Jun 23 '26 14:06 devleifr

@devleifr can you provide some examples? I can't see anything that could explain that besides chatRetention config I mentioned

ericdallo avatar Jun 29 '26 15:06 ericdallo

@devleifr can you provide some examples? I can't see anything that could explain that besides chatRetention config I mentioned

The issue has been resolved, and the problem can be closed. Thank you for your assistance in resolving this matter.

devleifr avatar Jul 08 '26 10:07 devleifr