[PR #6731] fix: use session list filter result instead of discarding it #12069

Open
opened 2026-02-16 18:17:00 -05:00 by yindo · 0 comments
Owner

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

State: open
Merged: No


Summary

  • The pipe() result filtering archived sessions and sorting by update time was computed but never assigned or returned
  • The original unfiltered sessions array was returned instead, causing duplicate/archived sessions to appear

Changes

  • Assign the pipe() result to sessions variable
  • Return the filtered and sorted result

Testing

  • Session list should now only show non-archived sessions
  • Sessions should be sorted by most recently updated first
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6731 **State:** open **Merged:** No --- ## Summary - The `pipe()` result filtering archived sessions and sorting by update time was computed but never assigned or returned - The original unfiltered `sessions` array was returned instead, causing duplicate/archived sessions to appear ## Changes - Assign the `pipe()` result to `sessions` variable - Return the filtered and sorted result ## Testing - Session list should now only show non-archived sessions - Sessions should be sorted by most recently updated first
yindo added the pull-request label 2026-02-16 18:17:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12069