Skip to content

BUG: Cannot diff snapshot since 0.6.* #2379

@sudo-tee

Description

@sudo-tee

Since upgrading to 0.6.* I can no longer use the cli to inspect snapshots

I get the following error when diffing

Image

Content of the log file:

INFO 2025-09-02T15:39:57 +90ms service=default version=0.6.3 args=["debug","snapshot","diff","9c3ade0e86b07f09100ab1ae1d5acad855133985"] opencode
INFO 2025-09-02T15:39:57 +0ms service=project directory=/home/francis/Projects/_nvim/opencode.nvim fromDirectory
INFO 2025-09-02T15:39:57 +19ms service=config path=/home/francis/.config/opencode/config.json loading
INFO 2025-09-02T15:39:57 +0ms service=config path=/home/francis/.config/opencode/opencode.json loading
INFO 2025-09-02T15:39:57 +4ms service=config path=/home/francis/.config/opencode/opencode.jsonc loading
INFO 2025-09-02T15:39:57 +9ms service=plugin [email protected] loading plugin
INFO 2025-09-02T15:39:57 +2ms service=plugin [email protected] loading plugin
INFO 2025-09-02T15:39:57 +13ms service=bus type=* subscribing
INFO 2025-09-02T15:39:57 +1ms service=bus type=session.updated subscribing
INFO 2025-09-02T15:39:57 +0ms service=bus type=message.updated subscribing
INFO 2025-09-02T15:39:57 +0ms service=bus type=message.part.updated subscribing
INFO 2025-09-02T15:39:57 +0ms service=format init
INFO 2025-09-02T15:39:57 +0ms service=bus type=file.edited subscribing
INFO 2025-09-02T15:39:57 +0ms service=lsp serverIds=typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd enabled LSP servers
ERROR 2025-09-02T15:39:57 +8ms service=default name=ShellError message=Failed with exit code 128 stack=ShellError: Failed with exit code 128
at new ShellError (native:13:16)
at new ShellPromise (native:75:16)
at BunShell (native:191:35)
at diff (/$bunfs/root/opencode:77678:28)
at diff (/$bunfs/root/opencode:77676:25)
at (/$bunfs/root/opencode:99963:38)
at (/$bunfs/root/opencode:99962:47)
at (/$bunfs/root/opencode:97921:28)
at processTicksAndRejections (native:7:39) fatal

The snapshot folder is being deleted everytime I try to do a snapshot operation.

it seems to come from this #2360

When the snapshot service is being initialized it deletes the content of the snapshot folder.

Thanks for your help

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions