Michael Rabinovich Cursor commited on
Commit
b224eee
·
1 Parent(s): dc8ff2a

submit: retry Hub commits on 429/5xx + persistent status panel

Browse files

Wrap every Space-side commit (zip upload, results.jsonl RMW, report +
gallery uploads, shard cleanup) in a backoff-with-jitter retry that
honors Retry-After, so a rate-limited submissions repo delays rather
than fails a submit. Make handle_submit a generator streaming a
durable status panel (validating -> uploading -> queued, or the
rejection reason) instead of relying on transient toasts.

Co-authored-by: Cursor <cursoragent@cursor.com>

3 files changed +285 -79
Files changed (3)
app.py+17-5
submit.py+186-74
tests/test_submit.py+82