Harden config sync defaults, crash resume, and network nav collapse.

Disable auto-sync by default, enforce single-flight cycles with crash requeue, delay new scheduled runs after restart, and make the network sidebar collapsible.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-07-31 10:43:01 +08:00
parent 0eead0e662
commit f5b4a14c0f
14 changed files with 387 additions and 99 deletions

View file

@ -70,7 +70,7 @@ def _update_task(task_id: str, **fields: Any) -> None:
db.close()
def _update_task(task_id: str, **fields: Any) -> None:
def _claim_task(cycle_id: str, task_id: str) -> bool:
for attempt in range(10):
db = SessionLocal()
try: