Skip to content

coder resume --last does not really restore the last session #306

@ytwytw

Description

@ytwytw

What version of Code is running?

code 0.2.180

Which model were you using?

gpt-5-codex

What platform is your computer?

Darwin 25.0.0 arm64 arm

What steps can reproduce the bug?

coder

Token usage: total=407419 input=386855 (+ 11776512 cached) output=20564 (reasoning 10688)
To continue this session, run code resume cf71dd0a-6fab-4630-8cb9-addee3611a81
coder --version
code 0.2.180
uname -mprs
Darwin 25.0.0 arm64 arm
coder resume --last

Token usage: total=23114 input=23089 (+ 3584 cached) output=25
To continue this session, run code resume 8236b5be-3ae6-4653-bc8d-68029f432b9a

What is the expected behavior?

with coder resume --last, it should resume the session cf71dd0a-6fab-4630-8cb9-addee3611a81

What do you see instead?

it resumes the 8236b5be-3ae6-4653-bc8d-68029f432b9a

Additional information

Image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions