GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — TUI session picker sorts by day instead of actual timestamp · Issue #24727 · anomalyco/opencode

TUI session picker sorts by day instead of actual timestamp #24727

New issue
Copy link
New issue
Copy link
Closed
#24725
Closed
TUI session picker sorts by day instead of actual timestamp#24727
#24725
Copy link
Assignees
rekram1-node

Description

@Sleepful
Sleepful
opened on Apr 28, 2026
Issue body actions

Bug Description

The TUI session picker groups sessions by update day and sorts within each day by creation time, rather than by the actual time.updated timestamp.

Steps to Reproduce

  1. Create multiple sessions
  2. Update a session that was created earlier in the day
  3. Open the session picker
  4. Observe that the recently-updated session does not appear at the top

Expected Behavior

Sessions should sort by actual time.updated timestamp (most recent first), matching the server-side Session.list() ordering.

Actual Behavior

Sessions are grouped by calendar day (setHours(0,0,0,0)), and within the same day they sort by creation time. The picker footer shows correct timestamps, but the sort order does not match them.

UX Impact

When you have multiple sessions updated today, they sort by creation order instead of most recent activity. This means switching to your most recently used session requires navigating past inactive conversations first.

Related

  • Complements GET /session: Add ORDER BY time_updated DESC to Session.list() for deterministic ordering and correct limit behavior #13569 (server-side ORDER BY time_updated DESC)
  • Complements feat(tui): add session_list_limit for session picker #6138 (session_list_limit)

Activity

  1. github-actions
    assigned
    rekram1-node
    on Apr 28, 2026
  2. github-actions
    added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 28, 2026
  3. thdxr
    removed
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  4. rekram1-node
    closed this as completedin #24725on May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.