tursodatabase/turso-cli

If a DB is archived, prompt the user to wakeup if they try to use the shell

Open

#917 opened on 2024年9月30日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Go (50 forks)github user discovery
good first issue

Repository metrics

Stars
 (302 stars)
PR merge metrics
 (PR metrics pending)

説明

Current behaviour:

➜  ~ turso db list
NAME                 URL                                             ARCHIVED
charmed-rat-king     libsql://charmed-rat-king-avinassh.turso.io     Yes
renewed-cherry       libsql://renewed-cherry-avinassh.turso.io       Yes

➜  ~ turso db shell charmed-rat-king
Error: failed to connect to database. err: failed to WebSocket dial: expected handshake response status code 101 but got 502

I propose:

➜  ~ turso db shell charmed-rat-king
*Your DB might be archived. Please  run `turso group unarchive <group name>` to unarchive it*
Error: failed to connect to database. err: failed to WebSocket dial: expected handshake response status code 101 but got 502

コントリビューターガイド