Skip to content

fix(app): show latest sessions in sidebar#13797

Closed
tora-san wants to merge 1 commit intoanomalyco:devfrom
tora-san:fix/sidebar-latest-sessions
Closed

fix(app): show latest sessions in sidebar#13797
tora-san wants to merge 1 commit intoanomalyco:devfrom
tora-san:fix/sidebar-latest-sessions

Conversation

@tora-san
Copy link

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).

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@tora-san
Copy link
Author

Closing this PR. I opened it without your permission.

@tora-san tora-san closed this Feb 16, 2026
@tora-san tora-san deleted the fix/sidebar-latest-sessions branch February 16, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant