Skip to content

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

Closed as not planned

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

Activity

  1. github-actions commented on Mar 2, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is distinct from these, please clarify how it differs. Otherwise, consider adding your details to the existing issues.

  2. github-actions commented on May 2, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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