[PR #13797] fix(app): show latest sessions in sidebar #14811

Closed
opened 2026-02-16 18:19:34 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13797

State: closed
Merged: No


Summary

  • Load sidebar sessions from session.list without forcing roots=true, so recently updated child sessions are eligible for display.
  • Update session trimming to select sessions by recency (with dedupe + permission retention) while still storing by id for binary-search event reducers.
  • Include non-root sessions in sidebar visibility filtering and keep sessionTotal in sync for create/archive/delete events.
  • Refresh unit tests for the new query shape and recency-based trimming behavior.

Verification

  • Could not run app tests in this environment: bun is not installed (command not found).
  • Could not run typecheck in this environment: tsgo is not installed (command not found).
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13797 **State:** closed **Merged:** No --- ## Summary - Load sidebar sessions from `session.list` without forcing `roots=true`, so recently updated child sessions are eligible for display. - Update session trimming to select sessions by recency (with dedupe + permission retention) while still storing by `id` for binary-search event reducers. - Include non-root sessions in sidebar visibility filtering and keep `sessionTotal` in sync for create/archive/delete events. - Refresh unit tests for the new query shape and recency-based trimming behavior. ## Verification - Could not run app tests in this environment: `bun` is not installed (`command not found`). - Could not run typecheck in this environment: `tsgo` is not installed (`command not found`).
yindo added the pull-request label 2026-02-16 18:19:34 -05:00
yindo closed this issue 2026-02-16 18:19:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14811