github / github/copilot-cli

/rewind reports nothing to rewind in forked sessions

Ouverte
#3,285 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:sessions
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.