Skip to content

Bug: Message ordering broken when client clock is out of sync with server #15657

@kiddlu

Description

@kiddlu

Description

When the client's local clock differs significantly from the server's clock, message ordering in the web UI becomes completely broken. User messages appear after assistant messages, causing the UI to appear stuck in a "thinking" state because the user message is suppressed as being "older" than existing assistant messages.

Plugins

No response

OpenCode version

1.2.15

Steps to reproduce

Set client computer clock to a time significantly different from server (e.g., 2+ hours behind)
Open web UI at http://server:port
Send a message
Observe that the message appears at the wrong position in the timeline

Screenshot and/or share link

No response

Operating System

Debian 13

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions