feat: add job outbox, relay, leases and image variants to the pipeline
Move publishing out of the upload path: a relay process publishes queued jobs with confirms. Add lease and attempt fencing, backoff with jitter, a per-job render process with CPU and memory limits, crop and optimized variants, the failed registry with audited replay, and staging cleanup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -669,7 +669,11 @@ def test_no_storage_traces(
|
||||
attachment["id"],
|
||||
variant="thumbnail",
|
||||
)
|
||||
assert_variant_content(thumbnail, ready["variants"][0])
|
||||
# порядок вариантов контракт не задаёт: вариант — по имени
|
||||
assert_variant_content(
|
||||
thumbnail,
|
||||
next(v for v in ready["variants"] if v["name"] == "thumbnail"),
|
||||
)
|
||||
for resp in (upload, meta, content, thumbnail):
|
||||
assert_no_storage_traces(resp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user