Commit History
-
Fix persistence: restore/snapshot state via HF dataset; pin base image to 3.8.50
Verified signaturesync-entrypoint.sh - replace the python3/huggingface_hub restore block (dead code: those deps are not in the Node base image, and it hardcoded /app/data instead of honouring $DATA_DIR) with `node /app/hf-sync.mjs restore` - mkdir -p $DATA_DIR now happens BEFORE restore - drop `exec node ...`, which replaced the shell and made shutdown snapshots impossible; run the app as a child under a SIGTERM/SIGINT trap instead so a final snapshot is taken while the app is still alive, then the app is stopped hf-sync.mjs (new, Node stdlib only) - restore on boot: prefers storage.sqlite.gz, verifies the SQLite header, clears stale -wal/-shm, atomic rename, refuses to overwrite an existing DB - snapshots via OmniRoute's own GET /api/db-backups/export so they are WAL-consistent; a failed export uploads nothing rather than something torn - LFS object is uploaded before the dataset commit, so an interrupted shutdown leaves the dataset on the previous good revision…75478bc -
Upload 4 files
Verified signatureb917a32 -
Update sync-entrypoint.sh
Verified signature7fea282 -
Upload 4 files
Verified signatured9fbdc7 -
Upload 3 files
Verified signature8bcd60b -
Upload 2 files
Verified signaturebe4dece -
Upload 2 files
Verified signaturea6b6520 -
Upload 3 files
Verified signature4fd723c