github / github/app

Opening an older session after a deleted worktree should work

Open
#3,769 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
No language data
Stars
2.1k
Forks
157
PR merge metrics
No merged PRs in 30d

Description

Feature summary

Read through a session without an existing worktree

What problem are you trying to solve?

I opened a old session where I have already deleted the worktree to save space on disk (I had over 200 GB of worktree data locally), and I only get this:

Image

That does not allow me to read through the conversation, which is the only thing I want to check, maybe open the PR from it, and it would be nice if I can kick off a new session with it.

Proposed solution

Allow the user to read the session threads. Block the prompt input, but do allow the PR info tab to be shown and used.

Workflow impact

No response

Installation context

Windows

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the session view and the state that handles a missing or deleted worktree. Trace how the conversation and PR info tab are rendered, then verify that prompt input is blocked while thread reading and PR actions remain available. Add coverage for opening an older session with no worktree.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.