Sume job statuses: queued, processing, completed, failed, canceled

The five Sume job statuses and what a client should do at each. Resources use a different set: processing, ready, failed, canceled and archived.

4 min readSume
All posts

A Sume job is queued, processing, completed, failed or canceled. Resources use a different set: processing, ready, failed, canceled and archived (read 2026-10-06 in the errors docs).

What should a poller do?

Treat completed, failed and canceled as terminal and stop polling; keep going on queued and processing.

TERMINAL = {"completed", "failed", "canceled"}

def is_done(status: str) -> bool:
    return status in TERMINAL

print(is_done("processing"), is_done("completed"))

What should I do in practice?

Honor retry-after while polling.

  • queued is normal when concurrency is full.
  • Read the job error on failed.
  • Do not mix job and resource vocabularies.

Sources

Related posts

More in Developers

All Developers posts

Written by Sume