t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Message queued during /compact renders above the compaction, and the compaction row never clears

Open JoshuaKeegan3 opened this issue 2 months ago • 1 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Come back to a Claude thread that has been idle for a while, so T3 Code offers the built-in compaction.
  2. Run the compaction (/compact).
  3. While it is still compacting, send a new message so it gets queued behind the compaction.
  4. Wait for the compaction to finish and the queued message to start.

Expected behavior

When compaction finishes, the compaction row settles (e.g. "Context compacted") and the queued message's turn renders below it.

Actual behavior

The queued turn's output (subagent rows, "Thinking") renders above the /compact entry, and the compaction placeholder never clears. The /compact message stays in the timeline with a "Working for 0s" row below it, which never updates, even after the queued turn has started.

Possibly related to #7589, which covers the session sticking on Working after /compact. This report is about the queued follow-up message: its output appears above the compaction, and the compaction row is never replaced.

Impact

Minor bug or occasional failure

Version or commit

0.0.44 (t3code-bin, AUR)

Environment

Arch Linux (Omarchy), desktop app, Claude provider (Claude Code 2.1.286)

Screenshots, recordings, or supporting files

Image

JoshuaKeegan3 avatar Oct 01 '26 08:10 JoshuaKeegan3

I think this issue is actually due to date time. Sometimes when booting my system, I end up with the time being about 12 hours offset. The compact message says it was sent at 9:83am and the other message was sent at 8:54pm.

JoshuaKeegan3 avatar Oct 01 '26 08:10 JoshuaKeegan3