warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.93k stars 359 forks source link

I've never seen restoration of tabs after reopen the Warp. #4971

Open quietnumeric opened 3 months ago

quietnumeric commented 3 months ago

Dupe Check

Describe the bug

I use Warp and have never experienced the restoration of previously opened tab sessions when I close a window, quit the application, and then relaunch it. Of course, Settings > Features > general > Restore windows, tabs, and panes on startup was chacked.

To reproduce

Open warp after close.

Expected behavior

No response

Screenshots

No response

Operating system

MacOS

Operating system and version

Ventura 13.5

Shell Version

No response

Current Warp version

v0.2024.05.28.08.02.stable_00

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

24-05-31

Additional context

No response

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

dannyneira commented 3 months ago

Hi @quietnumeric thanks for letting us know. Please try disabling session restoration then delete the sqlite db. https://docs.warp.dev/features/sessions/session-restoration#session-restoration-database

This may help with resetting the state. Please let us know if that fixed it.

quietnumeric commented 3 months ago

@dannyneira Thank you for noticing! In the first place, even when opening a new tab and executing commands there, it seems that no direct warp.sqlite file is created in the dev.warp.Warp-Stable directory. Given the situation, please let me know if there are any other things I should try.

Always:

pwd
~/Library/Application Support/dev.warp.Warp-Stable
ls
fe4a0d6dc3c75999    warp.sqlite-wal
warp.sqlite-shm     warp_network.log
dannyneira commented 3 months ago

There appear to be warp.sqlite-wal and warp.sqlite-shm files so the DB may have been there at some point. Can you please share those files with feedback@warp.dev and include the GH4971 at the subject? This could help us see where the sqlite db failed.