HolyClaude icon indicating copy to clipboard operation
HolyClaude copied to clipboard

Duplicate messages in chat UI

Open mikkelnl opened this issue 8 months ago • 2 comments

Image Variant

Full (latest / dev)

Image Tag / Version

latest

Host OS

Linux

What happened?

Every message I send appears twice in the chat interface, with a 1-second timestamp difference between them (e.g., 21:13:25 and 21:13:27). Claude's "Thinking..." indicator also appears twice as two separate response blocks simultaneously. Claude's actual response only appears once — so functionally everything works, it's purely a UI rendering issue.

What did you expect?

Each sent message should appear once. Claude's thinking/processing indicator should appear once.

Steps to reproduce

  1. Deploy HolyClaude via Docker Compose on a Raspberry Pi 5 (ARM64, Linux)
  2. Open the web UI via direct local IP (http://10.0.0.3:3002) — not through a reverse proxy
  3. Create a CloudCLI account and start a new session
  4. Send any message
  5. Both the sent message and Claude's Thinking indicator appear duplicated in the chat

Environment

  • HolyClaude image: coderluii/holyclaude:latest
  • Host: Raspberry Pi 5 (ARM64, Linux)
  • Browsers tested: Safari (macOS) and Chrome (macOS) — issue occurs in both
  • Access: Direct local IP, reverse proxy ruled out as cause
  • Fresh install with clean data directory

What I've already tried

  • Fresh container with clean data directory
  • Removed .holyclaude-bootstrapped sentinel file and restarted
  • github.com
  • Tested in Safari and Chrome
  • Created new sessions via + New Session

Docker Compose / Run command


Logs / Error output


mikkelnl avatar Apr 01 '26 19:04 mikkelnl

Thanks. This one was real too.

The important part was that Claude was not actually answering twice. The UI was rendering parts of the flow twice. That pointed more at CloudCLI event handling than Claude generating duplicate output.

HolyClaude already patches CloudCLI behavior in the image, so I shipped the user fix there first and opened the upstream follow-up separately.

This is fixed in v1.1.9.

What changed:

First, equivalent realtime chat events now get deduped instead of blindly appended.

Second, persisted and realtime message views now merge without double-rendering the same logical row.

Short version: duplicate user and thinking rows should be gone.

If you still see the same duplication on v1.1.9, reply here and I’ll reopen it.

CoderLuii avatar Apr 04 '26 08:04 CoderLuii

Closing as fixed in v1.1.9.

CoderLuii avatar Apr 04 '26 08:04 CoderLuii