Реализация на 5

This commit is contained in:
Grbisba
2026-11-13 12:48:18 +03:00
parent ce035c8528
commit 2198368a44
60 changed files with 3253 additions and 181 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"result": "PASS",
"attachment_id": "cb1e8982-980d-4286-8224-335b644a5fc5",
"broker_hostname": "broker",
"old_container_id": "16848707eae7bdfb195da43c912ad66399678cc0a48d100bea119619f7e62009",
"new_container_id": "0dfeb1f83d39adc4de9c7798d65b5f125927fe95ae050e4a17e8a5238713b81b",
"message_present_before_and_after": true,
"outbox_published_before_replacement": true,
"dispatcher_stopped_during_replacement": true
}
+14
View File
@@ -0,0 +1,14 @@
{
"date_utc": "2026-11-13T09:29:53.527687+00:00",
"base_commit": "ce035c85282e75513ea36cb429f4b8d775398d62",
"working_tree": "uncommitted solution",
"runtime_source_sha256": "cadfe8fc0d834a598d26e03d1c0348c907ac6fe9a4574aa959f156dfd69488d6",
"hash_method": "Sorted relative path + NUL + file content + NUL, for service/**/*.go, migrations/*.sql, go.mod, go.sum, Dockerfile and ImageMagick policy",
"image_id": "sha256:dc259d5fbee064cac712f13a42c074c2df34ddc74957266d41a75d6f5e631b4f",
"go_local": "go version go1.27.0 darwin/arm64",
"docker_server": "29.7.2",
"compose": "Docker Compose version v5.3.1",
"docker_resources": "cpus=14 memory_bytes=8320954368 arch=aarch64",
"hardware": "Apple M4 Pro, 14 CPUs, 24 GiB host RAM",
"source_reuse": "Adapted core outbox from supplied mamont-optics project; original project left unchanged"
}
+201
View File
@@ -0,0 +1,201 @@
Lab5 verification, UTC 2026-11-13T09:29:53.527687+00:00
All commands below completed with exit code 0.
Go output excerpts omit SQL, runtime logs and synthetic request bodies.
$ make check build vet; make validate PYTHON=.venv/bin/python
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
cd service && go build ./...
cd service && go build -o ../bin/benchmark ./cmd/benchmark
cd service && go vet ./...
.venv/bin/python scripts/validate_openapi.py
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
$ make test
python3 tests/smoke.py --base-url "http://localhost:18085"
PASS: lab5 public API scenario; infrastructure and grading evidence remain separate.
$ make test-go (race enabled)
? gitea.privcloud.tech/mtusi2026/cmd/app [no test files]
=== RUN TestLostPostResponseIsNotRetried
--- PASS: TestLostPostResponseIsNotRetried (0.00s)
PASS
ok gitea.privcloud.tech/mtusi2026/cmd/benchmark 1.461s
? gitea.privcloud.tech/mtusi2026/internal/adapter/broker [no test files]
? gitea.privcloud.tech/mtusi2026/internal/adapter/controller/http [no test files]
? gitea.privcloud.tech/mtusi2026/internal/adapter/repository/cache/outside [no test files]
=== RUN TestIdempotencyTransactionAndExpiry
PASS
ok gitea.privcloud.tech/mtusi2026/internal/adapter/repository/storage 1.653s
? gitea.privcloud.tech/mtusi2026/internal/config [no test files]
? gitea.privcloud.tech/mtusi2026/internal/dto [no test files]
? gitea.privcloud.tech/mtusi2026/internal/gen/contracts [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/apperr [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/auth/jwtprovider [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/cache [no test files]
=== RUN TestSessionFingerprints
--- PASS: TestSessionFingerprints (0.02s)
PASS
ok gitea.privcloud.tech/mtusi2026/internal/pkg/encrypting 1.908s
? gitea.privcloud.tech/mtusi2026/internal/pkg/fault [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/imageprocessor [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/migrator [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/objectstore [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/postgres [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/postgres/txmanager [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/rest/framework [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/rest/headers [no test files]
=== RUN TestVerifiedSessionIsRequestScoped
--- PASS: TestVerifiedSessionIsRequestScoped (0.00s)
=== RUN TestMissingTokenDoesNotCallSessionStore
--- PASS: TestMissingTokenDoesNotCallSessionStore (0.00s)
PASS
ok gitea.privcloud.tech/mtusi2026/internal/pkg/rest/middleware 2.467s
? gitea.privcloud.tech/mtusi2026/internal/pkg/rest/router [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/types [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/types/authprovider [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/types/environment [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/types/role [no test files]
? gitea.privcloud.tech/mtusi2026/internal/pkg/validator [no test files]
? gitea.privcloud.tech/mtusi2026/internal/service/attachment [no test files]
? gitea.privcloud.tech/mtusi2026/internal/service/auth [no test files]
? gitea.privcloud.tech/mtusi2026/internal/service/chat [no test files]
? gitea.privcloud.tech/mtusi2026/internal/service/outbox [no test files]
? gitea.privcloud.tech/mtusi2026/internal/service/user [no test files]
? gitea.privcloud.tech/mtusi2026/migrations [no test files]
=== RUN TestInvalidJSON
=== RUN TestInvalidJSON/malformed
=== RUN TestInvalidJSON/wrong_type
=== RUN TestInvalidJSON/unknown_field
--- PASS: TestInvalidJSON (0.01s)
--- PASS: TestInvalidJSON/malformed (0.01s)
--- PASS: TestInvalidJSON/wrong_type (0.00s)
--- PASS: TestInvalidJSON/unknown_field (0.00s)
=== RUN TestForeignChatIsHidden
--- PASS: TestForeignChatIsHidden (0.54s)
=== RUN TestEmptyMessage
--- PASS: TestEmptyMessage (0.21s)
=== RUN TestDuplicateUsername
--- PASS: TestDuplicateUsername (0.28s)
=== RUN TestMessagePagination
--- PASS: TestMessagePagination (0.22s)
=== RUN TestAttachmentContractAndErrors
=== RUN TestAttachmentContractAndErrors/fake
=== RUN TestAttachmentContractAndErrors/mime_mismatch
=== RUN TestAttachmentContractAndErrors/wrong_type
=== RUN TestAttachmentContractAndErrors/truncated
--- PASS: TestAttachmentContractAndErrors (1.05s)
--- PASS: TestAttachmentContractAndErrors/fake (0.00s)
--- PASS: TestAttachmentContractAndErrors/mime_mismatch (0.00s)
--- PASS: TestAttachmentContractAndErrors/wrong_type (0.00s)
--- PASS: TestAttachmentContractAndErrors/truncated (0.00s)
=== RUN TestConcurrentAttachmentMessage
--- PASS: TestConcurrentAttachmentMessage (0.25s)
=== RUN TestConcurrentMessages
--- PASS: TestConcurrentMessages (1.84s)
=== RUN TestIdempotencyContract
--- PASS: TestIdempotencyContract (0.45s)
=== RUN TestConcurrentIdempotencyAcrossReplicas
--- PASS: TestConcurrentIdempotencyAcrossReplicas (0.22s)
PASS
ok gitea.privcloud.tech/mtusi2026/tests 7.261s
$ make test-storage (isolated database)
=== RUN TestIdempotencyTransactionAndExpiry
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/empty
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/whitespace
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/invalid_UTF8
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/nul
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/too_long
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/duplicate
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/too_many
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/nil_id
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/unknown
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/foreign_chat
=== RUN TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/missing_object
=== RUN TestIdempotencyTransactionAndExpiry/object_lock_cancellation_does_not_leak_a_pooled_lock
--- PASS: TestIdempotencyTransactionAndExpiry (0.12s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules (0.02s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/empty (0.00s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/whitespace (0.00s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/invalid_UTF8 (0.00s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/nul (0.00s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/too_long (0.00s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/duplicate (0.00s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/too_many (0.00s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/nil_id (0.00s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/unknown (0.00s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/foreign_chat (0.00s)
--- PASS: TestIdempotencyTransactionAndExpiry/service_owns_message_content_rules/missing_object (0.00s)
--- PASS: TestIdempotencyTransactionAndExpiry/object_lock_cancellation_does_not_leak_a_pooled_lock (0.05s)
PASS
$ make test-images
PASS: image geometry, EXIF, alpha, real formats, checksums, ACL and negative inputs
$ make test-staging
PASS: active source protected, ready staging removed, failed retention enforced, restore/replay verified
$ make test-broker-persistence
PASS: confirmed message survived broker container replacement with the same volume and stable node identity
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:18085"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
$ make test-failover ACTION_SCRIPT=scripts/stop-one.sh
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:18085"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 133, "failed_attempts": 1, "first_recovery_seconds": 1.273}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
Actual process state before persistence hook
/mtusi2026lab5-api-1 pid=63585 started=2026-11-13T09:13:37.287792805Z
/mtusi2026lab5-api-2 pid=63443 started=2026-11-13T09:13:37.185017014Z
/mtusi2026lab5-broker-1 pid=16156 started=2026-11-13T09:06:10.180568751Z
/mtusi2026lab5-dispatcher-1 pid=63444 started=2026-11-13T09:13:37.187137055Z
/mtusi2026lab5-lb-1 pid=6588 started=2026-11-13T08:49:29.974451052Z
/mtusi2026lab5-postgres-1 pid=15734 started=2026-11-13T09:06:09.241419334Z
/mtusi2026lab5-redis-1 pid=15771 started=2026-11-13T09:06:09.289178667Z
/mtusi2026lab5-s3-1 pid=17699 started=2026-11-13T09:06:34.353438762Z
/mtusi2026lab5-worker-1 pid=66553 started=2026-11-13T09:14:11.339788001Z
Actual process state after persistence hook
/mtusi2026lab5-api-1 pid=73635 started=2026-11-13T09:15:52.601737132Z
/mtusi2026lab5-api-2 pid=73510 started=2026-11-13T09:15:52.490649465Z
/mtusi2026lab5-broker-1 pid=70234 started=2026-11-13T09:14:51.740755173Z
/mtusi2026lab5-dispatcher-1 pid=73512 started=2026-11-13T09:15:52.489731548Z
/mtusi2026lab5-lb-1 pid=73700 started=2026-11-13T09:15:52.696327173Z
/mtusi2026lab5-postgres-1 pid=70113 started=2026-11-13T09:14:50.775761506Z
/mtusi2026lab5-redis-1 pid=70044 started=2026-11-13T09:14:50.718397506Z
/mtusi2026lab5-s3-1 pid=71476 started=2026-11-13T09:15:16.065232545Z
/mtusi2026lab5-worker-1 pid=73511 started=2026-11-13T09:15:52.490188673Z
Actual state after API failover, before restoring stopped replica
api mtusi2026lab5-api-1 running healthy
api mtusi2026lab5-api-2 exited
broker mtusi2026lab5-broker-1 running healthy
dispatcher mtusi2026lab5-dispatcher-1 running
lb mtusi2026lab5-lb-1 running healthy
migrate mtusi2026lab5-migrate-1 exited
postgres mtusi2026lab5-postgres-1 running healthy
redis mtusi2026lab5-redis-1 running healthy
s3 mtusi2026lab5-s3-1 running healthy
s3-init mtusi2026lab5-s3-init-1 exited
worker mtusi2026lab5-worker-1 running
Effective container resource limits
/mtusi2026lab5-api-1 memory_bytes=536870912 cpu_nano=1000000000
/mtusi2026lab5-api-2 memory_bytes=536870912 cpu_nano=1000000000
/mtusi2026lab5-broker-1 memory_bytes=536870912 cpu_nano=500000000
/mtusi2026lab5-dispatcher-1 memory_bytes=134217728 cpu_nano=250000000
/mtusi2026lab5-lb-1 memory_bytes=134217728 cpu_nano=500000000
/mtusi2026lab5-postgres-1 memory_bytes=1073741824 cpu_nano=2000000000
/mtusi2026lab5-redis-1 memory_bytes=134217728 cpu_nano=250000000
/mtusi2026lab5-s3-1 memory_bytes=536870912 cpu_nano=1000000000
/mtusi2026lab5-worker-1 memory_bytes=1073741824 cpu_nano=1000000000
make test-pipeline: 39/39 PASS; details and repetitions in pipeline.json
Final image targeted fault checks: 3/3 PASS; details in pipeline-final.json
+53
View File
@@ -0,0 +1,53 @@
{
"results": [
{
"case": "small",
"result": "PASS",
"thumbnail": [
16,
8
]
},
{
"case": "floor",
"result": "PASS",
"thumbnail": [
256,
76
]
},
{
"case": "alpha",
"result": "PASS",
"thumbnail": [
40,
20
]
},
{
"case": "orientation",
"result": "PASS",
"thumbnail": [
128,
256
]
},
{
"case": "thin",
"result": "PASS",
"thumbnail": [
1,
256
]
},
{
"case": "center_crop",
"result": "PASS",
"thumbnail": [
256,
85
]
}
],
"negative_cases": 4
}
+42
View File
@@ -0,0 +1,42 @@
{
"date_utc": "2026-11-13T09:24:08.989020+00:00",
"commit": "ce035c85282e75513ea36cb429f4b8d775398d62",
"working_tree": "implementation changes uncommitted",
"repeats": 1,
"worker": {
"concurrency": 2,
"prefetch": 2,
"timeout_seconds": 5,
"lease_seconds": 8,
"memory": "1GiB",
"cpus": 1
},
"results": [
{
"scenario": "crash_confirm_before_outbox_mark",
"run": 1,
"result": "PASS",
"seconds": 33.527,
"job_id": "ce8a7658-c069-429a-b655-cb051f922e14"
},
{
"scenario": "lease_reorder_and_stale_version",
"run": 1,
"result": "PASS",
"seconds": 14.623,
"attachment_id": "6e709809-9ca2-4fb8-b7f6-155a3aace89c",
"old_job_id": "421fa4dc-3704-4f87-a490-3110f062459a",
"pipeline_version": 2,
"manifest_rows": 8
},
{
"scenario": "api_crash_after_upload_commit",
"run": 1,
"result": "PASS",
"seconds": 2.122,
"attachment_id": "293e92d6-4253-4fd9-8bad-719a488f6bdf",
"accepted_commit": true
}
],
"image_id": "sha256:dc259d5fbee064cac712f13a42c074c2df34ddc74957266d41a75d6f5e631b4f"
}
+337
View File
@@ -0,0 +1,337 @@
{
"date_utc": "2026-11-13T09:09:05.756165+00:00",
"commit": "ce035c85282e75513ea36cb429f4b8d775398d62",
"working_tree": "implementation changes uncommitted",
"repeats": 3,
"worker": {
"concurrency": 2,
"prefetch": 2,
"timeout_seconds": 5,
"lease_seconds": 8,
"memory": "1GiB",
"cpus": 1
},
"results": [
{
"scenario": "worker_down_and_store_restart",
"run": 1,
"result": "PASS",
"seconds": 66.563,
"attachment_id": "912b15f8-2ddb-4cbc-8db7-526540256749",
"job_id": "4913bc34-1533-4140-a0dc-c53efa5be0dd",
"postgres_restarted": true
},
{
"scenario": "crash_before_objects",
"run": 1,
"result": "PASS",
"seconds": 10.888,
"job_id": "bfdb496b-f2e0-4836-9559-1a9b07ed21c4",
"manifest_rows": 4
},
{
"scenario": "crash_after_original_put",
"run": 1,
"result": "PASS",
"seconds": 12.171,
"job_id": "8468e628-5eef-42c2-9a86-d050d74cb672",
"manifest_rows": 4
},
{
"scenario": "crash_after_objects",
"run": 1,
"result": "PASS",
"seconds": 11.174,
"job_id": "4c587b0f-fa79-4d9e-a3c7-4904db1e80d3",
"manifest_rows": 4
},
{
"scenario": "crash_after_result_commit",
"run": 1,
"result": "PASS",
"seconds": 1.973,
"job_id": "419c9eeb-6467-4138-b05e-92f1bc929df8",
"manifest_rows": 4
},
{
"scenario": "crash_before_ack",
"run": 1,
"result": "PASS",
"seconds": 2.017,
"job_id": "face4c1b-5597-4b24-8f61-a0e756e601de",
"manifest_rows": 4
},
{
"scenario": "ready_redelivery",
"run": 1,
"result": "PASS",
"seconds": 2.435,
"job_id": "514c616d-367c-4693-8d33-60079b2ced87",
"copies": 3
},
{
"scenario": "crash_confirm_before_outbox_mark",
"run": 1,
"result": "PASS",
"seconds": 33.996,
"job_id": "71f7c962-009e-4982-ae7b-e7f24fdcdc7f"
},
{
"scenario": "lease_reorder_and_stale_version",
"run": 1,
"result": "PASS",
"seconds": 14.652,
"attachment_id": "52a2e241-60a1-4443-8ef7-2e8e3e860577",
"old_job_id": "1c5824ca-774e-4230-9764-3e0938f4efeb",
"pipeline_version": 2,
"manifest_rows": 8
},
{
"scenario": "bounded_retry_and_explicit_replay",
"run": 1,
"result": "PASS",
"seconds": 14.47,
"job_id": "8b8f8975-f4c8-45cf-80e9-00626c4e5c36",
"failed_attempt": 5,
"replayed_attempt": 6
},
{
"scenario": "permanent_error",
"run": 1,
"result": "PASS",
"seconds": 2.699,
"job_id": "e1948ce8-b194-4f66-8008-6e733ad42959"
},
{
"scenario": "api_crash_after_staging",
"run": 1,
"result": "PASS",
"seconds": 0.817,
"attachment_id": "2d831ec0-5918-4290-8e26-3c2bec3cc0fd",
"accepted_commit": false
},
{
"scenario": "api_crash_after_upload_commit",
"run": 1,
"result": "PASS",
"seconds": 2.328,
"attachment_id": "f0da85c6-003c-4d79-ba01-f3f961064741",
"accepted_commit": true
},
{
"scenario": "worker_down_and_store_restart",
"run": 2,
"result": "PASS",
"seconds": 66.013,
"attachment_id": "64517fe4-6419-4257-bbf5-a47a88b51068",
"job_id": "873b9510-7ada-4dc0-bdfb-3e204ae2bc3d",
"postgres_restarted": true
},
{
"scenario": "crash_before_objects",
"run": 2,
"result": "PASS",
"seconds": 11.241,
"job_id": "1c0ea968-87d2-45df-bb9b-d8b45c68dc1d",
"manifest_rows": 4
},
{
"scenario": "crash_after_original_put",
"run": 2,
"result": "PASS",
"seconds": 11.222,
"job_id": "748017a5-8f09-4741-8e35-35e4dbcb3c55",
"manifest_rows": 4
},
{
"scenario": "crash_after_objects",
"run": 2,
"result": "PASS",
"seconds": 11.34,
"job_id": "489d2edd-b008-48fc-ba35-c9f64ee05ba2",
"manifest_rows": 4
},
{
"scenario": "crash_after_result_commit",
"run": 2,
"result": "PASS",
"seconds": 2.088,
"job_id": "0ed57d8a-3fcc-42a4-a31f-2f02ae4f5f5f",
"manifest_rows": 4
},
{
"scenario": "crash_before_ack",
"run": 2,
"result": "PASS",
"seconds": 2.026,
"job_id": "e9a8270c-3132-460a-a888-ee8722798e35",
"manifest_rows": 4
},
{
"scenario": "ready_redelivery",
"run": 2,
"result": "PASS",
"seconds": 2.704,
"job_id": "b4f7d69b-3de5-4350-97bf-0e880ed94b0e",
"copies": 3
},
{
"scenario": "crash_confirm_before_outbox_mark",
"run": 2,
"result": "PASS",
"seconds": 33.988,
"job_id": "5f7a89af-a045-423c-8c70-47b19615b577"
},
{
"scenario": "lease_reorder_and_stale_version",
"run": 2,
"result": "PASS",
"seconds": 14.694,
"attachment_id": "a1230ca9-8001-4bb4-b648-51446f646cbf",
"old_job_id": "2f1e1fbf-856d-4605-873c-b23011072a4e",
"pipeline_version": 2,
"manifest_rows": 8
},
{
"scenario": "bounded_retry_and_explicit_replay",
"run": 2,
"result": "PASS",
"seconds": 13.737,
"job_id": "737209e2-5d3c-4693-8394-fc8173b88ee2",
"failed_attempt": 5,
"replayed_attempt": 6
},
{
"scenario": "permanent_error",
"run": 2,
"result": "PASS",
"seconds": 2.552,
"job_id": "e5e6dc90-9ea5-4d7c-aa11-c6c275d69793"
},
{
"scenario": "api_crash_after_staging",
"run": 2,
"result": "PASS",
"seconds": 0.153,
"attachment_id": "ed8e2936-47fa-4717-9eb3-e63292c8a0ad",
"accepted_commit": false
},
{
"scenario": "api_crash_after_upload_commit",
"run": 2,
"result": "PASS",
"seconds": 2.159,
"attachment_id": "a739f237-2278-421c-aa55-6024e717ad89",
"accepted_commit": true
},
{
"scenario": "worker_down_and_store_restart",
"run": 3,
"result": "PASS",
"seconds": 63.864,
"attachment_id": "95176e6d-301a-4725-9861-7133507184eb",
"job_id": "e5f8b9fa-e460-4441-92b0-2af2ac2540bf",
"postgres_restarted": true
},
{
"scenario": "crash_before_objects",
"run": 3,
"result": "PASS",
"seconds": 12.269,
"job_id": "67c70b6e-ea42-4c1d-894c-d2234a70bf03",
"manifest_rows": 4
},
{
"scenario": "crash_after_original_put",
"run": 3,
"result": "PASS",
"seconds": 11.402,
"job_id": "386f9b0d-1b1f-42b6-95a0-a13d6b97f118",
"manifest_rows": 4
},
{
"scenario": "crash_after_objects",
"run": 3,
"result": "PASS",
"seconds": 11.259,
"job_id": "9c639085-f040-4989-90ba-54376c64630d",
"manifest_rows": 4
},
{
"scenario": "crash_after_result_commit",
"run": 3,
"result": "PASS",
"seconds": 2.068,
"job_id": "73fe51b1-32eb-4c93-b8b0-0ed920a6641d",
"manifest_rows": 4
},
{
"scenario": "crash_before_ack",
"run": 3,
"result": "PASS",
"seconds": 2.098,
"job_id": "2947da70-b658-48c0-9aa2-905bc0927781",
"manifest_rows": 4
},
{
"scenario": "ready_redelivery",
"run": 3,
"result": "PASS",
"seconds": 3.002,
"job_id": "4f67af5a-1014-4f91-9a68-54739f2edde7",
"copies": 3
},
{
"scenario": "crash_confirm_before_outbox_mark",
"run": 3,
"result": "PASS",
"seconds": 36.021,
"job_id": "c4135c71-64e7-44ba-9e4f-bf8f7489a459"
},
{
"scenario": "lease_reorder_and_stale_version",
"run": 3,
"result": "PASS",
"seconds": 15.225,
"attachment_id": "3bdce3c7-d7d5-49fb-9691-96e626317ae1",
"old_job_id": "dd3d35b5-14fe-420b-a650-e740bc43489c",
"pipeline_version": 2,
"manifest_rows": 8
},
{
"scenario": "bounded_retry_and_explicit_replay",
"run": 3,
"result": "PASS",
"seconds": 15.238,
"job_id": "444a1bf1-42ed-4123-9ec7-7f614cd6d90f",
"failed_attempt": 5,
"replayed_attempt": 6
},
{
"scenario": "permanent_error",
"run": 3,
"result": "PASS",
"seconds": 2.604,
"job_id": "d21ee0e0-702d-4459-8fd6-5e5f62c6c11d"
},
{
"scenario": "api_crash_after_staging",
"run": 3,
"result": "PASS",
"seconds": 0.144,
"attachment_id": "963d2034-021f-492f-81f3-d31431a2bc0f",
"accepted_commit": false
},
{
"scenario": "api_crash_after_upload_commit",
"run": 3,
"result": "PASS",
"seconds": 2.141,
"attachment_id": "ea757ed8-98a8-4f3b-993e-556347380e26",
"accepted_commit": true
}
],
"tested_image_id": "sha256:0b720b9bab11e4a762e8b180b26c290a43503c4db2db3436c201cb08725f24c0",
"runtime_source_sha256": "e6460140119a22471f992cd02c721b55463d0810a6a8e50333e193d674c7c79a",
"subsequent_fix": "Restore refreshes retention timestamp; Cleanup shares its source lock. Publisher has a physical socket deadline. Verified by storage.py and the additional final-image fault scenarios in pipeline-final.json; job processing, lease and manifest logic unchanged."
}
+24
View File
@@ -0,0 +1,24 @@
{
"results": [
{
"scenario": "queued_staging_protected",
"result": "PASS",
"attachment_id": "f2098db8-c76b-4eff-bb37-921f4e66b98b"
},
{
"scenario": "staging_deleted_after_ready",
"result": "PASS",
"attachment_id": "f2098db8-c76b-4eff-bb37-921f4e66b98b"
},
{
"scenario": "failed_retention_and_missing_source_replay",
"result": "PASS",
"age_simulated_hours": 25
},
{
"scenario": "verified_restore_then_replay",
"result": "PASS",
"job_id": "8d6f4591-e10f-4616-b387-fe7ec5020a84"
}
]
}