github / github/copilot-cli

/rewind reports nothing to rewind in forked sessions

Aberta
#3,285 0 comentários 0 reações 0 responsáveis Ver no GitHub
area:sessions
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### describe the bug

after forking a session with `/fork`, running `/rewind` inside the forked session reports:

```text
nothing to rewind yet. start a conversation first.
```

this happens even though the forked session visibly contains the copied conversation history from the original session.

### steps to reproduce

1. create a clean git repository.
2. start copilot cli with experimental mode enabled.
3. ask copilot to make a small file change.
4. run `/fork`.
5. in the forked session, run `/rewind`.

### expected behavior

`/rewind` should either rewind the last turn available in the forked session, or clearly explain that rewind history is intentionally not copied into forked sessions.

### actual behavior

the forked session shows:

```text
nothing to rewind yet. start a conversation first.
```

### notes

i reproduced this locally with copilot cli 1.0.46 in a temporary git repository. this was originally noticed by @seanf while discussing #2058.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.