Skip to content

fix(tui): order messages by creation time - #40994

Merged
thdxr merged 1 commit into
devfrom
tui-time-order
Aug 7, 2026
Merged

fix(tui): order messages by creation time#40994
thdxr merged 1 commit into
devfrom
tui-time-order

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • insert and hydrate TUI messages by creation time with ID as an equal-time tie-breaker
  • use exact transcript positions for pending, queued, and revert boundaries
  • order copied transcripts chronologically
  • leave part ordering unchanged

Testing

  • bun test test/cli/cmd/tui/sync-live-hydration.test.tsx test/util/transcript.test.ts --timeout 30000 --only-failures (25 passed)
  • bun typecheck
  • git diff --check

Requested by: @thdxr (Dax Raad via Slack)

@thdxr
thdxr enabled auto-merge (squash) August 7, 2026 04:29
@thdxr
thdxr merged commit 23cc677 into dev Aug 7, 2026
9 checks passed
@thdxr
thdxr deleted the tui-time-order branch August 7, 2026 04:41
HQ123-BOOP pushed a commit to HQ123-BOOP/LibreCode that referenced this pull request Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant