fix: improve session timeline and fix stale session detection #89

Merged
jonas.hanisch merged 1 commit from fix/session-timeline-improvements into main 2026-01-22 20:24:05 +00:00
Owner

Summary

  • SessionTimeline improvements: Added session header with status/timestamps/stats, full summary display, concepts as tags, prompt numbers, reversed timeline order (newest first)
  • Fixed stale session detection: Sessions are no longer incorrectly marked as 'failed' when they have recent activity in pending_messages or observations
  • Fixed DataRoutes: Corrected session ID column references (memory_session_id, content_session_id)
  • Dashboard layout: Improved grid layout for mobile responsiveness

Test plan

  • Open viewer at http://localhost:37777 and navigate to Sessions
  • Click on a session to expand timeline
  • Verify session header shows status, timestamps, and stats
  • Verify timeline items show newest first
  • Verify concepts are displayed as tags on observations
  • Verify prompt numbers are shown (prompt #1, #2, etc.)
  • Restart worker and verify active sessions are not marked as 'failed'

🤖 Generated with Claude Code

## Summary - **SessionTimeline improvements**: Added session header with status/timestamps/stats, full summary display, concepts as tags, prompt numbers, reversed timeline order (newest first) - **Fixed stale session detection**: Sessions are no longer incorrectly marked as 'failed' when they have recent activity in pending_messages or observations - **Fixed DataRoutes**: Corrected session ID column references (memory_session_id, content_session_id) - **Dashboard layout**: Improved grid layout for mobile responsiveness ## Test plan - [ ] Open viewer at http://localhost:37777 and navigate to Sessions - [ ] Click on a session to expand timeline - [ ] Verify session header shows status, timestamps, and stats - [ ] Verify timeline items show newest first - [ ] Verify concepts are displayed as tags on observations - [ ] Verify prompt numbers are shown (prompt #1, #2, etc.) - [ ] Restart worker and verify active sessions are not marked as 'failed' 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: improve session timeline and fix stale session detection
All checks were successful
CI / build (pull_request) Successful in 22s
CI / validate-plugin (pull_request) Successful in 2s
c860852318
SessionTimeline improvements:
- Add session header with status, timestamps, and stats
- Show full summary with all fields (request, investigated, learned, completed, next_steps)
- Display concepts as tags on observations
- Show prompt numbers (prompt #1, #2, etc.)
- Reverse timeline order (newest first)
- Add onClick prop to Card component

Fix stale session detection:
- Previously marked sessions as 'failed' based only on started_at timestamp
- Now checks for recent activity in pending_messages AND observations
- Sessions with activity in last 30 min are no longer marked as stale

Other fixes:
- Fix DataRoutes to use correct session ID columns (memory_session_id, content_session_id)
- Improve dashboard grid layout for mobile
- Add tags table migration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jonas.hanisch deleted branch fix/session-timeline-improvements 2026-01-22 20:24:05 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
customable/claude-mem!89
No description provided.