github / github/copilot-cli

Track last time a session was open in the session_store

Open
#3,519 0 comments 0 reactions 0 assignees View on GitHub
area:sessions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the feature or problem you'd like to solve

Computer restarts and I need to restore my sessions. Love to review the sessions that were open to recover them.

### Proposed solution

Add a last_open column of type time to session store. Every 5 minutes, update the time in the column. Then I can see when each session was open regardless of whether I took any action in it.

### Example prompts or workflows

show me all the sessions that were open today
show me all the sessions that were open last week
look at all the open sessions from today - is any of them related to feature X?

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue names the session_store but no file or test paths. Start by locating that store and the session lifecycle entry point, then inspect how sessions are persisted and queried after a restart. Done means recording the last-open time periodically and supporting the stated today and last-week session workflows with tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.