github / github/copilot-cli

[Feature Request] Show session retention/expiration date

Open
#3,963 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

Show session retention/expiration date

### Proposed solution

what is the session retention/expiration policy for a copilot session and is it possible to view it from the status line? sometimes sessions get wiped and disappear from my device, how is this managed? ideally TTL would be indefinite, but it'd be nice if i knew a sessions expiration date before it actually expires and gets wiped.

### Example prompts or workflows

Example status line
```
👤 kreber[0ff713fc] | 🤖 claude-sonnet-4.6 · medium | 🌿 main | ✏️ +175 -7 | 📁 .copilot | ⏳ 7 days
```

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the CLI status-line entry point and the session lifecycle or retention handling. Determine how the expiration policy is represented and whether the session date is available to display. Done means the status line shows a session's retention or expiration date and the behavior is covered for sessions that may be wiped.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.