Commit History

fix: chown /home/tao-shen after restore (old uid mapping)
444d40a

tao-shen Claude Opus 4.6 commited on

feat: sync /var/log for system log persistence
a0dcc38

tao-shen Claude Opus 4.6 commited on

feat: upload huggingrun.log to dataset for debugging
d111a78

tao-shen Claude Opus 4.6 commited on

feat: tao-shen user with sudo, hostname=huggingrun, ttyd login
ca96613

tao-shen Claude Opus 4.6 commited on

feat: sync /etc with proper excludes + pip package persistence
0cdf7b0

tao-shen Claude Opus 4.6 commited on

fix: chmod SSH host keys after restore (HF loses permissions)
03209c8

tao-shen Claude Opus 4.6 commited on

fix: use Popen for sshd restart, match original start_sshd() pattern
9a274e2

tao-shen Claude Opus 4.6 commited on

fix: use apt --reinstall to handle restored dpkg state
b56f91e

tao-shen Claude Opus 4.6 commited on

fix: sync /etc/ssh only, not all of /etc/
0db5b04

tao-shen Claude Opus 4.6 commited on

v2: complete rewrite — sync only user data, not system dirs
269f150

tao-shen Claude Opus 4.6 commited on

fix: exclude /etc/alternatives from restore (symlinks not preserved by HF)
4314e7c

tao-shen Claude Opus 4.6 commited on

fix: replace hanging upload_large_folder with per-dir upload + rate limiting
5c0994f

tao-shen Claude Opus 4.6 commited on

fix: use upload_large_folder for entire /data/ directory
b97023a

tao-shen Claude Opus 4.6 commited on

fix: remove --delete from restore rsync to prevent /bin/sh deletion
63934c3

tao-shen Claude Opus 4.6 commited on

fix: skip system dirs during restore to prevent /bin/sh permission loss
8bddfd6

tao-shen Claude Opus 4.6 commited on

fix: use upload_large_folder for big dirs + retry with backoff
9f98401

tao-shen Claude Opus 4.6 commited on

fix: sync thread waits for restore to finish before starting
54cbddc

tao-shen Claude Opus 4.6 commited on

fix: start nginx first, restore in background
80c4d9b

tao-shen Claude Opus 4.6 commited on

fix: auto-split large dirs + exclude huggingrun.env from upload
980afb9

tao-shen Claude Opus 4.6 commited on

fix: upload per top-level directory to avoid 504 timeout
7f87cb0

tao-shen Claude Opus 4.6 commited on

feat: direct file sync — dataset root = filesystem root
501b164

tao-shen Claude Opus 4.6 commited on

feat: full-disk persistence — tar entire / filesystem every 60s
20de61f

tao-shen Claude Opus 4.6 commited on

feat: full filesystem persistence (not just /home + /root)
acafb8d

tao-shen Claude Opus 4.6 commited on

fix: run nginx as subprocess (not exec) to keep sync threads alive
d09e48b

tao-shen Claude Opus 4.6 commited on

fix: split Dockerfile apt-get calls (match proven build pattern)
8e73dda

tao-shen Claude Opus 4.6 commited on

v2: complete redesign — single entrypoint, tar.zst persistence
52013b5

tao-shen Claude Opus 4.6 commited on

fix: remove .cache dirs from rootfs before upload (HF API rejects them)
7098b1b

tao-shen Claude Opus 4.6 commited on

fix: exclude .cache from rsync save (HF API rejects .cache/ paths)
9f8f146

tao-shen Claude Opus 4.6 commited on

fix: restore original logging pattern + fix sync hanging
ea03e2a

tao-shen Claude Opus 4.6 commited on

fix: replace awk with cut/grep (awk permission denied) + fix restore permissions
bfc7c5f

tao-shen Claude Opus 4.6 commited on

fix: output logs to stderr (HF captures stderr for Docker SDK spaces)
291e860

tao-shen Claude Opus 4.6 commited on

fix: remove /proc/1/fd/1 redirect (infinite loop when entrypoint IS PID 1)
8d64fb2

tao-shen Claude Opus 4.6 commited on

feat: redirect all output through /proc/1/fd/1 for HF log capture
01c6e53

tao-shen Claude Opus 4.6 commited on

fix: move ALL app scripts to /scripts/ (outside PERSIST_DIRS)
6adea9c

tao-shen Claude Opus 4.6 commited on

fix: use nginx -c /scripts/nginx.conf to bypass /etc/nginx restore
7152d8b

tao-shen Claude Opus 4.6 commited on

fix: copy nginx.conf to /scripts/ AFTER COPY scripts (dir replace)
bdc0fe0

tao-shen Claude Opus 4.6 commited on

fix: store nginx.conf outside PERSIST_DIRS, restore before nginx start
e081bc5

tao-shen Claude Opus 4.6 commited on

fix: exclude /etc/nginx from persist to prevent config overwrite
4233ced

tao-shen Claude Opus 4.6 commited on

fix: use /runlog endpoints (HF intercepts /logs and /api/*)
3dc8487

tao-shen Claude Opus 4.6 commited on

test: add 30s delay before nginx to verify HF SSE during STARTING
baf6f79

tao-shen Claude Opus 4.6 commited on

fix: start nginx LAST so startup logs appear in HF SSE
f18461b

tao-shen Claude Opus 4.6 commited on

fix: use Python PID 1 wrapper to capture all output for HF SSE
9c66a5d

tao-shen Claude Opus 4.6 commited on

diag: remove exec, add 10s stdout ping to test HF SSE capture
faf2454

tao-shen Claude Opus 4.6 commited on

fix: use direct stdout (not stderr) for HF runtime log capture
0c16381

tao-shen Claude Opus 4.6 commited on

fix: switch all log output from tee (pipe-buffered) to direct stderr
59be1b8

tao-shen Claude Opus 4.6 commited on

fix: targeted restore — only sync user dirs, not system dirs
9161deb

tao-shen Claude Opus 4.6 commited on

fix: use --no-perms --chmod=D755,F644 in rsync restore
c44ae59

tao-shen Claude Opus 4.6 commited on

fix: remove ACL/xattr flags from rsync, fix permissions after restore
0278b97

tao-shen Claude Opus 4.6 commited on

fix: exclude system binaries from rsync to prevent /bin/sh permission crash
17404b5

tao-shen Claude Opus 4.6 commited on

fix: restore foreground sync + stdout logging for HF runtime log API
9c623ef

tao-shen Claude Opus 4.6 commited on