RabbitMQ (quorum queue, publisher confirms, manual ack, DLX) + отдельный worker: staging в S3 + вложение/job/outbox одной транзакцией -> 202 queued; relay outbox, lease с heartbeat и fencing (worker_id, attempt), retry с backoff+jitter, failed-реестр, безопасный replay с audit; thumbnail/crop/WebP в изолированном процессе с лимитами. Тесты окон отказа (fault injection), трек 1 «Очередь под перегрузкой» с backpressure. Перенесено исправление замечания lab3 PR #99 (U+0000 в тексте). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
58 lines
2.4 KiB
Plaintext
58 lines
2.4 KiB
Plaintext
# 2026-11-17T15:29:15Z, commit 276dbda
|
|
PASS test_variants_contract (3.2s)
|
|
worker stopped; upload 202 attachment=89ff98d0-59f5-4296-a4ac-455e23e234a0
|
|
api and rabbitmq restarted; queue depth before/after broker restart: 1/1
|
|
worker started -> ready in 2.6s, thumbnail OK
|
|
PASS test_worker_down_demo (24.4s)
|
|
PASS test_failed_state_and_409 (4.7s)
|
|
PASS test_duplicate_delivery_is_noop (7.0s)
|
|
S3 down: failed retry_exhausted after 5 attempts, 15s
|
|
backoff delays (s): 0.6, 1.5, 2.9, 7.7
|
|
PASS test_retry_bounded_then_replay (28.8s)
|
|
client saw: connection error (API process exited after COMMIT)
|
|
attachment e6e30a4d-1e9e-47b2-8ef4-8976af20b767 reached ready via outbox relay
|
|
PASS test_crash_between_commit_and_publish (2.3s)
|
|
crash after S3 writes -> ready on attempt 2 in 17.8s, 3 objects in S3
|
|
PASS test_worker_crash_after_s3_before_commit (20.5s)
|
|
PASS test_worker_crash_after_commit_before_ack (14.6s)
|
|
PASS test_expired_lease_takeover (5.5s)
|
|
PASS test_staging_cleanup_after_commit (2.2s)
|
|
PASS test_poison_message_to_dlq (3.8s)
|
|
PASS test_prefetch_limited (1.4s)
|
|
mem: resource_limit; time: processing_timeout; alpha: (255, 255, 255); exif: (85, 256) None
|
|
PASS test_worker_resource_limits (2.3s)
|
|
13/13 passed
|
|
PASS test_png_and_jpeg_roundtrip (1.9s)
|
|
PASS test_message_with_attachments (1.9s)
|
|
PASS test_foreign_attachment_rejected (1.1s)
|
|
PASS test_limits_and_mime (1.2s)
|
|
PASS test_dangerous_filenames (1.9s)
|
|
anonymous GET object/list -> 403
|
|
PASS test_bucket_private_outside_api (2.2s)
|
|
PASS test_no_local_copy_on_api (1.9s)
|
|
uploaded via cdb3725c641e-42f61c, downloaded via 824c92061861-21c48d
|
|
PASS test_failover_of_uploading_replica (8.0s)
|
|
PASS test_s3_unavailable (14.8s)
|
|
9/9 passed
|
|
PASS test_session_across_replicas (0.6s)
|
|
PASS test_same_key_concurrent_across_replicas (2.6s)
|
|
PASS test_same_key_concurrent_different_bodies (1.7s)
|
|
PASS test_key_scope_and_format (1.5s)
|
|
PASS test_replay_rechecks_session (0.8s)
|
|
PASS test_transient_failure_not_recorded (6.0s)
|
|
PASS test_sigterm_drain (10.3s)
|
|
PASS test_infrastructure_rules (0.5s)
|
|
PASS test_nul_in_text_roundtrip (1.3s)
|
|
9/9 passed
|
|
PASS test_wrong_password (0.6s)
|
|
PASS test_logout (0.5s)
|
|
PASS test_short_ttl (3.4s)
|
|
PASS test_username_race (3.8s)
|
|
PASS test_chat_rollback (0.9s)
|
|
PASS test_cursor_rules (1.3s)
|
|
PASS test_valkey_cache_role (1.0s)
|
|
PASS test_revoke_during_cache_partition (1.6s)
|
|
PASS test_valkey_down (4.5s)
|
|
PASS test_postgres_down (10.8s)
|
|
10/10 passed
|