test(pipeline): isolate durable stream snapshot from concurrent relay
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
{
|
||||
"source_commit": "a275cf2632d3bf3d96409408d9cb313cdb2824c2",
|
||||
"date": "2026-11-15T19:46:36.154413+00:00",
|
||||
"track": 2,
|
||||
"complete": false,
|
||||
"cases": [
|
||||
{
|
||||
"case": "staging_before_handoff_crash",
|
||||
"no_202": true,
|
||||
"no_attachment_or_job_created": true,
|
||||
"orphan_retained_for_cleanup": true
|
||||
},
|
||||
{
|
||||
"case": "commit_before_publish_and_worker_stopped",
|
||||
"attachment": "f554e320-4881-4087-b813-9f28607fc3b1",
|
||||
"effect": {
|
||||
"job": {
|
||||
"id": "1016e737-7ec1-4fde-9946-a342d70b2a71",
|
||||
"attachment_id": "f554e320-4881-4087-b813-9f28607fc3b1",
|
||||
"pipeline_version": 1,
|
||||
"source_key": "objects/staging/f554e320-4881-4087-b813-9f28607fc3b1/original",
|
||||
"state": "ready",
|
||||
"attempt": 1,
|
||||
"cycle": 1,
|
||||
"fence": 1,
|
||||
"lease_owner": null,
|
||||
"lease_until": null,
|
||||
"next_at": "2026-11-15 19:47:10.665115+00:00",
|
||||
"error_code": null,
|
||||
"created_at": "2026-11-15 19:47:10.665115+00:00",
|
||||
"updated_at": "2026-11-15 19:47:36.689673+00:00"
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "crop",
|
||||
"object_key": "objects/f554e320-4881-4087-b813-9f28607fc3b1/v1/crop",
|
||||
"sha256": "3ffc6696b681aa9a794eb707c1845586d7b21bfa5359a17e55fd1bdb7818a8ef",
|
||||
"size_bytes": 1077
|
||||
},
|
||||
{
|
||||
"name": "optimized",
|
||||
"object_key": "objects/f554e320-4881-4087-b813-9f28607fc3b1/v1/optimized",
|
||||
"sha256": "646916c35748e49b6d5a71921ec6bdf772c3a8729c661992391a99f5bd5289a8",
|
||||
"size_bytes": 194
|
||||
},
|
||||
{
|
||||
"name": "original",
|
||||
"object_key": "objects/f554e320-4881-4087-b813-9f28607fc3b1/v1/original",
|
||||
"sha256": "3e32f9fe6c30bc812cc1bb29e4f02f600440e886a6be18af53d3775938e916df",
|
||||
"size_bytes": 742
|
||||
},
|
||||
{
|
||||
"name": "thumbnail",
|
||||
"object_key": "objects/f554e320-4881-4087-b813-9f28607fc3b1/v1/thumbnail",
|
||||
"sha256": "734d3760e748c054f8c7ae069e9c44b189b5e4e647fee7bbafe3b308ffab2199",
|
||||
"size_bytes": 1749
|
||||
}
|
||||
],
|
||||
"publications": 1,
|
||||
"physical_keys": [
|
||||
"objects/f554e320-4881-4087-b813-9f28607fc3b1/v1/crop",
|
||||
"objects/f554e320-4881-4087-b813-9f28607fc3b1/v1/optimized",
|
||||
"objects/f554e320-4881-4087-b813-9f28607fc3b1/v1/original",
|
||||
"objects/f554e320-4881-4087-b813-9f28607fc3b1/v1/thumbnail"
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event": "claimed",
|
||||
"detail": {
|
||||
"fence": 1,
|
||||
"attempt": 1,
|
||||
"version": 1
|
||||
},
|
||||
"created_at": "2026-11-15 19:47:34.529681+00:00"
|
||||
},
|
||||
{
|
||||
"event": "published",
|
||||
"detail": {
|
||||
"entry": "1794772054509-0",
|
||||
"outbox": 11
|
||||
},
|
||||
"created_at": "2026-11-15 19:47:34.584052+00:00"
|
||||
},
|
||||
{
|
||||
"event": "effect_committed",
|
||||
"detail": {
|
||||
"fence": 1,
|
||||
"version": 1,
|
||||
"variants": 4
|
||||
},
|
||||
"created_at": "2026-11-15 19:47:36.690043+00:00"
|
||||
},
|
||||
{
|
||||
"event": "child_finished",
|
||||
"detail": {
|
||||
"result": "ready",
|
||||
"seconds": 0.2740797910000765,
|
||||
"cpu_seconds": 0.2354738329999997,
|
||||
"rss_peak_mib": 79.3125
|
||||
},
|
||||
"created_at": "2026-11-15 19:47:36.847178+00:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"queued_link_allowed": true,
|
||||
"api_and_broker_restarted": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
PASS: staging_before_handoff_crash
|
||||
PASS: commit_before_publish_and_worker_stopped
|
||||
Traceback (most recent call last):
|
||||
File "<frozen runpy>", line 203, in _run_module_as_main
|
||||
File "<frozen runpy>", line 88, in _run_code
|
||||
File "<repository>/scripts/verify_pipeline.py", line 602, in <module>
|
||||
main()
|
||||
~~~~^^
|
||||
File "<repository>/scripts/verify_pipeline.py", line 318, in main
|
||||
assert restored == ids
|
||||
^^^^^^^^^^^^^^^
|
||||
AssertionError
|
||||
Reference in New Issue
Block a user