Spaces:
Paused
Paused
Commit History
-
cleanup: remove E2E test code; narrow WATCH_DIRS comments; production-only sync engineβ
Replit Agent- sync_engine.py: remove run_e2e_test() method and 'test' mode entirely - sync_engine.py: clean up WATCH_DIRS block comments (was labelled CRITICAL FIX) - sync_engine.py: improve _purge_dataset_junk to skip RepoFolder entries properly - entrypoint.sh: remove startup E2E test hook (python3 /sync_engine.py test &) - entrypoint.sh: simplify nginx config block (remove dead map conf) - Dataset: 3,263 contaminated files purged (Android SDK, nvm, openssl headers, sdkbin-*, sdkinf-*, share/snapshot, share/tool-output) Sync engine now watches only: workspace/ β /projects/default share/ β /data/share/opencode config/ β /data/config/opencode815ff1f -
fix: E2E test relies on watch daemon (not own SyncEngine); sleeps 90s for purge to finish
Replit Agente37a0a4 -
fix: add _clean_watched_dirs + _purge_dataset_junk; fix checkpoint to not reset known state
Replit Agentf243d06 -
feat: add E2E self-test mode to sync_engine; trigger at startup for verification
Replit Agent08cdd1c -
fix: scope WATCH_DIRS to opencode subdirs only; add sdk/android cache ignores; full tracebacks in logs
Replit Agent5b7d989 -
fix: add write-access test at startup + pipe sync logs to Space stdoutβ
pgjishnu30- _test_write(): uploads .sync-ok sentinel on every startup, logs clearly if the token lacks write permission - entrypoint.sh: pipe sync daemon through tee so errors appear in Space runtime logs (not just hidden /data/logs/sync.log) - Sync commit errors now logged with full detail per cycle6f91c8f -
fix: auto-create dataset repo if missing (exist_ok=True)
OpenCode Sync Engine3ef3309 -
feat: add HF Dataset sync engine for free persistent storageβ
OpenCode Sync EngineReplace /data volume dependency with background sync to Jishnupg/OpenCode-Storage HF Dataset. Changes: - sync_engine.py: new background sync service * restore mode: snapshot_download β restore workspace + share + config * watch mode: poll every 15s, batch changes into single commit * batched CommitOperationAdd/Delete for efficiency * retry logic, 50MB file limit, ignore node_modules/.git etc. - Dockerfile: add python3-pip, huggingface_hub>=0.23, pre-create /data dirs locally (no volume needed), copy sync_engine.py - entrypoint.sh: run restore before OpenCode starts, launch watch daemon after cleaner.py Startup sequence: 1. Create /data dirs locally 2. Restore from HF Dataset (workspace + DB + config) 3. Start nginx, cleaner, sync daemon, ttyd 4. Start OpenCode No existing functionality changed.fb34a4d