bug fix
This commit is contained in:
@@ -3,3 +3,15 @@
|
||||
Храните небольшие обезличенные результаты: команды и stdout проверок, JSON/CSV агрегатов нагрузки, EXPLAIN, dashboard JSON, текст разбора отказа. Укажите дату, commit, аппаратные лимиты и профиль нагрузки.
|
||||
|
||||
Не добавляйте .env, session tokens, cookies, приватные ключи, credentials, реальные сообщения, raw dumps и signed URLs. Для скриншотов скрывайте секреты. Большие логи/бинарные traces сохраняйте отдельно по правилам преподавателя; одного скриншота без методики недостаточно.
|
||||
|
||||
## Проверки решения, 26–27 октября 2026
|
||||
|
||||
- [environment.json](environment.json): среда, лимиты, образы и хеши исходников рабочего дерева.
|
||||
- [checklist-review.txt](checklist-review.txt): хронология проверок, включая первоначальные ошибки; ранние ограничения не описывают финальное состояние.
|
||||
- [pipeline-integration.json](pipeline-integration.json): stop/restart, crash COMMIT/publish и S3/ack, lease, retry/replay, cleanup, Linux memory.
|
||||
- [pipeline-invariants.json](pipeline-invariants.json): реальные SQL-инварианты, watchdog, ACL, форматы вариантов, cleanup locking, DLQ, timeout.
|
||||
- [job-contract.json](job-contract.json): проверка реальных outbox payloads по обязательной схеме и redelivery полного сообщения.
|
||||
- [resilience.json](resilience.json): stdout публичных persistence/failover и состояния контейнеров до/после.
|
||||
- `real-c{1,2,4}-p{1,2,4}-s{512,2400}.json`: шесть профилей нагрузки; параметры, каждый запрос, метрики, backpressure и восстановление.
|
||||
|
||||
Методика, таблица результатов и ограничения: [REPORT.md](../REPORT.md). Mock-метрики локальных регрессий в исследование не включены. Данные всех пользователей/вложений синтетические; сессии и credentials не сохранялись.
|
||||
|
||||
@@ -0,0 +1,113 @@
|
||||
PR checklist review, 2026-10-26
|
||||
|
||||
make check: PASS (offline skeleton check; application not tested).
|
||||
python student-tests/pipeline_critical.py: 8 tests, OK.
|
||||
python student-tests/remaining_regressions.py: 7 tests, OK.
|
||||
docker compose config --quiet: exit 0.
|
||||
git diff 276dbda -- README.md contracts tests: empty.
|
||||
git ls-files secrets .env: empty.
|
||||
git check-ignore .env secrets/postgres_password: both ignored.
|
||||
|
||||
Secret scan scope:
|
||||
- 90 Git-tracked working-tree files.
|
||||
- 128 blobs reachable through git rev-list --objects --all.
|
||||
- Compared against 10 locally configured secret values, read without printing.
|
||||
- Searched private-key headers, AWS keys, GitHub/OpenAI token formats,
|
||||
JWT-shaped tokens, and literal PostgreSQL/AMQP/Redis credential URLs.
|
||||
- No findings. Template substitutions in credential URLs were excluded.
|
||||
- This is a scoped heuristic check, not proof that every possible secret format is absent.
|
||||
|
||||
Mock benchmark numbers printed by the regression suite are not load-test evidence.
|
||||
|
||||
Integration attempt:
|
||||
- Started installed Docker Desktop; Docker Engine 29.8.0 became available.
|
||||
- make validate PYTHON=.venv/bin/python: PASS, full OpenAPI 3.1 / JSON Schema.
|
||||
- docker compose up -d --build: images built, exit 1 during startup.
|
||||
- migrate: exited 0.
|
||||
- s3-init: PASS: private S3 bucket ready; exited 0.
|
||||
- broker (rabbitmq:4.1.2-alpine): exited 1.
|
||||
error: RABBITMQ_DEFAULT_PASS_FILE is set but deprecated
|
||||
error: deprecated environment variables detected
|
||||
Please use a configuration file instead
|
||||
- API, worker, outbox and load_balancer remained Created, not running.
|
||||
- Public smoke and failure experiments cannot run until broker starts.
|
||||
- Volumes were preserved. PostgreSQL, S3 and reconcile were left running.
|
||||
|
||||
Follow-up after RabbitMQ startup fix, 2026-10-26:
|
||||
- Removed deprecated RABBITMQ_DEFAULT_PASS_FILE from Compose.
|
||||
- Read password from Docker secret in infra/rabbitmq-secret-entrypoint.sh;
|
||||
export inside container and exec stock entrypoint with rabbitmq-server.
|
||||
- docker compose up -d: exit 0.
|
||||
- docker compose ps -a: broker, api-a, api-b, worker, load_balancer,
|
||||
postgres and s3 healthy; outbox/reconcile running; migrate/s3-init exited 0.
|
||||
|
||||
Actual check output (exit 0):
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
.venv/bin/python tests/smoke.py --base-url "http://localhost:8080"
|
||||
PASS: lab5 public API scenario; infrastructure and grading evidence remain separate.
|
||||
|
||||
.venv/bin/python student-tests/attachments.py (exit 0):
|
||||
PASS: PNG/JPEG originals, metadata, attachment-only messages and ACL
|
||||
PASS: filename, MIME, malformed image, byte/pixel and chunked limits
|
||||
PASS: attachment scope, duplicates and idempotency normalization
|
||||
PASS: inclusive 10 MiB and 40 million pixel boundaries
|
||||
|
||||
.venv/bin/python student-tests/pipeline_critical.py (exit 0):
|
||||
Ran 8 tests in 0.012s
|
||||
OK
|
||||
.venv/bin/python student-tests/remaining_regressions.py (exit 0):
|
||||
Ran 7 tests in 0.576s
|
||||
OK
|
||||
|
||||
Mock benchmark output is excluded: it is not real load evidence.
|
||||
Failure/restart experiments and real load profiles remain unverified.
|
||||
Stack left running; no volumes deleted.
|
||||
|
||||
Follow-up verification, 2026-10-26/27:
|
||||
- Real fault suite: evidence/pipeline-integration.json.
|
||||
- Real SQL, Linux, ACL and cleanup locking checks: evidence/pipeline-invariants.json.
|
||||
- Public persistence and both API failovers with before/after container states:
|
||||
evidence/resilience.json. Initial isolated run passed; overlapping exploratory
|
||||
restart/failover attempts are not counted as successful evidence.
|
||||
- S3 permissions: PASS: API identity cannot create buckets; maintenance identity has separate admin access.
|
||||
- Idempotency: PASS: concurrent idempotency through load balancer.
|
||||
- After Docker was stopped, 10 queued jobs had published outbox records but
|
||||
RabbitMQ reported 0 ready and 0 unacknowledged messages. Original disappearance
|
||||
cause is not established. Added 60s unclaimed-job publication watchdog.
|
||||
- Fixed redelivery bypassing retry delay / expired lease attempt accounting.
|
||||
- Current-worktree secret scan: 107 tracked/nonignored files, 9 local single-line
|
||||
secret values >=12 bytes and private-key/GitHub/AWS patterns; no findings.
|
||||
This complements the earlier history scan; neither is a universal guarantee.
|
||||
- Test cleanup deleted four explicitly selected orphan objects from its own
|
||||
crashed attempt. Active result objects and all volumes were preserved.
|
||||
|
||||
Final real load series, 2026-10-27:
|
||||
- Six runs: workers/prefetch 1/1, 2/2, 4/4; PNG 512 and 2400 square.
|
||||
- Each run: 160 uploads, client concurrency 16, MAX_PENDING_JOBS=32.
|
||||
- Total 960 requests = 220 accepted (all ready) + 740 expected HTTP 429.
|
||||
- Each run: failed=0, timed_out=0, metric_errors=[], drained=true,
|
||||
recovery_upload_ready=true. Observed pending never exceeded 32.
|
||||
- Source records: real-c*-p*-s*.json; table/formulas/limitations in REPORT.md.
|
||||
- Earlier small runs were exploratory and replaced by this comparable series.
|
||||
- Job schema: 425 real outbox payloads validated; persisted redelivery is no-op.
|
||||
Detailed result: job-contract.json.
|
||||
- Offline check, full OpenAPI validation, 8 + 7 local regressions passed again
|
||||
after the final PostgreSQL watchdog change. Mock throughput is not evidence.
|
||||
- Final public persistence: PASS, actual service StartedAt values changed.
|
||||
- Final public failovers: PASS for both API replicas. First recovery times:
|
||||
2.436s (113 successful writes, 1 failed attempt) and
|
||||
4.675s (95 successful writes, 2 failed attempts).
|
||||
- Final public smoke after those failures: PASS.
|
||||
|
||||
Final confirmation on the watchdog build, 2026-10-27:
|
||||
- All seven pipeline integration stages passed again; pipeline-integration.json
|
||||
contains the final run, not the earlier exploratory attempts.
|
||||
- Attachments, S3 permissions, concurrent idempotency and public smoke passed again.
|
||||
- Worker metrics: pending=0, concurrency=2, prefetch=2.
|
||||
- Working RabbitMQ queue: messages_ready=0, messages_unacknowledged=0.
|
||||
- DLQ contains 3 deliberately malformed test messages (not pending image work).
|
||||
- broker, worker, both APIs, PostgreSQL, S3 and LB healthy; outbox/reconcile running;
|
||||
migrate and s3-init exited 0. Normal configuration restored; volumes preserved.
|
||||
- Final working-tree secret scan: 108 files, 9 local values plus key patterns,
|
||||
no findings. git diff --check passed; README/contracts/public tests unchanged.
|
||||
@@ -0,0 +1,170 @@
|
||||
{
|
||||
"recorded_at_utc": "2026-10-27T09:21:55.484450+00:00",
|
||||
"base_commit": "a1bb6f8bded13c0fae2a525dcdbda8d6a890b971",
|
||||
"branch": "solution/BVT2301-Kozyrev",
|
||||
"note": "Results apply to this working tree, not only the base commit. Per-profile load settings are recorded in real-c*-p*-s*.json.",
|
||||
"host": "macOS-26.1-arm64-arm-64bit-Mach-O",
|
||||
"docker": {
|
||||
"server": "29.8.0",
|
||||
"cpus": 10,
|
||||
"memory_bytes": 10416644096
|
||||
},
|
||||
"compose_version": "5.5.1",
|
||||
"sources_sha256": {
|
||||
"Dockerfile": "efede941e2ccf21cd1e70ebbf8af7647209bd030b2962f9446bee497a2ed6a8c",
|
||||
"Makefile": "46681d5c9aa3b09be285ce5b6db39bb9e3c4348e3918505f916b865b8831a681",
|
||||
"compose.yaml": "5e1a5813ee0f663334214e243593edee3528e4d49cbe1c89fbb26a3a5ed50d89",
|
||||
"infra/README.md": "0e804fa51debba4c38d3cc84abf4704897665e0335b272060363f03aadd6354f",
|
||||
"infra/filer.toml": "ae3c01bf7708f5d4a319fdb454f753be0f137fe7c31269f1c413cbccc860f5c7",
|
||||
"infra/haproxy.cfg": "23c9b869170633e3c6a8c41bbd3f1102bc97bf213e0d7cfed9d461af91216fd3",
|
||||
"infra/rabbitmq-secret-entrypoint.sh": "94ab6376d9fa6e08452172f69cbf467735f6edd781e07d368041769e76b3ac19",
|
||||
"migrations/001_initial.sql": "062e58f5535d1ab6cd89d2347479a2a6b08a09e04665f7428ce41f89b39a19d1",
|
||||
"migrations/002_history_cache_version.sql": "826c8243bc148caaa7339070826a7c2928073315a40dba7fa5a3d7421d980a4d",
|
||||
"migrations/003_idempotency.sql": "d650ea7c1379928a013e035977a77026d2b8b09ad5b2ea97eecb545e7450353a",
|
||||
"migrations/004_attachments.sql": "d760453ba130c94c403f5b04222649fc131ab4d091edd0267ede901fdf82a79e",
|
||||
"migrations/005_async_attachments.sql": "77d0e180bc5661a1824224bd24152992b55e3ec19afa8fcbde66e7ff49216f59",
|
||||
"migrations/006_level4_reliability.sql": "de6a2c3ce574abda4ddea1835c30c2845dead50f1c33f705a3b82f381bc6d1fe",
|
||||
"migrations/007_job_measurements.sql": "d520a39c5a98ed471faef8371da9521bab249a53e190a7a6719788da1242029d",
|
||||
"pyproject.toml": "056adefdef2f9a924bbf8e05b680a0e2dac553a097b2f351d2daecfa0a168ed2",
|
||||
"scripts/audit.py": "5c695c70058b24e975ceca310b2bdc879858081e5ce82b444ea9eab6b9c0d2ed",
|
||||
"scripts/check_contract.py": "7c4402c2a6ab80d3b4676e1866d6ecc87b6daea14c080bcb9be9a7e8b959d671",
|
||||
"scripts/init-secrets.py": "f83905a882c82a48e5f0c04fc83f839c43d0c1bc1f7b3cd74aa70e8562bce2af",
|
||||
"scripts/record-environment.py": "3a97282e349f99e8245f757599ed45e72c240a9445b577a22fdf13a4d941010e",
|
||||
"scripts/restart.example.sh": "0328246ba75defbced992104e986fde973f63e3830d83251eced5953263e944b",
|
||||
"scripts/restart.sh": "2424309b58bf9670c0c39d52c0b02d0bbc5b3454b774106ee69ef323705e5170",
|
||||
"scripts/run-track1-profiles.py": "7d59285bac1ce4db391eafaf47fd7d8e8904e4792ac6580fa48347ebcc7b0deb",
|
||||
"scripts/stop-one.example.sh": "1bcf34394520b89d95b7605ec56675be799eea920e83cfbba306d5dc0a6d9811",
|
||||
"scripts/stop-one.sh": "c69fdb1891e0c49f41d3892f2d108ecd38b2f59d505c8fe991023bb5c9b08a5e",
|
||||
"scripts/track1.py": "c5edbd3c6aa68e3a9b638dab2572239806b8d4605b5feebaab6e05cd8ccb9fc7",
|
||||
"scripts/validate_openapi.py": "4e981acbfc10dac58817bf922d5896e996798551fedc1b2385130e1cddb13d54",
|
||||
"scripts/verify-persistence.py": "6c366bf4d85802bcffe65ae3d45d00736b184033313dabb60b80e1270d8874f1",
|
||||
"scripts/verify-resilience.py": "13d9d056638fcfed6616ac159a5d149cfdd26f6090c51fabbb3ab0cde9ac8199",
|
||||
"src/__init__.py": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
|
||||
"src/attachments.py": "43421b711a5be717c49522688c2fc5035f5ddb7898d02006e51791e66861b26b",
|
||||
"src/bootstrap_s3.py": "2c43f5540e63f004a88e08961a72293546fbc5210f46bc719b90b9f5c0f3f9bd",
|
||||
"src/broker.py": "551fa504d9bfdf3871b1a1cada8210ad73bd75fef5c5a1737c958ec2d53a3587",
|
||||
"src/config.py": "db51a87564d3e84feddc9e824e37088a0a164af38361e2d131db34de6ec66542",
|
||||
"src/cursor.py": "a9192f2445042b8d4ddac57031718ef558990a52eb2922827074479b7f686775",
|
||||
"src/errors.py": "07f8860b45cadd242d0d9f268c4b806e35353f33b11bbde0ab3d50acda86a80a",
|
||||
"src/main.py": "6980cdbb09c3b356ff870ee7fc972d85e835c58228d3c0ea27de8a668dc41ece",
|
||||
"src/migrate.py": "1d164c8921df2b5369e30b1f8936c2b71858c5279070f0fd593f62f66e1f0b7d",
|
||||
"src/models.py": "924ace12fb9bcdd222ff58ea4d40cd57ba40290c8fbdb335c267ec35f3bad930",
|
||||
"src/outbox.py": "3fbe66c516e16efa00982f6cd4c4c46fbe04d7f5f98f48d76cece3ae1911d9ad",
|
||||
"src/pipeline_metrics.py": "61df2e1f5d802ac21d03a3a8e0a653a25b84d0cabfdcccd0aab6327bbb0da27d",
|
||||
"src/reconcile.py": "e36163601f3acead6d698fbad747044b7026b1af07cdea5223486bf5e1b43d53",
|
||||
"src/render.py": "a2eb4001d934b09f39cc555cf56c06159dd6b40a59bc6a8c3ba64ae2612dabe5",
|
||||
"src/replay.py": "5490e6fd42052a6a0f1449bef3ddd4ffbe3f847141743e6b43e28c858d510dc1",
|
||||
"src/routes.py": "d629efcdea1c0d2b2202a57ea6a1804164fb8cc220de3b32850c30bdf97bbf11",
|
||||
"src/storage/__init__.py": "05ef66318c4c436eaafc493072640817219ab37bce464a265a2306233389064a",
|
||||
"src/storage/postgres.py": "07de530b2287cbfb358fc677f71dbdd9b15387f7312a3d40df095cc853fe5ad4",
|
||||
"src/storage/s3.py": "b9b36ab1e86d084b58bffc2f55b16d260d234b2beeb35f8461e9f05222d4b843",
|
||||
"src/worker.py": "e72ac3629f7f2976571a9958fcb0590289d388c0b031c9529f342857731e3303",
|
||||
"student-tests/attachment_resilience.py": "8a4ad367263a5d5a597fcd4a2a657c80946d19a3bbedeebdfffbf75f45531e5d",
|
||||
"student-tests/attachments.py": "f80ef87aba3d409b5689e1597e40f15428d8e65211529cef2dbc4b853682e995",
|
||||
"student-tests/idempotency_concurrency.py": "db5d139009e4660ac1801af45d10e24665aa81cba737731e527c0f5b4152231e",
|
||||
"student-tests/job_contract.py": "4b65bae8500c2f6b40ce5faf5435e0dfbb98c71c7c17dd6789c505d923d30273",
|
||||
"student-tests/pipeline_critical.py": "49a6ee8f64bd75c9890e4a9b7767595ddaa38af3a4abfc07131855ea7a1308f5",
|
||||
"student-tests/pipeline_integration.py": "12dec32832afb4f7392188f6e265c0d51c0f0dc8b4adb221b9a979e6e6f07550",
|
||||
"student-tests/pipeline_invariants.py": "49b846db34327fcbcabf4dc2f0a81359a0072a263ece262a435e28e4aca868af",
|
||||
"student-tests/readiness_failover.py": "0ef8355d85be66597d7d44eb7308dcb58c6c9a174d18f360b2d6d22fdcfbed14",
|
||||
"student-tests/readiness_unavailable.py": "46e3f680a3ff9cb79e95568004d97f1752dbdcd88fd4b5f160a9cc38af65a237",
|
||||
"student-tests/reconcile.py": "9c82be28eb5a41b38c9ddd63dbf65d3edc238ca09ffa4612fc4b679d64487173",
|
||||
"student-tests/reconcile_audit.py": "1bcca4da1030901e45c1369672c8363f9a5b08513c0270dc8a6f73b1f0b74221",
|
||||
"student-tests/reconcile_benchmark.py": "9ae60097cb70e63baf5653559e727e02da246827a256e02580f03b5d47e1ca15",
|
||||
"student-tests/remaining_regressions.py": "a5e61fd4a2c6a92d52e1b0d051b3931f699d8b0b2d73d2ce5c2553e313efe3e6",
|
||||
"student-tests/review_regressions.py": "de58f63b2c794c2775247ddd3fccc523870ccbe673ffa404fdd566274d1d41de",
|
||||
"student-tests/s3_permissions.py": "8c42c8ef3f7abb73bfdaa9d395874ae44041501f540213a1276c5a8bbe5e9c80",
|
||||
"student-tests/session_expiry.py": "ba8ead4356e4d12c4047ac2b5704d3d3342f71c37b3c13f65a0a9d7c37186ad6",
|
||||
"student-tests/upload_memory.py": "ed6c013b9e29a826191e1ca904e0546449f0e6ed9ecddbf5aa256d0768f64604",
|
||||
"uv.lock": "908af5e1ce932a1fe9ccd60401c28957d001e846d8d9b524f2e688534373c9de"
|
||||
},
|
||||
"services": {
|
||||
"postgres": {
|
||||
"image": "postgres:17.6-alpine",
|
||||
"image_id": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
|
||||
"state": "running",
|
||||
"health": "healthy",
|
||||
"memory_limit_bytes": 536870912,
|
||||
"nano_cpus_limit": 750000000,
|
||||
"volumes": [
|
||||
"mtusi2026lab5_postgres_data"
|
||||
]
|
||||
},
|
||||
"s3": {
|
||||
"image": "chrislusf/seaweedfs:4.17@sha256:186de7ef977a20343ee9a5544073f081976a29e2d29ecf8379891e7bf177fbe9",
|
||||
"image_id": "sha256:186de7ef977a20343ee9a5544073f081976a29e2d29ecf8379891e7bf177fbe9",
|
||||
"state": "running",
|
||||
"health": "healthy",
|
||||
"memory_limit_bytes": 536870912,
|
||||
"nano_cpus_limit": 1000000000,
|
||||
"volumes": [
|
||||
"mtusi2026lab5_s3_data"
|
||||
]
|
||||
},
|
||||
"broker": {
|
||||
"image": "rabbitmq:4.1.2-alpine",
|
||||
"image_id": "sha256:8f1a4555a52cb5bbd91fcacfed98f230a1762ef7a08cc05d7f711b8a31fb5ca5",
|
||||
"state": "running",
|
||||
"health": "healthy",
|
||||
"memory_limit_bytes": 268435456,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"volumes": [
|
||||
"mtusi2026lab5_rabbitmq_data"
|
||||
]
|
||||
},
|
||||
"worker": {
|
||||
"image": "mtusi2026lab5-worker",
|
||||
"image_id": "sha256:869ddc8aed23c7d0d6d387c7f2e88bdfdb3bbfc70d8dd2c2571508051da43132",
|
||||
"state": "running",
|
||||
"health": "healthy",
|
||||
"memory_limit_bytes": 4294967296,
|
||||
"nano_cpus_limit": 2000000000,
|
||||
"volumes": []
|
||||
},
|
||||
"outbox": {
|
||||
"image": "mtusi2026lab5-outbox",
|
||||
"image_id": "sha256:6f97c6b53c9616356ea32cc60c27da36c5e6049e34ffdcce4e3a98d6ab255fb2",
|
||||
"state": "running",
|
||||
"health": null,
|
||||
"memory_limit_bytes": 0,
|
||||
"nano_cpus_limit": 0,
|
||||
"volumes": []
|
||||
},
|
||||
"reconcile": {
|
||||
"image": "mtusi2026lab5-reconcile",
|
||||
"image_id": "sha256:b03833302fe18069ab432b09cf75a79ec80ee11d5640f2e441f308bcfcde9453",
|
||||
"state": "running",
|
||||
"health": null,
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 250000000,
|
||||
"volumes": []
|
||||
},
|
||||
"api-a": {
|
||||
"image": "mtusi2026lab5-api-a",
|
||||
"image_id": "sha256:dbe50ae4bd1c27d0c3861f3ecbeedc0c73101e7ac14ed0393cccf4114046f042",
|
||||
"state": "running",
|
||||
"health": "healthy",
|
||||
"memory_limit_bytes": 536870912,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"volumes": []
|
||||
},
|
||||
"api-b": {
|
||||
"image": "mtusi2026lab5-api-b",
|
||||
"image_id": "sha256:f0ce767b22b37349e57232dbb5fc6b17a0b16c75b60a39088eae16549800b1c7",
|
||||
"state": "running",
|
||||
"health": "healthy",
|
||||
"memory_limit_bytes": 536870912,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"volumes": []
|
||||
},
|
||||
"load_balancer": {
|
||||
"image": "haproxy:3.0.11-alpine",
|
||||
"image_id": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
|
||||
"state": "running",
|
||||
"health": "healthy",
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 250000000,
|
||||
"volumes": []
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"validated_outbox_payloads": 425,
|
||||
"extra_payload_fields": false,
|
||||
"persisted_redelivery_noop": true
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
[
|
||||
{
|
||||
"test": "stopped worker, queued message, broker/API restart, ready",
|
||||
"status": "PASS",
|
||||
"attachment_id": "ec83e811-1507-40a3-9cec-d79d501e6a4f"
|
||||
},
|
||||
{
|
||||
"test": "duplicate delivery and replay of ready are no-ops",
|
||||
"status": "PASS",
|
||||
"object_count": 4
|
||||
},
|
||||
{
|
||||
"test": "crash after COMMIT before publish recovered from existing outbox",
|
||||
"status": "PASS",
|
||||
"attachment_id": "357956fa-c571-45fa-a0d9-18ce24f382eb"
|
||||
},
|
||||
{
|
||||
"test": "worker crash after S3 before commit/ack, lease recovery",
|
||||
"status": "PASS",
|
||||
"attempt": 2,
|
||||
"objects_before_cleanup": 8
|
||||
},
|
||||
{
|
||||
"test": "targeted orphan cleanup preserves committed attempt",
|
||||
"status": "PASS",
|
||||
"deleted": 4
|
||||
},
|
||||
{
|
||||
"test": "bounded transient retry, failed registry and explicit replay",
|
||||
"status": "PASS",
|
||||
"attempts_before_replay": 2
|
||||
},
|
||||
{
|
||||
"test": "Linux renderer memory limit",
|
||||
"status": "PASS",
|
||||
"returncode": 21
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
[
|
||||
"actual thumbnail/crop/WebP formats, dimensions and removed EXIF",
|
||||
"anonymous S3 403 on existing object; variant ACL 404",
|
||||
{
|
||||
"maintenance_wait_seconds": 1.0019877920000226
|
||||
},
|
||||
"real SQL: queued watchdog republishes without attempt increment/flood; duplicate respects backoff; expired lease counted; stale completion/retry fenced",
|
||||
"permanent invalid_image reaches failed on attempt 1",
|
||||
"malformed broker message delivered to DLQ",
|
||||
"Linux render subprocess killed/reaped on deadline"
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,359 @@
|
||||
[
|
||||
{
|
||||
"mode": "persistence",
|
||||
"returncode": 0,
|
||||
"output": "Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.\nPASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.\n",
|
||||
"before": {
|
||||
"api-a": {
|
||||
"id": "c3f5c47431e1",
|
||||
"started_at": "2026-10-27T09:15:45.83814246Z",
|
||||
"status": "running"
|
||||
},
|
||||
"api-b": {
|
||||
"id": "378998cb6e67",
|
||||
"started_at": "2026-10-27T09:15:45.995940169Z",
|
||||
"status": "running"
|
||||
},
|
||||
"broker": {
|
||||
"id": "15b4f76f796e",
|
||||
"started_at": "2026-10-27T09:06:18.060378836Z",
|
||||
"status": "running"
|
||||
},
|
||||
"load_balancer": {
|
||||
"id": "75a26443cd80",
|
||||
"started_at": "2026-10-27T09:06:40.813835416Z",
|
||||
"status": "running"
|
||||
},
|
||||
"migrate": {
|
||||
"id": "4752a39b2c74",
|
||||
"started_at": "2026-10-27T09:10:25.395828423Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"outbox": {
|
||||
"id": "9b88bcba1d4a",
|
||||
"started_at": "2026-10-27T09:10:07.674024346Z",
|
||||
"status": "running"
|
||||
},
|
||||
"postgres": {
|
||||
"id": "e40600648a2a",
|
||||
"started_at": "2026-10-27T09:06:17.86004142Z",
|
||||
"status": "running"
|
||||
},
|
||||
"reconcile": {
|
||||
"id": "e97099d7b46b",
|
||||
"started_at": "2026-10-27T09:10:07.611048596Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3": {
|
||||
"id": "d9ccfafd22ca",
|
||||
"started_at": "2026-10-27T09:06:17.939983378Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3-init": {
|
||||
"id": "3e40ef3cf827",
|
||||
"started_at": "2026-10-27T09:10:25.451664548Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"worker": {
|
||||
"id": "fc199d14fc86",
|
||||
"started_at": "2026-10-27T09:15:45.913794835Z",
|
||||
"status": "running"
|
||||
}
|
||||
},
|
||||
"after": {
|
||||
"api-a": {
|
||||
"id": "c3f5c47431e1",
|
||||
"started_at": "2026-10-27T09:16:27.015462382Z",
|
||||
"status": "running"
|
||||
},
|
||||
"api-b": {
|
||||
"id": "378998cb6e67",
|
||||
"started_at": "2026-10-27T09:16:26.933943216Z",
|
||||
"status": "running"
|
||||
},
|
||||
"broker": {
|
||||
"id": "15b4f76f796e",
|
||||
"started_at": "2026-10-27T09:16:07.882420138Z",
|
||||
"status": "running"
|
||||
},
|
||||
"load_balancer": {
|
||||
"id": "75a26443cd80",
|
||||
"started_at": "2026-10-27T09:16:26.847483466Z",
|
||||
"status": "running"
|
||||
},
|
||||
"migrate": {
|
||||
"id": "4752a39b2c74",
|
||||
"started_at": "2026-10-27T09:16:57.480130299Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"outbox": {
|
||||
"id": "9b88bcba1d4a",
|
||||
"started_at": "2026-10-27T09:16:29.790017884Z",
|
||||
"status": "running"
|
||||
},
|
||||
"postgres": {
|
||||
"id": "e40600648a2a",
|
||||
"started_at": "2026-10-27T09:16:06.788383595Z",
|
||||
"status": "running"
|
||||
},
|
||||
"reconcile": {
|
||||
"id": "e97099d7b46b",
|
||||
"started_at": "2026-10-27T09:16:29.811798967Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3": {
|
||||
"id": "d9ccfafd22ca",
|
||||
"started_at": "2026-10-27T09:16:09.773875388Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3-init": {
|
||||
"id": "3e40ef3cf827",
|
||||
"started_at": "2026-10-27T09:16:57.533971841Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"worker": {
|
||||
"id": "fc199d14fc86",
|
||||
"started_at": "2026-10-27T09:16:56.780625216Z",
|
||||
"status": "running"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"mode": "failover",
|
||||
"returncode": 0,
|
||||
"output": "Executing explicit failover hook; hook output suppressed to avoid leaking secrets.\n{\"observed_instances_before\": 2, \"successful_writes\": 113, \"failed_attempts\": 1, \"first_recovery_seconds\": 2.436}\nPASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.\n",
|
||||
"before": {
|
||||
"api-a": {
|
||||
"id": "c3f5c47431e1",
|
||||
"started_at": "2026-10-27T09:16:27.015462382Z",
|
||||
"status": "running"
|
||||
},
|
||||
"api-b": {
|
||||
"id": "378998cb6e67",
|
||||
"started_at": "2026-10-27T09:16:26.933943216Z",
|
||||
"status": "running"
|
||||
},
|
||||
"broker": {
|
||||
"id": "15b4f76f796e",
|
||||
"started_at": "2026-10-27T09:16:07.882420138Z",
|
||||
"status": "running"
|
||||
},
|
||||
"load_balancer": {
|
||||
"id": "75a26443cd80",
|
||||
"started_at": "2026-10-27T09:16:26.847483466Z",
|
||||
"status": "running"
|
||||
},
|
||||
"migrate": {
|
||||
"id": "4752a39b2c74",
|
||||
"started_at": "2026-10-27T09:16:57.480130299Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"outbox": {
|
||||
"id": "9b88bcba1d4a",
|
||||
"started_at": "2026-10-27T09:16:29.790017884Z",
|
||||
"status": "running"
|
||||
},
|
||||
"postgres": {
|
||||
"id": "e40600648a2a",
|
||||
"started_at": "2026-10-27T09:16:06.788383595Z",
|
||||
"status": "running"
|
||||
},
|
||||
"reconcile": {
|
||||
"id": "e97099d7b46b",
|
||||
"started_at": "2026-10-27T09:16:29.811798967Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3": {
|
||||
"id": "d9ccfafd22ca",
|
||||
"started_at": "2026-10-27T09:16:09.773875388Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3-init": {
|
||||
"id": "3e40ef3cf827",
|
||||
"started_at": "2026-10-27T09:16:57.533971841Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"worker": {
|
||||
"id": "fc199d14fc86",
|
||||
"started_at": "2026-10-27T09:16:56.780625216Z",
|
||||
"status": "running"
|
||||
}
|
||||
},
|
||||
"after": {
|
||||
"api-a": {
|
||||
"id": "c3f5c47431e1",
|
||||
"started_at": "2026-10-27T09:16:27.015462382Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"api-b": {
|
||||
"id": "378998cb6e67",
|
||||
"started_at": "2026-10-27T09:16:26.933943216Z",
|
||||
"status": "running"
|
||||
},
|
||||
"broker": {
|
||||
"id": "15b4f76f796e",
|
||||
"started_at": "2026-10-27T09:16:07.882420138Z",
|
||||
"status": "running"
|
||||
},
|
||||
"load_balancer": {
|
||||
"id": "75a26443cd80",
|
||||
"started_at": "2026-10-27T09:16:26.847483466Z",
|
||||
"status": "running"
|
||||
},
|
||||
"migrate": {
|
||||
"id": "4752a39b2c74",
|
||||
"started_at": "2026-10-27T09:16:57.480130299Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"outbox": {
|
||||
"id": "9b88bcba1d4a",
|
||||
"started_at": "2026-10-27T09:16:29.790017884Z",
|
||||
"status": "running"
|
||||
},
|
||||
"postgres": {
|
||||
"id": "e40600648a2a",
|
||||
"started_at": "2026-10-27T09:16:06.788383595Z",
|
||||
"status": "running"
|
||||
},
|
||||
"reconcile": {
|
||||
"id": "e97099d7b46b",
|
||||
"started_at": "2026-10-27T09:16:29.811798967Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3": {
|
||||
"id": "d9ccfafd22ca",
|
||||
"started_at": "2026-10-27T09:16:09.773875388Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3-init": {
|
||||
"id": "3e40ef3cf827",
|
||||
"started_at": "2026-10-27T09:16:57.533971841Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"worker": {
|
||||
"id": "fc199d14fc86",
|
||||
"started_at": "2026-10-27T09:16:56.780625216Z",
|
||||
"status": "running"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"mode": "failover",
|
||||
"returncode": 0,
|
||||
"output": "Executing explicit failover hook; hook output suppressed to avoid leaking secrets.\n{\"observed_instances_before\": 2, \"successful_writes\": 95, \"failed_attempts\": 2, \"first_recovery_seconds\": 4.675}\nPASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.\n",
|
||||
"before": {
|
||||
"api-a": {
|
||||
"id": "c3f5c47431e1",
|
||||
"started_at": "2026-10-27T09:17:21.770393088Z",
|
||||
"status": "running"
|
||||
},
|
||||
"api-b": {
|
||||
"id": "378998cb6e67",
|
||||
"started_at": "2026-10-27T09:16:26.933943216Z",
|
||||
"status": "running"
|
||||
},
|
||||
"broker": {
|
||||
"id": "15b4f76f796e",
|
||||
"started_at": "2026-10-27T09:16:07.882420138Z",
|
||||
"status": "running"
|
||||
},
|
||||
"load_balancer": {
|
||||
"id": "75a26443cd80",
|
||||
"started_at": "2026-10-27T09:16:26.847483466Z",
|
||||
"status": "running"
|
||||
},
|
||||
"migrate": {
|
||||
"id": "4752a39b2c74",
|
||||
"started_at": "2026-10-27T09:16:57.480130299Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"outbox": {
|
||||
"id": "9b88bcba1d4a",
|
||||
"started_at": "2026-10-27T09:16:29.790017884Z",
|
||||
"status": "running"
|
||||
},
|
||||
"postgres": {
|
||||
"id": "e40600648a2a",
|
||||
"started_at": "2026-10-27T09:16:06.788383595Z",
|
||||
"status": "running"
|
||||
},
|
||||
"reconcile": {
|
||||
"id": "e97099d7b46b",
|
||||
"started_at": "2026-10-27T09:16:29.811798967Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3": {
|
||||
"id": "d9ccfafd22ca",
|
||||
"started_at": "2026-10-27T09:16:09.773875388Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3-init": {
|
||||
"id": "3e40ef3cf827",
|
||||
"started_at": "2026-10-27T09:16:57.533971841Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"worker": {
|
||||
"id": "fc199d14fc86",
|
||||
"started_at": "2026-10-27T09:16:56.780625216Z",
|
||||
"status": "running"
|
||||
}
|
||||
},
|
||||
"after": {
|
||||
"api-a": {
|
||||
"id": "c3f5c47431e1",
|
||||
"started_at": "2026-10-27T09:17:21.770393088Z",
|
||||
"status": "running"
|
||||
},
|
||||
"api-b": {
|
||||
"id": "378998cb6e67",
|
||||
"started_at": "2026-10-27T09:16:26.933943216Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"broker": {
|
||||
"id": "15b4f76f796e",
|
||||
"started_at": "2026-10-27T09:16:07.882420138Z",
|
||||
"status": "running"
|
||||
},
|
||||
"load_balancer": {
|
||||
"id": "75a26443cd80",
|
||||
"started_at": "2026-10-27T09:16:26.847483466Z",
|
||||
"status": "running"
|
||||
},
|
||||
"migrate": {
|
||||
"id": "4752a39b2c74",
|
||||
"started_at": "2026-10-27T09:16:57.480130299Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"outbox": {
|
||||
"id": "9b88bcba1d4a",
|
||||
"started_at": "2026-10-27T09:16:29.790017884Z",
|
||||
"status": "running"
|
||||
},
|
||||
"postgres": {
|
||||
"id": "e40600648a2a",
|
||||
"started_at": "2026-10-27T09:16:06.788383595Z",
|
||||
"status": "running"
|
||||
},
|
||||
"reconcile": {
|
||||
"id": "e97099d7b46b",
|
||||
"started_at": "2026-10-27T09:16:29.811798967Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3": {
|
||||
"id": "d9ccfafd22ca",
|
||||
"started_at": "2026-10-27T09:16:09.773875388Z",
|
||||
"status": "running"
|
||||
},
|
||||
"s3-init": {
|
||||
"id": "3e40ef3cf827",
|
||||
"started_at": "2026-10-27T09:16:57.533971841Z",
|
||||
"status": "exited"
|
||||
},
|
||||
"worker": {
|
||||
"id": "fc199d14fc86",
|
||||
"started_at": "2026-10-27T09:16:56.780625216Z",
|
||||
"status": "running"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user