lab5: отчёт и доказательства итогового прогона 5
This commit is contained in:
@@ -3,3 +3,7 @@
|
||||
Храните небольшие обезличенные результаты: команды и stdout проверок, JSON/CSV агрегатов нагрузки, EXPLAIN, dashboard JSON, текст разбора отказа. Укажите дату, commit, аппаратные лимиты и профиль нагрузки.
|
||||
|
||||
Не добавляйте .env, session tokens, cookies, приватные ключи, credentials, реальные сообщения, raw dumps и signed URLs. Для скриншотов скрывайте секреты. Большие логи/бинарные traces сохраняйте отдельно по правилам преподавателя; одного скриншота без методики недостаточно.
|
||||
|
||||
## Этот каталог (lab5)
|
||||
|
||||
Источник всех файлов — итоговый прогон https://github.com/CharaWein/2026_lab3/actions/runs/42642251603, commit 1289df3 (`RUN.txt`), 2026-11-09, GitHub-hosted runner 2 vCPU / 8 GB, Docker 28.0.4, Compose v2.38.2 (`runner_*.txt`). Четыре независимых стенда: base (корень каталога), files (`files/`), pipeline (`pipeline/`), track2 (`track2/`); Go-тесты — `go_test.txt`, `webp_test.txt`, `track2/pipeline_fault_injection.txt`. Полные логи compose и сборки остались в артефактах прогона и сюда не копировались.
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
source_commit=1289df31b164f918788b81710a19622bd131deab
|
||||
run=https://github.com/CharaWein/2026_lab3/actions/runs/42642251603
|
||||
go_tests=success
|
||||
stand=success
|
||||
@@ -0,0 +1,13 @@
|
||||
2026-11-09T15:14:12Z
|
||||
Docker Compose version v2.38.2
|
||||
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||
mtusi2026lab5-api-1 mtusi2026lab5-api:local "/app/api" api 17 seconds ago Up 7 seconds (healthy) 8080/tcp
|
||||
mtusi2026lab5-api-2 mtusi2026lab5-api:local "/app/api" api 17 seconds ago Up 8 seconds (healthy) 8080/tcp
|
||||
mtusi2026lab5-lb-1 haproxy:3.0.5-alpine "docker-entrypoint.s…" lb 17 seconds ago Up 1 second 127.0.0.1:8080->8080/tcp, 127.0.0.1:8404->8404/tcp
|
||||
mtusi2026lab5-postgres-1 postgres:16.4-alpine "docker-entrypoint.s…" postgres 17 seconds ago Up 16 seconds (healthy) 5432/tcp
|
||||
mtusi2026lab5-rabbitmq-1 rabbitmq:4.0.9-alpine "docker-entrypoint.s…" rabbitmq 17 seconds ago Up 16 seconds (healthy) 4369/tcp, 5671-5672/tcp, 15691-15692/tcp, 25672/tcp
|
||||
mtusi2026lab5-reconciler-1 mtusi2026lab5-api:local "/app/reconcile --ap…" reconciler 17 seconds ago Up 7 seconds (healthy) 8080/tcp
|
||||
mtusi2026lab5-redis-1 redis:7.4.1-alpine "docker-entrypoint.s…" redis 17 seconds ago Up 16 seconds (healthy) 6379/tcp
|
||||
mtusi2026lab5-relay-1 mtusi2026lab5-api:local "/app/pipeline relay" relay 17 seconds ago Up 8 seconds (healthy) 8080/tcp
|
||||
mtusi2026lab5-s3-1 bitnamilegacy/minio:2025.4.22@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 "/bin/bash -c 'expor…" s3 17 seconds ago Up 16 seconds (healthy) 9000-9001/tcp
|
||||
mtusi2026lab5-worker-1 mtusi2026lab5-api:local "/app/pipeline worker" worker 17 seconds ago Up 7 seconds (healthy) 8080/tcp
|
||||
@@ -0,0 +1,13 @@
|
||||
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||
mtusi2026lab5-api-3 mtusi2026lab5-api:local "/app/api" api About a minute ago Up About a minute (healthy) 8080/tcp
|
||||
mtusi2026lab5-api-4 mtusi2026lab5-api:local "/app/api" api About a minute ago Up About a minute (healthy) 8080/tcp
|
||||
mtusi2026lab5-lb-1 haproxy:3.0.5-alpine "docker-entrypoint.s…" lb 5 minutes ago Up 3 minutes 127.0.0.1:8080->8080/tcp, 127.0.0.1:8404->8404/tcp
|
||||
mtusi2026lab5-migrate-1 migrate/migrate:v4.17.0 "/bin/sh -c 'exec mi…" migrate 5 minutes ago Exited (0) 3 minutes ago
|
||||
mtusi2026lab5-postgres-1 postgres:16.4-alpine "docker-entrypoint.s…" postgres 5 minutes ago Up 3 minutes (healthy) 5432/tcp
|
||||
mtusi2026lab5-rabbitmq-1 rabbitmq:4.0.9-alpine "docker-entrypoint.s…" rabbitmq 5 minutes ago Up 3 minutes (healthy) 4369/tcp, 5671-5672/tcp, 15691-15692/tcp, 25672/tcp
|
||||
mtusi2026lab5-reconciler-1 mtusi2026lab5-api:local "/app/reconcile --ap…" reconciler 5 minutes ago Up 3 minutes (healthy) 8080/tcp
|
||||
mtusi2026lab5-redis-1 redis:7.4.1-alpine "docker-entrypoint.s…" redis 5 minutes ago Up 3 minutes (healthy) 6379/tcp
|
||||
mtusi2026lab5-relay-1 mtusi2026lab5-api:local "/app/pipeline relay" relay 5 minutes ago Up 3 minutes (healthy) 8080/tcp
|
||||
mtusi2026lab5-s3-1 bitnamilegacy/minio:2025.4.22@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 "/bin/bash -c 'expor…" s3 5 minutes ago Up 3 minutes (healthy) 9000-9001/tcp
|
||||
mtusi2026lab5-s3-init-1 bitnamilegacy/minio-client:2025.4.16@sha256:8a86e441decf053093c5977d49290298295f850c7843652f93e970ab15871dd1 "/bin/sh /init/init.…" s3-init 5 minutes ago Exited (0) 3 minutes ago
|
||||
mtusi2026lab5-worker-1 mtusi2026lab5-api:local "/app/pipeline worker" worker 5 minutes ago Up 3 minutes (healthy) 8080/tcp
|
||||
@@ -0,0 +1,13 @@
|
||||
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||
mtusi2026lab5-api-1 mtusi2026lab5-api:local "/app/api" api 2 minutes ago Up 12 seconds (healthy) 8080/tcp
|
||||
mtusi2026lab5-api-2 mtusi2026lab5-api:local "/app/api" api 2 minutes ago Up 12 seconds (healthy) 8080/tcp
|
||||
mtusi2026lab5-lb-1 haproxy:3.0.5-alpine "docker-entrypoint.s…" lb 2 minutes ago Up 2 minutes 127.0.0.1:8080->8080/tcp, 127.0.0.1:8404->8404/tcp
|
||||
mtusi2026lab5-migrate-1 migrate/migrate:v4.17.0 "/bin/sh -c 'exec mi…" migrate 2 minutes ago Exited (0) 11 seconds ago
|
||||
mtusi2026lab5-postgres-1 postgres:16.4-alpine "docker-entrypoint.s…" postgres 2 minutes ago Up 2 minutes (healthy) 5432/tcp
|
||||
mtusi2026lab5-rabbitmq-1 rabbitmq:4.0.9-alpine "docker-entrypoint.s…" rabbitmq 2 minutes ago Up 2 minutes (healthy) 4369/tcp, 5671-5672/tcp, 15691-15692/tcp, 25672/tcp
|
||||
mtusi2026lab5-reconciler-1 mtusi2026lab5-api:local "/app/reconcile --ap…" reconciler 2 minutes ago Up 2 minutes (healthy) 8080/tcp
|
||||
mtusi2026lab5-redis-1 redis:7.4.1-alpine "docker-entrypoint.s…" redis 2 minutes ago Up 2 minutes (healthy) 6379/tcp
|
||||
mtusi2026lab5-relay-1 mtusi2026lab5-api:local "/app/pipeline relay" relay 2 minutes ago Up 2 minutes (healthy) 8080/tcp
|
||||
mtusi2026lab5-s3-1 bitnamilegacy/minio:2025.4.22@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 "/bin/bash -c 'expor…" s3 2 minutes ago Up About a minute (healthy) 9000-9001/tcp
|
||||
mtusi2026lab5-s3-init-1 bitnamilegacy/minio-client:2025.4.16@sha256:8a86e441decf053093c5977d49290298295f850c7843652f93e970ab15871dd1 "/bin/sh /init/init.…" s3-init 2 minutes ago Exited (0) 10 seconds ago
|
||||
mtusi2026lab5-worker-1 mtusi2026lab5-api:local "/app/pipeline worker" worker 2 minutes ago Up 2 minutes (healthy) 8080/tcp
|
||||
@@ -0,0 +1,13 @@
|
||||
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||
mtusi2026lab5-api-1 mtusi2026lab5-api:local "/app/api" api 3 minutes ago Up 2 minutes (healthy) 8080/tcp
|
||||
mtusi2026lab5-api-2 mtusi2026lab5-api:local "/app/api" api 3 minutes ago Up 2 minutes (healthy) 8080/tcp
|
||||
mtusi2026lab5-lb-1 haproxy:3.0.5-alpine "docker-entrypoint.s…" lb 3 minutes ago Up 3 minutes 127.0.0.1:8080->8080/tcp, 127.0.0.1:8404->8404/tcp
|
||||
mtusi2026lab5-migrate-1 migrate/migrate:v4.17.0 "/bin/sh -c 'exec mi…" migrate 3 minutes ago Exited (0) 27 seconds ago
|
||||
mtusi2026lab5-postgres-1 postgres:16.4-alpine "docker-entrypoint.s…" postgres 3 minutes ago Up 3 minutes (healthy) 5432/tcp
|
||||
mtusi2026lab5-rabbitmq-1 rabbitmq:4.0.9-alpine "docker-entrypoint.s…" rabbitmq 3 minutes ago Up 59 seconds (healthy) 4369/tcp, 5671-5672/tcp, 15691-15692/tcp, 25672/tcp
|
||||
mtusi2026lab5-reconciler-1 mtusi2026lab5-api:local "/app/reconcile --ap…" reconciler 3 minutes ago Up 3 minutes (healthy) 8080/tcp
|
||||
mtusi2026lab5-redis-1 redis:7.4.1-alpine "docker-entrypoint.s…" redis 3 minutes ago Up 3 minutes (healthy) 6379/tcp
|
||||
mtusi2026lab5-relay-1 mtusi2026lab5-api:local "/app/pipeline relay" relay 2 minutes ago Up 2 minutes (healthy) 8080/tcp
|
||||
mtusi2026lab5-s3-1 bitnamilegacy/minio:2025.4.22@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 "/bin/bash -c 'expor…" s3 3 minutes ago Up 36 seconds (healthy) 9000-9001/tcp
|
||||
mtusi2026lab5-s3-init-1 bitnamilegacy/minio-client:2025.4.16@sha256:8a86e441decf053093c5977d49290298295f850c7843652f93e970ab15871dd1 "/bin/sh /init/init.…" s3-init 3 minutes ago Exited (0) 26 seconds ago
|
||||
mtusi2026lab5-worker-1 mtusi2026lab5-api:local "/app/pipeline worker" worker About a minute ago Up 12 seconds (healthy) 8080/tcp
|
||||
@@ -0,0 +1,13 @@
|
||||
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||
mtusi2026lab5-api-1 mtusi2026lab5-api:local "/app/api" api About a minute ago Up About a minute (healthy) 8080/tcp
|
||||
mtusi2026lab5-api-2 mtusi2026lab5-api:local "/app/api" api About a minute ago Up About a minute (healthy) 8080/tcp
|
||||
mtusi2026lab5-lb-1 haproxy:3.0.5-alpine "docker-entrypoint.s…" lb About a minute ago Up 54 seconds 127.0.0.1:8080->8080/tcp, 127.0.0.1:8404->8404/tcp
|
||||
mtusi2026lab5-migrate-1 migrate/migrate:v4.17.0 "/bin/sh -c 'exec mi…" migrate About a minute ago Exited (0) About a minute ago
|
||||
mtusi2026lab5-postgres-1 postgres:16.4-alpine "docker-entrypoint.s…" postgres About a minute ago Up About a minute (healthy) 5432/tcp
|
||||
mtusi2026lab5-rabbitmq-1 rabbitmq:4.0.9-alpine "docker-entrypoint.s…" rabbitmq About a minute ago Up About a minute (healthy) 4369/tcp, 5671-5672/tcp, 15691-15692/tcp, 25672/tcp
|
||||
mtusi2026lab5-reconciler-1 mtusi2026lab5-api:local "/app/reconcile --ap…" reconciler About a minute ago Up About a minute (healthy) 8080/tcp
|
||||
mtusi2026lab5-redis-1 redis:7.4.1-alpine "docker-entrypoint.s…" redis About a minute ago Up About a minute (healthy) 6379/tcp
|
||||
mtusi2026lab5-relay-1 mtusi2026lab5-api:local "/app/pipeline relay" relay About a minute ago Up 53 seconds (healthy) 8080/tcp
|
||||
mtusi2026lab5-s3-1 bitnamilegacy/minio:2025.4.22@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 "/bin/bash -c 'expor…" s3 About a minute ago Up About a minute (healthy) 9000-9001/tcp
|
||||
mtusi2026lab5-s3-init-1 bitnamilegacy/minio-client:2025.4.16@sha256:8a86e441decf053093c5977d49290298295f850c7843652f93e970ab15871dd1 "/bin/sh /init/init.…" s3-init About a minute ago Exited (0) About a minute ago
|
||||
mtusi2026lab5-worker-1 mtusi2026lab5-api:local "/app/pipeline worker" worker About a minute ago Up 53 seconds (healthy) 8080/tcp
|
||||
@@ -0,0 +1,10 @@
|
||||
mtusi2026lab5-api-4 0.05% 7.82MiB / 256MiB
|
||||
mtusi2026lab5-api-3 0.07% 7.984MiB / 256MiB
|
||||
mtusi2026lab5-lb-1 0.09% 8.594MiB / 128MiB
|
||||
mtusi2026lab5-relay-1 0.16% 4.051MiB / 128MiB
|
||||
mtusi2026lab5-reconciler-1 0.01% 3.809MiB / 128MiB
|
||||
mtusi2026lab5-worker-1 0.00% 3.102MiB / 768MiB
|
||||
mtusi2026lab5-s3-1 0.02% 334.1MiB / 512MiB
|
||||
mtusi2026lab5-postgres-1 24.21% 82.02MiB / 512MiB
|
||||
mtusi2026lab5-rabbitmq-1 43.18% 68.2MiB / 512MiB
|
||||
mtusi2026lab5-redis-1 0.39% 4.438MiB / 256MiB
|
||||
@@ -0,0 +1,10 @@
|
||||
mtusi2026lab5-lb-1 0.09% 8.531MiB / 128MiB
|
||||
mtusi2026lab5-relay-1 0.11% 4.016MiB / 128MiB
|
||||
mtusi2026lab5-reconciler-1 0.00% 3.664MiB / 128MiB
|
||||
mtusi2026lab5-api-2 0.07% 13.44MiB / 256MiB
|
||||
mtusi2026lab5-worker-1 85.87% 141.1MiB / 768MiB
|
||||
mtusi2026lab5-api-1 0.05% 14.41MiB / 256MiB
|
||||
mtusi2026lab5-rabbitmq-1 0.24% 83.23MiB / 512MiB
|
||||
mtusi2026lab5-s3-1 9.12% 441MiB / 512MiB
|
||||
mtusi2026lab5-postgres-1 0.68% 79.43MiB / 512MiB
|
||||
mtusi2026lab5-redis-1 0.49% 3.633MiB / 256MiB
|
||||
@@ -0,0 +1,10 @@
|
||||
mtusi2026lab5-worker-1 0.00% 530.2MiB / 768MiB
|
||||
mtusi2026lab5-relay-1 0.15% 4.234MiB / 128MiB
|
||||
mtusi2026lab5-lb-1 0.12% 8.016MiB / 128MiB
|
||||
mtusi2026lab5-api-2 0.07% 135.2MiB / 256MiB
|
||||
mtusi2026lab5-reconciler-1 0.00% 3.68MiB / 128MiB
|
||||
mtusi2026lab5-api-1 0.05% 134.6MiB / 256MiB
|
||||
mtusi2026lab5-rabbitmq-1 0.17% 67.86MiB / 512MiB
|
||||
mtusi2026lab5-redis-1 0.29% 3.859MiB / 256MiB
|
||||
mtusi2026lab5-s3-1 1.84% 336MiB / 512MiB
|
||||
mtusi2026lab5-postgres-1 3.09% 55.77MiB / 512MiB
|
||||
@@ -0,0 +1,10 @@
|
||||
mtusi2026lab5-lb-1 0.20% 8.262MiB / 128MiB
|
||||
mtusi2026lab5-relay-1 0.23% 3.301MiB / 128MiB
|
||||
mtusi2026lab5-reconciler-1 0.00% 3.664MiB / 128MiB
|
||||
mtusi2026lab5-api-1 0.08% 134.1MiB / 256MiB
|
||||
mtusi2026lab5-worker-1 0.00% 7.043MiB / 768MiB
|
||||
mtusi2026lab5-api-2 0.09% 134.4MiB / 256MiB
|
||||
mtusi2026lab5-postgres-1 0.21% 55.47MiB / 512MiB
|
||||
mtusi2026lab5-rabbitmq-1 50.81% 134.4MiB / 512MiB
|
||||
mtusi2026lab5-s3-1 0.02% 404.3MiB / 512MiB
|
||||
mtusi2026lab5-redis-1 3.70% 3.344MiB / 256MiB
|
||||
@@ -0,0 +1,8 @@
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 141, "failed_attempts": 0, "first_recovery_seconds": 3.367}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
-- контейнеры api после stop-one:
|
||||
mtusi2026lab5-api-1 61f9abf05f85 Up 30 seconds (healthy)
|
||||
mtusi2026lab5-api-2 95a4d5c06533 Exited (0) 12 seconds ago
|
||||
mtusi2026lab5-api-1 Up 38 seconds (healthy)
|
||||
mtusi2026lab5-api-2 Up 6 seconds (healthy)
|
||||
@@ -0,0 +1,8 @@
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 130, "failed_attempts": 0, "first_recovery_seconds": 4.083}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
-- контейнеры api после stop-one:
|
||||
mtusi2026lab5-api-1 61f9abf05f85 Up 55 seconds (healthy)
|
||||
mtusi2026lab5-api-2 95a4d5c06533 Exited (0) 11 seconds ago
|
||||
mtusi2026lab5-api-1 Up About a minute (healthy)
|
||||
mtusi2026lab5-api-2 Up 6 seconds (healthy)
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"concurrency": 4,
|
||||
"replicas": 2,
|
||||
"total": {
|
||||
"seconds": 53.17,
|
||||
"ok": 18698,
|
||||
"errors": 0,
|
||||
"ok_rps": 351.7
|
||||
},
|
||||
"confirmed_writes": 9350,
|
||||
"stored_messages": 9352,
|
||||
"duplicates": 0,
|
||||
"lost_confirmed": 0,
|
||||
"per_replica": [
|
||||
{
|
||||
"target_instance": "61f9abf05f85",
|
||||
"docker_stop_seconds": 3.54,
|
||||
"before": {
|
||||
"seconds": 5.0,
|
||||
"ok": 1072,
|
||||
"errors": 0,
|
||||
"ok_rps": 214.4
|
||||
},
|
||||
"during_stop_and_observe": {
|
||||
"seconds": 15.0,
|
||||
"ok": 5318,
|
||||
"errors": 0,
|
||||
"ok_rps": 354.5
|
||||
},
|
||||
"errors_after_stop": 0,
|
||||
"recovery_seconds": 0.0,
|
||||
"target_last_served_after_stop_seconds": 0.91,
|
||||
"other_instances_after": [
|
||||
"95a4d5c06533"
|
||||
],
|
||||
"restore_healthy_seconds": 5.92,
|
||||
"restore_serving_via_lb_seconds": 5.92
|
||||
},
|
||||
{
|
||||
"target_instance": "95a4d5c06533",
|
||||
"docker_stop_seconds": 4.33,
|
||||
"before": {
|
||||
"seconds": 5.0,
|
||||
"ok": 1737,
|
||||
"errors": 0,
|
||||
"ok_rps": 347.4
|
||||
},
|
||||
"during_stop_and_observe": {
|
||||
"seconds": 15.0,
|
||||
"ok": 5541,
|
||||
"errors": 0,
|
||||
"ok_rps": 369.4
|
||||
},
|
||||
"errors_after_stop": 0,
|
||||
"recovery_seconds": 0.0,
|
||||
"target_last_served_after_stop_seconds": 0.95,
|
||||
"other_instances_after": [
|
||||
"61f9abf05f85"
|
||||
],
|
||||
"restore_healthy_seconds": 6.28,
|
||||
"restore_serving_via_lb_seconds": 6.28
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
ok.png image/png 106 -> 202
|
||||
ok.jpg image/jpeg 900 -> 202
|
||||
%D1%84%D0%BE%D1%82%D0%BE%20%F0%9F%98%80. image/png 106 -> 202
|
||||
params.png image/png; charset=binary 106 -> 202
|
||||
near-limit.png image/png 10288524 -> 202
|
||||
too-big.png (Content-Length) image/png 10485761 -> 413
|
||||
too-big-chunked.png (no Content-Length) image/png 11534336 -> 413
|
||||
bomb.png image/png 66 -> 413
|
||||
over-pixels.png image/png 66 -> 413
|
||||
truncated.png image/png 53 -> 415
|
||||
corrupt.png image/png 106 -> 415
|
||||
truncated.jpg image/jpeg 898 -> 415
|
||||
mime-swap.png image/jpeg 106 -> 415
|
||||
mime-swap.jpg image/png 900 -> 415
|
||||
text.png image/png 23 -> 415
|
||||
gif.gif image/gif 14 -> 415
|
||||
ctype-missing.png application/octet-stream 106 -> 415
|
||||
empty.png image/png 0 -> 415
|
||||
short-data.png image/png 68 -> 415
|
||||
..%2Fetc%2Fpasswd image/png 106 -> 400
|
||||
a%5Cb.png image/png 106 -> 400
|
||||
nul%00.png image/png 106 -> 400
|
||||
bell%07.png image/png 106 -> 400
|
||||
%20%20%20 image/png 106 -> 400
|
||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx image/png 106 -> 400
|
||||
image/png 106 -> 400
|
||||
eve.png image/png 106 -> 404
|
||||
foreign.png image/png 106 -> 202
|
||||
PASS: attachment negative suite (28 upload cases, no 5xx)
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"scenario": "db-gap",
|
||||
"result": {
|
||||
"client_status": 504,
|
||||
"seconds": 53.4,
|
||||
"after_gap": {
|
||||
"row_status": "uploading",
|
||||
"staging_objects": 1
|
||||
},
|
||||
"final": {
|
||||
"row_status": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"scenario": "failover",
|
||||
"result": {
|
||||
"uploaded_by": "136ebad5f66d",
|
||||
"downloaded_by": [
|
||||
"2426fcb77065"
|
||||
],
|
||||
"sha256": "9cd8ae086706327908419e4e9782e8ed003310802f9381e4f8776a81079460e5",
|
||||
"stopped_container": "136ebad5f66d"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"scenario": "interrupt",
|
||||
"result": {
|
||||
"sent_bytes": 1048576,
|
||||
"declared_bytes": 4192910,
|
||||
"rows_after": 0,
|
||||
"objects_after": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"scenario": "memory",
|
||||
"result": {
|
||||
"file_bytes": 10187085,
|
||||
"runs": [
|
||||
{
|
||||
"parallel": 10,
|
||||
"ok": 10,
|
||||
"failed": [],
|
||||
"max_seconds": 2.3,
|
||||
"baseline_peak_mib": {
|
||||
"136ebad5f66d": 8.1,
|
||||
"2426fcb77065": 8.1
|
||||
},
|
||||
"peak_mib": {
|
||||
"136ebad5f66d": 32.2,
|
||||
"2426fcb77065": 18.2
|
||||
},
|
||||
"payload_total_mib": 97.2,
|
||||
"max_peak_growth_mib": 24.2
|
||||
},
|
||||
{
|
||||
"parallel": 20,
|
||||
"ok": 20,
|
||||
"failed": [],
|
||||
"max_seconds": 3.34,
|
||||
"baseline_peak_mib": {
|
||||
"136ebad5f66d": 7.4,
|
||||
"2426fcb77065": 7.8
|
||||
},
|
||||
"peak_mib": {
|
||||
"136ebad5f66d": 49.9,
|
||||
"2426fcb77065": 43.8
|
||||
},
|
||||
"payload_total_mib": 194.3,
|
||||
"max_peak_growth_mib": 42.5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"scenario": "s3-outage",
|
||||
"result": {
|
||||
"upload_status_during_outage": 503,
|
||||
"upload_error_seconds": 0.12,
|
||||
"download_status_during_outage": 503,
|
||||
"metadata_during_outage": "ready",
|
||||
"text_message_during_outage": 201,
|
||||
"readiness_during_outage": 200,
|
||||
"intents_left": 0,
|
||||
"upload_after_recovery": "queued"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"scenario": "security",
|
||||
"result": {
|
||||
"anonymous_get": "403",
|
||||
"anonymous_list": "403",
|
||||
"api_key_own_bucket": "allowed",
|
||||
"api_key_make_bucket": "denied",
|
||||
"api_key_admin": "denied",
|
||||
"api_key_visible_buckets": [
|
||||
"messenger-attachments"
|
||||
],
|
||||
"bootstrap_runs": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"objects_before_after": [
|
||||
40,
|
||||
40
|
||||
],
|
||||
"s3_published_ports": "9000-9001/tcp"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
? github.com/charawein/mtusi2026lab5/cmd/api [no test files]
|
||||
? github.com/charawein/mtusi2026lab5/cmd/pipeline [no test files]
|
||||
? github.com/charawein/mtusi2026lab5/cmd/reconcile [no test files]
|
||||
? github.com/charawein/mtusi2026lab5/internal/broker [no test files]
|
||||
? github.com/charawein/mtusi2026lab5/internal/config [no test files]
|
||||
? github.com/charawein/mtusi2026lab5/internal/domain [no test files]
|
||||
ok github.com/charawein/mtusi2026lab5/internal/imagecheck 0.025s
|
||||
ok github.com/charawein/mtusi2026lab5/internal/imaging 0.693s
|
||||
ok github.com/charawein/mtusi2026lab5/internal/reconcile 0.008s
|
||||
? github.com/charawein/mtusi2026lab5/internal/repository [no test files]
|
||||
? github.com/charawein/mtusi2026lab5/internal/repository/postgres [no test files]
|
||||
? github.com/charawein/mtusi2026lab5/internal/repository/redis [no test files]
|
||||
ok github.com/charawein/mtusi2026lab5/internal/service 0.022s
|
||||
? github.com/charawein/mtusi2026lab5/internal/storage [no test files]
|
||||
? github.com/charawein/mtusi2026lab5/internal/transport/http [no test files]
|
||||
? github.com/charawein/mtusi2026lab5/internal/transport/http/middleware [no test files]
|
||||
? github.com/charawein/mtusi2026lab5/internal/transport/httputil [no test files]
|
||||
ok github.com/charawein/mtusi2026lab5/internal/worker 5.974s
|
||||
? github.com/charawein/mtusi2026lab5/student-tests/genfixtures [no test files]
|
||||
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"rounds": 10,
|
||||
"parallel_per_round": 16,
|
||||
"distinct_instances_seen": 2,
|
||||
"duplicates_found": 0,
|
||||
"per_round": [
|
||||
{
|
||||
"round": 0,
|
||||
"requests": 16,
|
||||
"status_201": 16,
|
||||
"distinct_messages": 1,
|
||||
"stored": 1,
|
||||
"instances": 2
|
||||
},
|
||||
{
|
||||
"round": 1,
|
||||
"requests": 16,
|
||||
"status_201": 16,
|
||||
"distinct_messages": 1,
|
||||
"stored": 1,
|
||||
"instances": 2
|
||||
},
|
||||
{
|
||||
"round": 2,
|
||||
"requests": 16,
|
||||
"status_201": 16,
|
||||
"distinct_messages": 1,
|
||||
"stored": 1,
|
||||
"instances": 2
|
||||
},
|
||||
{
|
||||
"round": 3,
|
||||
"requests": 16,
|
||||
"status_201": 16,
|
||||
"distinct_messages": 1,
|
||||
"stored": 1,
|
||||
"instances": 2
|
||||
},
|
||||
{
|
||||
"round": 4,
|
||||
"requests": 16,
|
||||
"status_201": 16,
|
||||
"distinct_messages": 1,
|
||||
"stored": 1,
|
||||
"instances": 2
|
||||
},
|
||||
{
|
||||
"round": 5,
|
||||
"requests": 16,
|
||||
"status_201": 16,
|
||||
"distinct_messages": 1,
|
||||
"stored": 1,
|
||||
"instances": 2
|
||||
},
|
||||
{
|
||||
"round": 6,
|
||||
"requests": 16,
|
||||
"status_201": 16,
|
||||
"distinct_messages": 1,
|
||||
"stored": 1,
|
||||
"instances": 2
|
||||
},
|
||||
{
|
||||
"round": 7,
|
||||
"requests": 16,
|
||||
"status_201": 16,
|
||||
"distinct_messages": 1,
|
||||
"stored": 1,
|
||||
"instances": 2
|
||||
},
|
||||
{
|
||||
"round": 8,
|
||||
"requests": 16,
|
||||
"status_201": 16,
|
||||
"distinct_messages": 1,
|
||||
"stored": 1,
|
||||
"instances": 2
|
||||
},
|
||||
{
|
||||
"round": 9,
|
||||
"requests": 16,
|
||||
"status_201": 16,
|
||||
"distinct_messages": 1,
|
||||
"stored": 1,
|
||||
"instances": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
bitnamilegacy/minio-client:2025.4.16@sha256:8a86e441decf053093c5977d49290298295f850c7843652f93e970ab15871dd1 bitnamilegacy/minio-client@sha256:8a86e441decf053093c5977d49290298295f850c7843652f93e970ab15871dd1
|
||||
bitnamilegacy/minio:2025.4.22@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 bitnamilegacy/minio@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01
|
||||
haproxy:3.0.5-alpine haproxy@sha256:43a2591a6a62a41dd22edb4452880e9c70de489fbd7c54ffb52d035cccbfe949
|
||||
migrate/migrate:v4.17.0 migrate/migrate@sha256:4d017c6fb5997127093648cab09e63d377997125c3d3dcca18e5d1c847da49fa
|
||||
mtusi2026lab5-api:local
|
||||
local-build
|
||||
postgres:16.4-alpine postgres@sha256:5660c2cbfea50c7a9127d17dc4e48543eedd3d7a41a595a2dfa572471e37e64c
|
||||
rabbitmq:4.0.9-alpine rabbitmq@sha256:0a09ddfd00a1ef2e58f497d731e9b2814ef3bebb3668069185c54d085352d2b9
|
||||
redis:7.4.1-alpine redis@sha256:c1e88455c85225310bbea54816e9c3f4b5295815e6dbf80c34d40afc6df28275
|
||||
@@ -0,0 +1,2 @@
|
||||
61f9abf05f85 10
|
||||
95a4d5c06533 10
|
||||
@@ -0,0 +1,24 @@
|
||||
-- до:
|
||||
mtusi2026lab5-api-1 Up About a minute (healthy)
|
||||
mtusi2026lab5-api-2 Up 6 seconds (healthy)
|
||||
mtusi2026lab5-lb-1 Up 57 seconds
|
||||
mtusi2026lab5-postgres-1 Up About a minute (healthy)
|
||||
mtusi2026lab5-rabbitmq-1 Up About a minute (healthy)
|
||||
mtusi2026lab5-reconciler-1 Up About a minute (healthy)
|
||||
mtusi2026lab5-redis-1 Up About a minute (healthy)
|
||||
mtusi2026lab5-relay-1 Up About a minute (healthy)
|
||||
mtusi2026lab5-s3-1 Up About a minute (healthy)
|
||||
mtusi2026lab5-worker-1 Up About a minute (healthy)
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
-- после:
|
||||
mtusi2026lab5-api-1 Up 6 seconds (healthy)
|
||||
mtusi2026lab5-api-2 Up 6 seconds (healthy)
|
||||
mtusi2026lab5-lb-1 Up Less than a second
|
||||
mtusi2026lab5-postgres-1 Up 17 seconds (healthy)
|
||||
mtusi2026lab5-rabbitmq-1 Up 16 seconds (healthy)
|
||||
mtusi2026lab5-reconciler-1 Up 6 seconds (healthy)
|
||||
mtusi2026lab5-redis-1 Up 17 seconds (healthy)
|
||||
mtusi2026lab5-relay-1 Up 6 seconds (healthy)
|
||||
mtusi2026lab5-s3-1 Up 17 seconds (healthy)
|
||||
mtusi2026lab5-worker-1 Up 6 seconds (healthy)
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"scenario": "broker-restart",
|
||||
"result": {
|
||||
"attachment_id": "41928433-0d5c-4179-a23e-1e962bded4e2",
|
||||
"queue_before_restart": {
|
||||
"attachment.dead": 0,
|
||||
"attachment.process": 0
|
||||
},
|
||||
"queue_after_restart": {
|
||||
"attachment.dead": 0,
|
||||
"attachment.process": 1
|
||||
},
|
||||
"outbox_publish_attempts": 1,
|
||||
"invariants": {
|
||||
"status": "ready",
|
||||
"published_version": 1,
|
||||
"objects_per_version": {
|
||||
"1": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"scenario": "crash-commit",
|
||||
"result": {
|
||||
"attachment_id": "b79d51ac-bd5f-4ebf-b7b2-0372638e289f",
|
||||
"job_id": "9679d789-9782-4965-847b-88ae26653ecc",
|
||||
"worker_restarts": 1,
|
||||
"attempt": 1,
|
||||
"redelivery_acked_as_noop": true,
|
||||
"invariants": {
|
||||
"status": "ready",
|
||||
"published_version": 1,
|
||||
"objects_per_version": {
|
||||
"1": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"scenario": "crash-effect",
|
||||
"result": {
|
||||
"attachment_id": "6a4a5622-45fb-4af7-9603-d310130fb69e",
|
||||
"job_id": "8c912c85-5398-4aae-881b-ddc9c3789d15",
|
||||
"worker_restarts": 1,
|
||||
"attempt": 2,
|
||||
"seconds_to_ready": 19.6,
|
||||
"events": "enqueued,claimed,lease_expired_requeued,claimed,done",
|
||||
"invariants": {
|
||||
"status": "ready",
|
||||
"published_version": 1,
|
||||
"objects_per_version": {
|
||||
"1": 3
|
||||
}
|
||||
},
|
||||
"variants": {
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"optimized_bytes": 2462,
|
||||
"original_bytes": 111817
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"scenario": "demo",
|
||||
"result": {
|
||||
"attachment_id": "3e265d26-04d0-40ad-9626-1a0fc6e4f9fd",
|
||||
"job_id": "52e255df-61a1-46a1-a90c-e00184ef8a59",
|
||||
"job_state": "done",
|
||||
"attempt": 1,
|
||||
"timeline": [
|
||||
"worker stopped",
|
||||
"upload 202 queued id=3e265d26-04d0-40ad-9626-1a0fc6e4f9fd",
|
||||
"message 201 with queued attachment",
|
||||
"content 409, other messages OK",
|
||||
"api and rabbitmq restarted (volumes kept), outbox published=1",
|
||||
"rabbitmq queues after restart: {'attachment.dead': 0, 'attachment.process': 1}",
|
||||
"worker started → ready in 2.4 s"
|
||||
],
|
||||
"variants": {
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"optimized_bytes": 2462,
|
||||
"original_bytes": 111817
|
||||
},
|
||||
"invariants": {
|
||||
"status": "ready",
|
||||
"published_version": 1,
|
||||
"objects_per_version": {
|
||||
"1": 3
|
||||
}
|
||||
},
|
||||
"events": "enqueued,claimed,done"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"scenario": "failed-replay",
|
||||
"result": {
|
||||
"attachment_id": "a778211f-1990-469c-8134-16dc71b7932b",
|
||||
"failed_error_code": "checksum_mismatch",
|
||||
"content_while_failed": 409,
|
||||
"attach_failed_to_message": 409,
|
||||
"registry_listed": true,
|
||||
"replay": {
|
||||
"attachment_id": "a778211f-1990-469c-8134-16dc71b7932b",
|
||||
"command": "replay",
|
||||
"error": "",
|
||||
"job_id": "473811d7-02f9-4994-9acb-d67d396b9453",
|
||||
"ok": true,
|
||||
"version": 1
|
||||
},
|
||||
"replay_after_success": {
|
||||
"attachment_id": "a778211f-1990-469c-8134-16dc71b7932b",
|
||||
"command": "replay",
|
||||
"error": "conflict: job is done, only failed jobs can be replayed",
|
||||
"job_id": "473811d7-02f9-4994-9acb-d67d396b9453",
|
||||
"ok": false,
|
||||
"version": 1
|
||||
},
|
||||
"final_status": "ready",
|
||||
"events": "enqueued,claimed,failed,replay,claimed,done,replay_refused",
|
||||
"dlq_messages": 1,
|
||||
"invariants": {
|
||||
"status": "ready",
|
||||
"published_version": 1,
|
||||
"objects_per_version": {
|
||||
"1": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"scenario": "limits",
|
||||
"result": {
|
||||
"image": "6000x6000 PNG (119755 bytes)",
|
||||
"parallel_uploads": 3,
|
||||
"seconds_all_ready": 5.4,
|
||||
"worker_anon_memory_max_mib": 570.3,
|
||||
"worker_memory_peak_incl_page_cache_mib": 576.4,
|
||||
"oom_kill_events": 0,
|
||||
"go_memlimit": "560MiB",
|
||||
"oom_events": 0,
|
||||
"worker_memory_limit_mib": 768.0,
|
||||
"pixel_budget": 60000000,
|
||||
"decoded_rgba_per_image_mib": 137.3,
|
||||
"variant_sizes": {
|
||||
"thumbnail": [
|
||||
256,
|
||||
256
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
1280,
|
||||
1280
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"scenario": "outbox-gap",
|
||||
"result": {
|
||||
"relay_down_then_up": {
|
||||
"attachment_id": "adff70ba-9cda-450a-88a2-9c7827ed4022",
|
||||
"unpublished_while_relay_down": 1,
|
||||
"then": "ready"
|
||||
},
|
||||
"relay_crash_after_confirm": {
|
||||
"attachment_id": "c55e34c1-e4b8-4b6d-b48b-9038a1a920c9",
|
||||
"relay_restarts": 1,
|
||||
"outbox_publish_attempts": 1,
|
||||
"worker_saw_message_twice": true,
|
||||
"job_attempt": 1,
|
||||
"invariants": {
|
||||
"status": "ready",
|
||||
"published_version": 1,
|
||||
"objects_per_version": {
|
||||
"1": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
"events": "enqueued,claimed,done"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"scenario": "transient",
|
||||
"result": {
|
||||
"attachment_id": "13448df8-cb13-4b9a-9227-73182d6c84bc",
|
||||
"attempts": 3,
|
||||
"final_status": "ready",
|
||||
"retry_details": "processing_failed; next_attempt=2 in 1.553s | processing_failed; next_attempt=3 in 2.758s",
|
||||
"events": "enqueued,claimed,retry_scheduled,claimed,retry_scheduled,claimed,done",
|
||||
"invariants": {
|
||||
"status": "ready",
|
||||
"published_version": 1,
|
||||
"objects_per_version": {
|
||||
"1": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
worker-1 | {"time":"2026-11-09T15:15:46.619759171Z","level":"INFO","msg":"worker starting","owner":"18d147720c4c:1","concurrency":2,"lease":60000000000}
|
||||
worker-1 | {"time":"2026-11-09T15:16:10.212884822Z","level":"INFO","msg":"worker starting","owner":"18d147720c4c:1","concurrency":2,"lease":60000000000}
|
||||
worker-1 | {"time":"2026-11-09T15:16:18.342232549Z","level":"INFO","msg":"worker starting","owner":"18d147720c4c:1","concurrency":2,"lease":60000000000}
|
||||
worker-1 | {"time":"2026-11-09T15:16:18.87701229Z","level":"WARN","msg":"attempt failed","job_id":"db189a01-f03c-4451-bde1-232b101fc886","attachment_id":"13448df8-cb13-4b9a-9227-73182d6c84bc","version":1,"attempt":1,"code":"processing_failed","final":false,"backoff":1552880322}
|
||||
worker-1 | {"time":"2026-11-09T15:16:20.857991266Z","level":"WARN","msg":"attempt failed","job_id":"db189a01-f03c-4451-bde1-232b101fc886","attachment_id":"13448df8-cb13-4b9a-9227-73182d6c84bc","version":1,"attempt":2,"code":"processing_failed","final":false,"backoff":2758454067}
|
||||
worker-1 | {"time":"2026-11-09T15:16:31.988478744Z","level":"INFO","msg":"worker starting","owner":"18d147720c4c:1","concurrency":2,"lease":60000000000}
|
||||
worker-1 | {"time":"2026-11-09T15:16:32.017138291Z","level":"WARN","msg":"attempt failed","job_id":"473811d7-02f9-4994-9acb-d67d396b9453","attachment_id":"a778211f-1990-469c-8134-16dc71b7932b","version":1,"attempt":1,"code":"checksum_mismatch","final":true,"backoff":1371991185}
|
||||
worker-1 | {"time":"2026-11-09T15:16:34.957981424Z","level":"ERROR","msg":"invalid job message, dead-lettering","err":null}
|
||||
worker-1 | {"time":"2026-11-09T15:16:45.821308891Z","level":"INFO","msg":"worker starting","owner":"18d147720c4c:1","concurrency":2,"lease":60000000000}
|
||||
relay-1 | {"time":"2026-11-09T15:15:21.358127392Z","level":"WARN","msg":"expired leases requeued","jobs":1}
|
||||
@@ -0,0 +1,3 @@
|
||||
PASS: whitespace-only password rejected with 400 (3 variants)
|
||||
PASS: Redis ACL -incr: message visible on every next read (3 in history)
|
||||
PASS: Redis ACL -incr -del -unlink -scan: message visible on every next read (4 in history)
|
||||
@@ -0,0 +1,92 @@
|
||||
-- до:
|
||||
mtusi2026lab5-api-1 61f9abf05f85 Up About a minute (healthy)
|
||||
mtusi2026lab5-api-2 95a4d5c06533 Up About a minute (healthy)
|
||||
#1 [internal] load local bake definitions
|
||||
#1 reading from stdin 380B done
|
||||
#1 DONE 0.0s
|
||||
|
||||
#2 [internal] load build definition from Dockerfile
|
||||
#2 transferring dockerfile: 2.84kB done
|
||||
#2 DONE 0.0s
|
||||
|
||||
#3 [internal] load metadata for docker.io/library/alpine:3.20@sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc
|
||||
#3 DONE 0.0s
|
||||
|
||||
#4 [internal] load metadata for docker.io/library/golang:1.26-alpine@sha256:27f2d3b83cfc5803c8078f8e730af0f7c431bf067afaec8f60a36fb763187cba
|
||||
#4 DONE 0.0s
|
||||
|
||||
#5 [internal] load .dockerignore
|
||||
#5 transferring context: 212B done
|
||||
#5 DONE 0.0s
|
||||
|
||||
#6 [builder 1/6] FROM docker.io/library/golang:1.26-alpine@sha256:27f2d3b83cfc5803c8078f8e730af0f7c431bf067afaec8f60a36fb763187cba
|
||||
#6 DONE 0.0s
|
||||
|
||||
#7 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc
|
||||
#7 DONE 0.0s
|
||||
|
||||
#8 [internal] load build context
|
||||
#8 transferring context: 7.33kB 0.0s done
|
||||
#8 DONE 0.0s
|
||||
|
||||
#9 [stage-1 4/7] WORKDIR /app
|
||||
#9 CACHED
|
||||
|
||||
#10 [builder 6/6] RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -trimpath -o /out/ ./cmd/api ./cmd/reconcile ./cmd/pipeline
|
||||
#10 CACHED
|
||||
|
||||
#11 [builder 5/6] COPY . .
|
||||
#11 CACHED
|
||||
|
||||
#12 [builder 3/6] COPY go.mod go.sum ./
|
||||
#12 CACHED
|
||||
|
||||
#13 [builder 2/6] WORKDIR /src
|
||||
#13 CACHED
|
||||
|
||||
#14 [stage-1 3/7] RUN addgroup -g 1001 -S appgroup && adduser -u 1001 -S appuser -G appgroup
|
||||
#14 CACHED
|
||||
|
||||
#15 [stage-1 6/7] COPY --from=builder --chown=appuser:appgroup /out/reconcile /app/reconcile
|
||||
#15 CACHED
|
||||
|
||||
#16 [stage-1 5/7] COPY --from=builder --chown=appuser:appgroup /out/api /app/api
|
||||
#16 CACHED
|
||||
|
||||
#17 [builder 4/6] RUN go mod download
|
||||
#17 CACHED
|
||||
|
||||
#18 [stage-1 2/7] RUN apk --no-cache add ca-certificates tzdata libwebp-tools
|
||||
#18 CACHED
|
||||
|
||||
#19 [stage-1 7/7] COPY --from=builder --chown=appuser:appgroup /out/pipeline /app/pipeline
|
||||
#19 CACHED
|
||||
|
||||
#20 exporting to image
|
||||
#20 exporting layers done
|
||||
#20 writing image sha256:6564857c5a6a93ceafc1af85ee252d7333f47c4b265f20864686582701e278cc done
|
||||
#20 naming to docker.io/library/mtusi2026lab5-api:local done
|
||||
#20 DONE 0.0s
|
||||
|
||||
#21 resolving provenance for metadata file
|
||||
#21 DONE 0.0s
|
||||
api Built
|
||||
Container mtusi2026lab5-postgres-1 Running
|
||||
no change
|
||||
Container mtusi2026lab5-api-1 Running
|
||||
Container mtusi2026lab5-api-2 Running
|
||||
Container mtusi2026lab5-api-3 Creating
|
||||
Container mtusi2026lab5-api-3 Created
|
||||
Container mtusi2026lab5-api-3 Starting
|
||||
Container mtusi2026lab5-api-3 Started
|
||||
replaced /mtusi2026lab5-api-1
|
||||
Container mtusi2026lab5-api-2 Running
|
||||
Container mtusi2026lab5-api-3 Running
|
||||
Container mtusi2026lab5-api-4 Creating
|
||||
Container mtusi2026lab5-api-4 Created
|
||||
Container mtusi2026lab5-api-4 Starting
|
||||
Container mtusi2026lab5-api-4 Started
|
||||
replaced /mtusi2026lab5-api-2
|
||||
mtusi2026lab5-api-3 01c220dc06f7 mtusi2026lab5-api:local Up 22 seconds (healthy)
|
||||
mtusi2026lab5-api-4 f75e5c7061b9 mtusi2026lab5-api:local Up 11 seconds (healthy)
|
||||
-- замена заняла 26 s (внутри 90 s нагрузки)
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"lab": 5,
|
||||
"workload": "closed-loop POST messages; no automatic retries",
|
||||
"requested_duration_seconds": 90.0,
|
||||
"elapsed_seconds": 90.141,
|
||||
"concurrency": 4,
|
||||
"successful_requests": 34917,
|
||||
"failed_requests": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 387.359,
|
||||
"successful_latency_ms": {
|
||||
"p50": 7.079,
|
||||
"p95": 19.94,
|
||||
"p99": 97.821
|
||||
},
|
||||
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
2
|
||||
total used free shared buff/cache available
|
||||
Mem: 7932 1565 3068 105 3719 6367
|
||||
Swap: 3071 0 3071
|
||||
28.0.4
|
||||
Docker Compose version v2.38.2
|
||||
@@ -0,0 +1,6 @@
|
||||
2
|
||||
total used free shared buff/cache available
|
||||
Mem: 7931 1934 3100 83 3295 5997
|
||||
Swap: 3071 191 2880
|
||||
28.0.4
|
||||
Docker Compose version v2.38.2
|
||||
@@ -0,0 +1,6 @@
|
||||
2
|
||||
total used free shared buff/cache available
|
||||
Mem: 7932 2465 2649 82 3214 5466
|
||||
Swap: 3071 0 3071
|
||||
28.0.4
|
||||
Docker Compose version v2.38.2
|
||||
@@ -0,0 +1,6 @@
|
||||
2
|
||||
total used free shared buff/cache available
|
||||
Mem: 7932 1881 3233 87 3219 6050
|
||||
Swap: 3071 0 3071
|
||||
28.0.4
|
||||
Docker Compose version v2.38.2
|
||||
@@ -0,0 +1 @@
|
||||
PASS: lab5 public API scenario; infrastructure and grading evidence remain separate.
|
||||
@@ -0,0 +1,36 @@
|
||||
=== RUN TestPipelineHappyPathAndDuplicate
|
||||
2026/11/09 15:13:04 INFO duplicate delivery of finished job: ack without work job_id=fc293796-cf32-49a0-a708-89eca552acf3 attachment_id=cb9791cf-9bb9-417f-948d-97b164242742 version=1
|
||||
--- PASS: TestPipelineHappyPathAndDuplicate (1.42s)
|
||||
=== RUN TestPipelineConcurrentDuplicateIsBusy
|
||||
2026/11/09 15:13:04 INFO job leased by another worker: ack duplicate job_id=5561990b-d348-4de0-844a-57074a5fe9a7 attachment_id=e0b35bf6-3778-4d63-b2f8-2d73761d5b8e version=1 owner=slow-worker
|
||||
--- PASS: TestPipelineConcurrentDuplicateIsBusy (0.28s)
|
||||
=== RUN TestPipelineCrashAfterSideEffectBeforeCommit
|
||||
2026/11/09 15:13:04 WARN FAULT INJECTION: crashing point=worker.after_side_effect
|
||||
2026/11/09 15:13:04 INFO job leased by another worker: ack duplicate job_id=37d3dbca-5672-419c-8460-2f3846a2ebfb attachment_id=33092dec-9b0b-4251-a4f0-420eeec15083 version=1 owner=w-20ea9c
|
||||
--- PASS: TestPipelineCrashAfterSideEffectBeforeCommit (1.42s)
|
||||
=== RUN TestPipelineCrashAfterCommitBeforeAck
|
||||
2026/11/09 15:13:05 WARN FAULT INJECTION: crashing point=worker.after_commit
|
||||
2026/11/09 15:13:05 INFO duplicate delivery of finished job: ack without work job_id=e33999f9-533f-49b2-aeb3-b7374878d542 attachment_id=a3f65fa0-f9de-410d-a922-5ba2c5cf2a27 version=1
|
||||
--- PASS: TestPipelineCrashAfterCommitBeforeAck (0.19s)
|
||||
=== RUN TestPipelineRelayCrashAfterPublishDuplicates
|
||||
2026/11/09 15:13:06 INFO duplicate delivery of finished job: ack without work job_id=7cadd5dd-4407-4954-94f1-6f98ef486540 attachment_id=e695d363-76f9-4271-8351-ec267e7e38b8 version=1
|
||||
--- PASS: TestPipelineRelayCrashAfterPublishDuplicates (0.20s)
|
||||
=== RUN TestPipelineVersionReorderAndStaleJob
|
||||
2026/11/09 15:13:06 INFO duplicate delivery of finished job: ack without work job_id=aef7a9de-888b-4564-b9ca-115205c124c0 attachment_id=e074a46b-5a13-447d-9d30-ce341d39328e version=1
|
||||
--- PASS: TestPipelineVersionReorderAndStaleJob (0.23s)
|
||||
=== RUN TestPipelineLostLeaseFencing
|
||||
--- PASS: TestPipelineLostLeaseFencing (0.62s)
|
||||
=== RUN TestPipelineTransientRetryWithBackoff
|
||||
2026/11/09 15:13:07 WARN attempt failed job_id=2f7db8b4-7645-4ee2-89a3-283fa4bbdaf5 attachment_id=69640927-26c8-429d-8df6-1b8d1ff7747e version=1 attempt=1 code=processing_failed final=false backoff=179.128211ms
|
||||
2026/11/09 15:13:07 INFO early delivery before backoff: ack, outbox will redeliver job_id=2f7db8b4-7645-4ee2-89a3-283fa4bbdaf5 attachment_id=69640927-26c8-429d-8df6-1b8d1ff7747e version=1
|
||||
--- PASS: TestPipelineTransientRetryWithBackoff (0.70s)
|
||||
=== RUN TestPipelinePermanentFailureAndReplay
|
||||
2026/11/09 15:13:07 WARN attempt failed job_id=c7f78be9-bec0-4071-b831-ea9cee524926 attachment_id=31ef119f-9ac0-468d-9bab-b3889f36a50c version=1 attempt=1 code=checksum_mismatch final=true backoff=122.679132ms
|
||||
--- PASS: TestPipelinePermanentFailureAndReplay (0.23s)
|
||||
=== RUN TestPipelineRetryExhausted
|
||||
2026/11/09 15:13:08 WARN attempt failed job_id=76ec00b8-d064-4c14-83ce-ecc692f7c122 attachment_id=e38fd780-4d74-41f2-9e9f-07d849bfecae version=1 attempt=1 code=processing_failed final=false backoff=169.957589ms
|
||||
2026/11/09 15:13:08 WARN attempt failed job_id=76ec00b8-d064-4c14-83ce-ecc692f7c122 attachment_id=e38fd780-4d74-41f2-9e9f-07d849bfecae version=1 attempt=2 code=processing_failed final=false backoff=395.104417ms
|
||||
2026/11/09 15:13:08 WARN attempt failed job_id=76ec00b8-d064-4c14-83ce-ecc692f7c122 attachment_id=e38fd780-4d74-41f2-9e9f-07d849bfecae version=1 attempt=3 code=processing_failed final=true backoff=204.467236ms
|
||||
--- PASS: TestPipelineRetryExhausted (1.55s)
|
||||
PASS
|
||||
ok github.com/charawein/mtusi2026lab5/internal/worker 6.829s
|
||||
@@ -0,0 +1,327 @@
|
||||
{
|
||||
"injected": {
|
||||
"orphan_old": 1,
|
||||
"orphan_fresh": 1,
|
||||
"deleted_objects": 3,
|
||||
"resized_object": 1,
|
||||
"stale_intents": 2,
|
||||
"inflight_intent": 1
|
||||
},
|
||||
"dry_run_found": {
|
||||
"orphan_object": 1,
|
||||
"stale_intent": 2,
|
||||
"missing_object": 3,
|
||||
"size_mismatch": 1
|
||||
},
|
||||
"dry_run_state_changed": false,
|
||||
"apply_found": {
|
||||
"orphan_object": 1,
|
||||
"stale_intent": 2,
|
||||
"missing_object": 3,
|
||||
"size_mismatch": 1
|
||||
},
|
||||
"second_apply_actions": 0,
|
||||
"restored": 1,
|
||||
"after_grace": {
|
||||
"purge_missing": 2,
|
||||
"orphan_object": 1
|
||||
},
|
||||
"never_deleted": [
|
||||
"fresh orphan (until grace)",
|
||||
"in-flight intent",
|
||||
"referenced quarantined row",
|
||||
"healthy rows"
|
||||
],
|
||||
"reports": {
|
||||
"dry_run": {
|
||||
"dry_run": true,
|
||||
"grace_seconds": 8,
|
||||
"cutoff": "2026-11-09T15:14:39.888516Z",
|
||||
"duration_ms": 13,
|
||||
"rows_scanned": 34,
|
||||
"objects_scanned": 32,
|
||||
"consistent": 27,
|
||||
"found": {
|
||||
"missing_object": 3,
|
||||
"orphan_object": 1,
|
||||
"size_mismatch": 1,
|
||||
"stale_intent": 2
|
||||
},
|
||||
"fixed": {},
|
||||
"skipped": {
|
||||
"fresh_intent": 1,
|
||||
"fresh_object": 1
|
||||
},
|
||||
"calls": {
|
||||
"db_haskey": 1,
|
||||
"s3_list_pages": 1,
|
||||
"s3_stat": 3
|
||||
},
|
||||
"heap_alloc_mb": 1.5885543823242188,
|
||||
"wait_ms": {
|
||||
"db_stream": 0,
|
||||
"s3_list": 10
|
||||
},
|
||||
"errors": [],
|
||||
"items": [
|
||||
{
|
||||
"kind": "orphan_object",
|
||||
"key": "a/6eec5843-381a-4c64-9326-6af6e2903da5/5beb6f1f-49c0-4a4c-a311-ac1cdf4b3b5e",
|
||||
"action": "would_delete_object",
|
||||
"detail": "size=5000 modified=2026-11-09T15:14:36Z"
|
||||
},
|
||||
{
|
||||
"kind": "stale_intent",
|
||||
"key": "a/6eec5843-381a-4c64-9326-6af6e2903da5/a8a32b50-8441-4b4e-9063-4764a103caa8",
|
||||
"attachment_id": "a8a32b50-8441-4b4e-9063-4764a103caa8",
|
||||
"action": "would_delete_object_and_intent",
|
||||
"detail": "updated_at=2026-11-09T14:44:36Z"
|
||||
},
|
||||
{
|
||||
"kind": "stale_intent",
|
||||
"key": "a/6eec5843-381a-4c64-9326-6af6e2903da5/c9464366-e6d7-4978-9da9-543477aeb7b6",
|
||||
"attachment_id": "c9464366-e6d7-4978-9da9-543477aeb7b6",
|
||||
"action": "would_delete_intent",
|
||||
"detail": "updated_at=2026-11-09T14:44:37Z"
|
||||
},
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "o/6eec5843-381a-4c64-9326-6af6e2903da5/021fb513-0410-4b13-8390-44b8b853699a",
|
||||
"attachment_id": "021fb513-0410-4b13-8390-44b8b853699a",
|
||||
"action": "would_quarantine"
|
||||
},
|
||||
{
|
||||
"kind": "size_mismatch",
|
||||
"key": "o/6eec5843-381a-4c64-9326-6af6e2903da5/6b861791-d77e-4b28-9e47-b952d412faea",
|
||||
"attachment_id": "6b861791-d77e-4b28-9e47-b952d412faea",
|
||||
"action": "would_quarantine",
|
||||
"detail": "db=21584 s3=777"
|
||||
},
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "o/6eec5843-381a-4c64-9326-6af6e2903da5/b53b858c-6782-4c33-a773-30481aac1354",
|
||||
"attachment_id": "b53b858c-6782-4c33-a773-30481aac1354",
|
||||
"action": "would_quarantine"
|
||||
},
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "o/6eec5843-381a-4c64-9326-6af6e2903da5/d40a2bcb-2243-4a30-8af6-79d07600b3c4",
|
||||
"attachment_id": "d40a2bcb-2243-4a30-8af6-79d07600b3c4",
|
||||
"action": "would_quarantine"
|
||||
}
|
||||
]
|
||||
},
|
||||
"apply": {
|
||||
"dry_run": false,
|
||||
"grace_seconds": 8,
|
||||
"cutoff": "2026-11-09T15:14:40.968289Z",
|
||||
"duration_ms": 21,
|
||||
"rows_scanned": 34,
|
||||
"objects_scanned": 32,
|
||||
"consistent": 27,
|
||||
"found": {
|
||||
"missing_object": 3,
|
||||
"orphan_object": 1,
|
||||
"size_mismatch": 1,
|
||||
"stale_intent": 2
|
||||
},
|
||||
"fixed": {
|
||||
"missing_object": 3,
|
||||
"orphan_object": 1,
|
||||
"size_mismatch": 1,
|
||||
"stale_intent": 2
|
||||
},
|
||||
"skipped": {
|
||||
"fresh_intent": 1,
|
||||
"fresh_object": 1
|
||||
},
|
||||
"calls": {
|
||||
"db_delete": 2,
|
||||
"db_haskey": 1,
|
||||
"db_update": 4,
|
||||
"s3_delete": 2,
|
||||
"s3_list_pages": 1,
|
||||
"s3_stat": 3
|
||||
},
|
||||
"heap_alloc_mb": 1.6164779663085938,
|
||||
"wait_ms": {
|
||||
"db_stream": 0,
|
||||
"s3_list": 9
|
||||
},
|
||||
"errors": [],
|
||||
"items": [
|
||||
{
|
||||
"kind": "orphan_object",
|
||||
"key": "a/6eec5843-381a-4c64-9326-6af6e2903da5/5beb6f1f-49c0-4a4c-a311-ac1cdf4b3b5e",
|
||||
"action": "delete_object",
|
||||
"detail": "size=5000 modified=2026-11-09T15:14:36Z"
|
||||
},
|
||||
{
|
||||
"kind": "stale_intent",
|
||||
"key": "a/6eec5843-381a-4c64-9326-6af6e2903da5/a8a32b50-8441-4b4e-9063-4764a103caa8",
|
||||
"attachment_id": "a8a32b50-8441-4b4e-9063-4764a103caa8",
|
||||
"action": "delete_object_and_intent",
|
||||
"detail": "updated_at=2026-11-09T14:44:36Z"
|
||||
},
|
||||
{
|
||||
"kind": "stale_intent",
|
||||
"key": "a/6eec5843-381a-4c64-9326-6af6e2903da5/c9464366-e6d7-4978-9da9-543477aeb7b6",
|
||||
"attachment_id": "c9464366-e6d7-4978-9da9-543477aeb7b6",
|
||||
"action": "delete_intent",
|
||||
"detail": "updated_at=2026-11-09T14:44:37Z"
|
||||
},
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "o/6eec5843-381a-4c64-9326-6af6e2903da5/021fb513-0410-4b13-8390-44b8b853699a",
|
||||
"attachment_id": "021fb513-0410-4b13-8390-44b8b853699a",
|
||||
"action": "quarantine"
|
||||
},
|
||||
{
|
||||
"kind": "size_mismatch",
|
||||
"key": "o/6eec5843-381a-4c64-9326-6af6e2903da5/6b861791-d77e-4b28-9e47-b952d412faea",
|
||||
"attachment_id": "6b861791-d77e-4b28-9e47-b952d412faea",
|
||||
"action": "quarantine",
|
||||
"detail": "db=21584 s3=777"
|
||||
},
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "o/6eec5843-381a-4c64-9326-6af6e2903da5/b53b858c-6782-4c33-a773-30481aac1354",
|
||||
"attachment_id": "b53b858c-6782-4c33-a773-30481aac1354",
|
||||
"action": "quarantine"
|
||||
},
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "o/6eec5843-381a-4c64-9326-6af6e2903da5/d40a2bcb-2243-4a30-8af6-79d07600b3c4",
|
||||
"attachment_id": "d40a2bcb-2243-4a30-8af6-79d07600b3c4",
|
||||
"action": "quarantine"
|
||||
}
|
||||
]
|
||||
},
|
||||
"second_apply": {
|
||||
"dry_run": false,
|
||||
"grace_seconds": 8,
|
||||
"cutoff": "2026-11-09T15:14:42.325414Z",
|
||||
"duration_ms": 22,
|
||||
"rows_scanned": 32,
|
||||
"objects_scanned": 30,
|
||||
"consistent": 27,
|
||||
"found": {},
|
||||
"fixed": {},
|
||||
"skipped": {
|
||||
"fresh_intent": 1,
|
||||
"fresh_missing": 4,
|
||||
"fresh_object": 1
|
||||
},
|
||||
"calls": {
|
||||
"s3_list_pages": 1
|
||||
},
|
||||
"heap_alloc_mb": 1.4375228881835938,
|
||||
"wait_ms": {
|
||||
"db_stream": 0,
|
||||
"s3_list": 20
|
||||
},
|
||||
"errors": [],
|
||||
"items": []
|
||||
},
|
||||
"restore": {
|
||||
"dry_run": false,
|
||||
"grace_seconds": 8,
|
||||
"cutoff": "2026-11-09T15:14:43.601474Z",
|
||||
"duration_ms": 15,
|
||||
"rows_scanned": 32,
|
||||
"objects_scanned": 31,
|
||||
"consistent": 27,
|
||||
"found": {
|
||||
"restored": 1
|
||||
},
|
||||
"fixed": {
|
||||
"restored": 1
|
||||
},
|
||||
"skipped": {
|
||||
"fresh_intent": 1,
|
||||
"fresh_missing": 3,
|
||||
"fresh_object": 1
|
||||
},
|
||||
"calls": {
|
||||
"db_update": 1,
|
||||
"s3_list_pages": 1
|
||||
},
|
||||
"heap_alloc_mb": 1.5108413696289062,
|
||||
"wait_ms": {
|
||||
"db_stream": 3,
|
||||
"s3_list": 7
|
||||
},
|
||||
"errors": [],
|
||||
"items": [
|
||||
{
|
||||
"kind": "restored",
|
||||
"key": "o/6eec5843-381a-4c64-9326-6af6e2903da5/021fb513-0410-4b13-8390-44b8b853699a",
|
||||
"attachment_id": "021fb513-0410-4b13-8390-44b8b853699a",
|
||||
"action": "set_ready"
|
||||
}
|
||||
]
|
||||
},
|
||||
"after_grace": {
|
||||
"dry_run": false,
|
||||
"grace_seconds": 8,
|
||||
"cutoff": "2026-11-09T15:14:53.061655Z",
|
||||
"duration_ms": 22,
|
||||
"rows_scanned": 32,
|
||||
"objects_scanned": 31,
|
||||
"consistent": 28,
|
||||
"found": {
|
||||
"orphan_object": 1,
|
||||
"purge_missing": 2,
|
||||
"stale_intent": 1
|
||||
},
|
||||
"fixed": {
|
||||
"orphan_object": 1,
|
||||
"purge_missing": 2,
|
||||
"stale_intent": 1
|
||||
},
|
||||
"skipped": {
|
||||
"referenced_missing_kept": 1
|
||||
},
|
||||
"calls": {
|
||||
"db_delete": 3,
|
||||
"db_haskey": 1,
|
||||
"db_referenced": 3,
|
||||
"s3_delete": 2,
|
||||
"s3_list_pages": 1
|
||||
},
|
||||
"heap_alloc_mb": 1.580108642578125,
|
||||
"wait_ms": {
|
||||
"db_stream": 1,
|
||||
"s3_list": 9
|
||||
},
|
||||
"errors": [],
|
||||
"items": [
|
||||
{
|
||||
"kind": "orphan_object",
|
||||
"key": "a/6eec5843-381a-4c64-9326-6af6e2903da5/1686dbee-6d75-4a67-b324-e695a2a6cf12",
|
||||
"action": "delete_object",
|
||||
"detail": "size=3000 modified=2026-11-09T15:14:46Z"
|
||||
},
|
||||
{
|
||||
"kind": "stale_intent",
|
||||
"key": "a/6eec5843-381a-4c64-9326-6af6e2903da5/e7243526-a98a-4d95-bceb-4f686ed7eabf",
|
||||
"attachment_id": "e7243526-a98a-4d95-bceb-4f686ed7eabf",
|
||||
"action": "delete_object_and_intent",
|
||||
"detail": "updated_at=2026-11-09T15:14:46Z"
|
||||
},
|
||||
{
|
||||
"kind": "purge_missing",
|
||||
"key": "o/6eec5843-381a-4c64-9326-6af6e2903da5/6b861791-d77e-4b28-9e47-b952d412faea",
|
||||
"attachment_id": "6b861791-d77e-4b28-9e47-b952d412faea",
|
||||
"action": "delete_row"
|
||||
},
|
||||
{
|
||||
"kind": "purge_missing",
|
||||
"key": "o/6eec5843-381a-4c64-9326-6af6e2903da5/b53b858c-6782-4c33-a773-30481aac1354",
|
||||
"attachment_id": "b53b858c-6782-4c33-a773-30481aac1354",
|
||||
"action": "delete_row"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"scenario": "versions",
|
||||
"result": {
|
||||
"attachment_id": "e38fdc85-0525-4f1d-b045-343c4749286b",
|
||||
"v1_thumbnail_sha": "4462c506c73f692d1a8da1f5a5d217bf29e7c7af0fe19f2c03a021055c8751fe",
|
||||
"v2_thumbnail_sha": "254bbafb2e117b40b37de23cd9fd6f3da12eff9a4e07e143c199e4c33b3fa30d",
|
||||
"after_stale_v1_and_dup_v2": "254bbafb2e117b40b37de23cd9fd6f3da12eff9a4e07e143c199e4c33b3fa30d",
|
||||
"published_version": 2,
|
||||
"jobs": {
|
||||
"v1": {
|
||||
"state": "done",
|
||||
"attempt": 1,
|
||||
"events": "enqueued,claimed,done"
|
||||
},
|
||||
"v2": {
|
||||
"state": "done",
|
||||
"attempt": 1,
|
||||
"events": "enqueued,claimed,done"
|
||||
}
|
||||
},
|
||||
"invariants": {
|
||||
"status": "ready",
|
||||
"published_version": 2,
|
||||
"objects_per_version": {
|
||||
"1": 3,
|
||||
"2": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
=== RUN TestOptimizedWebP
|
||||
--- PASS: TestOptimizedWebP (0.39s)
|
||||
PASS
|
||||
ok github.com/charawein/mtusi2026lab5/internal/imaging 0.401s
|
||||
Reference in New Issue
Block a user