Check quak against a live Ente account #187

Open
opened 2026-10-14 01:31:49 +02:00 by clawbot · 6 comments
Collaborator

Everything that can be tested without an Ente account is tested against a fake of the Ente HTTP API. These steps need a real account, and only you have one. Nothing here blocks other work; run them whenever suits you, on the current next.

git clone https://git.eeqj.de/sneak/quak.git && cd quak && git checkout next
make bootstrap && make build
Q="node dist/bin/quak.js"

$Q login                                  # email, password, then the TOTP or email code
$Q whoami
$Q collections
$Q files ALBUM_ID                         # an album holding a live photo
$Q get JPEG_ID --out /tmp/quak-photo.jpg  # then open it
$Q get LIVE_PHOTO_ID                      # writes the image and the video; open both
$Q get-thumb JPEG_ID --out /tmp/quak-thumb.jpg
$Q backup ~/quak-test-backup; echo "exit $?"
$Q backup ~/quak-test-backup; echo "exit $?"            # second run: "Downloaded: 0"
$Q backup --verify ~/quak-test-backup; echo "exit $?"   # "Mismatched: 0"
$Q backup-metadata ~/quak-test-meta --exif; echo "exit $?"
$Q helper list-missing-thumbnails
$Q logout
$Q whoami; echo "exit $?"                 # exit 3

The first backup downloads the whole account. To try it on a smaller one, log in to a test account instead.

Please reply here with each exit code, any line that starts with quak: or FAILED, and ~/quak-test-backup/failures.json if it exists. Two checks by eye: a few photos under ~/quak-test-backup/collections/ open in a viewer, and a live photo's image and video both play.

Model: opus-5-5

Everything that can be tested without an Ente account is tested against a fake of the Ente HTTP API. These steps need a real account, and only you have one. Nothing here blocks other work; run them whenever suits you, on the current `next`. ```sh git clone https://git.eeqj.de/sneak/quak.git && cd quak && git checkout next make bootstrap && make build Q="node dist/bin/quak.js" $Q login # email, password, then the TOTP or email code $Q whoami $Q collections $Q files ALBUM_ID # an album holding a live photo $Q get JPEG_ID --out /tmp/quak-photo.jpg # then open it $Q get LIVE_PHOTO_ID # writes the image and the video; open both $Q get-thumb JPEG_ID --out /tmp/quak-thumb.jpg $Q backup ~/quak-test-backup; echo "exit $?" $Q backup ~/quak-test-backup; echo "exit $?" # second run: "Downloaded: 0" $Q backup --verify ~/quak-test-backup; echo "exit $?" # "Mismatched: 0" $Q backup-metadata ~/quak-test-meta --exif; echo "exit $?" $Q helper list-missing-thumbnails $Q logout $Q whoami; echo "exit $?" # exit 3 ``` The first backup downloads the whole account. To try it on a smaller one, log in to a test account instead. Please reply here with each exit code, any line that starts with `quak:` or `FAILED`, and `~/quak-test-backup/failures.json` if it exists. Two checks by eye: a few photos under `~/quak-test-backup/collections/` open in a viewer, and a live photo's image and video both play. Model: opus-5-5
sneak was assigned by clawbot 2026-10-14 01:31:49 +02:00
Owner

collections hangs with no output. login and whoami succeed.

`collections` hangs with no output. login and whoami succeed.
Owner

mandatory arguments (e.g. 'collection' to 'files') should be positional - e.g. 'quak files ' not flags. this only holds if there are only 1-2 mandatory args. also 'files' should work with no args (i.e. return all files).

mandatory arguments (e.g. 'collection' to 'files') should be positional - e.g. 'quak files <collectionid>' not flags. this only holds if there are only 1-2 mandatory args. also 'files' should work with *no* args (i.e. return all files).
Owner

there should be a -v or --verbose option that increases the verbosity/log level. specifying it multiple times (i.e. -vv or --verbose --verbose, or -vvv etc) should increase it by that number of levels.

logging ofc goes to stderr.

--quiet or -q should output nothing to stderr except fatal errors.

there should be a `-v` or `--verbose` option that increases the verbosity/log level. specifying it multiple times (i.e. `-vv` or `--verbose --verbose`, or `-vvv` etc) should increase it by that number of levels. logging ofc goes to stderr. `--quiet` or `-q` should output nothing to stderr except fatal errors.
Owner
user@heraklion:~/tmp/quak$ time timeout 15 $Q collections

real    0m15.026s
user    0m2.412s
sys     0m0.325s
user@heraklion:~/tmp/quak$ time timeout 60 $Q collections

real    1m0.017s
user    0m11.745s
sys     0m1.382s
user@heraklion:~/tmp/quak$
``` user@heraklion:~/tmp/quak$ time timeout 15 $Q collections real 0m15.026s user 0m2.412s sys 0m0.325s user@heraklion:~/tmp/quak$ time timeout 60 $Q collections real 1m0.017s user 0m11.745s sys 0m1.382s user@heraklion:~/tmp/quak$ ```
Author
Collaborator

Your check found #217 and #218, both queued for quak's manager. This comes back to you with v1.0.0-rc3 once they are fixed.

Model: opus-5-5

Your check found https://git.eeqj.de/sneak/quak/issues/217 and https://git.eeqj.de/sneak/quak/issues/218, both queued for quak's manager. This comes back to you with `v1.0.0-rc3` once they are fixed. Model: opus-5-5
sneak was unassigned by clawbot 2026-10-22 19:53:26 +02:00
clawbot self-assigned this 2026-10-22 19:53:26 +02:00
Author
Collaborator

v1.0.0-rc3 is ready for your next check: https://git.eeqj.de/sneak/quak/src/tag/v1.0.0-rc3 (git checkout v1.0.0-rc3 in place of next in the steps above).

It fixes #217: quak files COLLECTION now fetches only that collection. On an empty cache, get, get-thumb and helper fix-missing-thumbnails --file also stop once they find the file.

Model: opus-5-5

`v1.0.0-rc3` is ready for your next check: https://git.eeqj.de/sneak/quak/src/tag/v1.0.0-rc3 (`git checkout v1.0.0-rc3` in place of `next` in the steps above). It fixes https://git.eeqj.de/sneak/quak/issues/217: `quak files COLLECTION` now fetches only that collection. On an empty cache, `get`, `get-thumb` and `helper fix-missing-thumbnails --file` also stop once they find the file. Model: opus-5-5
clawbot removed their assignment 2026-10-26 19:46:54 +01:00
sneak was assigned by clawbot 2026-10-26 19:46:54 +01:00
Sign in to join this conversation.