forked from mtusi2026/mtusi2026lab6
Перенесено дерево lab5 целиком: NestJS-приложение (API + worker,
RabbitMQ, outbox, S3), Dockerfile, compose.yaml, infra/{haproxy,minio,
rabbitmq}, стендовые скрипты, scripts/lab4, scripts/lab5,
evidence/lab4, evidence/lab5 и contracts/extensions.openapi.json.
Задание lab6 оставлено своим: README, REPORT, COURSE, lab.json,
contracts/{openapi,infrastructure,jobs.schema,attachment-states,
examples,observability}, tests, compose.example.yaml, infra/otel,
.github/pull_request_template.md.
Адаптации при переносе:
- docker-проект mtusi-lab5 -> mtusi-lab6 и тег образа
mtusi-messenger:lab6 (compose.yaml, scripts/stop-one.sh, .env.example,
infra/README.md), чтобы тома и контейнеры не пересекались с lab5;
- Makefile: цели lab5 сохранены целиком (skeleton lab6 не отличается
от skeleton lab5);
- .env.example: переменные приложения и стенда lab5 + блок lab6
(OTEL_*) из skeleton.
139 lines
2.9 KiB
JSON
139 lines
2.9 KiB
JSON
[
|
|
{
|
|
"name": "crash_after_commit_before_publish",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 29.638,
|
|
"attachment_id": "9c6d6896-0f76-4d4b-aa37-02b175a40fdc",
|
|
"job_attempts": [
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "outbox relay published the committed job after API restart"
|
|
},
|
|
{
|
|
"name": "crash_after_side_effect",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 82.618,
|
|
"attachment_id": "5fb2f6c6-b84d-46b3-ad91-18358faec586",
|
|
"job_attempts": [
|
|
2
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "crashed at worker.after_side_effect"
|
|
},
|
|
{
|
|
"name": "crash_after_commit_before_ack",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 80.048,
|
|
"attachment_id": "168fb65f-2965-464a-a197-e62af48b25a8",
|
|
"job_attempts": [
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "crashed at worker.after_commit_before_ack"
|
|
},
|
|
{
|
|
"name": "retry_and_replay",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 84.119,
|
|
"attachment_id": "98f19c5e-42f2-4ba5-b74f-3fb1831be1ad",
|
|
"job_attempts": [
|
|
6
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "transient injected fault exhausted retries; replay recovered"
|
|
},
|
|
{
|
|
"name": "hung_worker",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 88.126,
|
|
"attachment_id": "00a3eef9-5176-4848-b114-124291f68413",
|
|
"job_attempts": [
|
|
2
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "hard timeout aborted the hung render and retried"
|
|
},
|
|
{
|
|
"name": "poison",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 36.723,
|
|
"attachment_id": null,
|
|
"job_attempts": [],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "malformed messages moved to the DLQ without touching jobs"
|
|
},
|
|
{
|
|
"name": "big_image",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 34.708,
|
|
"attachment_id": "de5c5405-96d3-40c5-b1c6-6b40f34d7235",
|
|
"job_attempts": [],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "peak worker memory: 992.2 MiB / 1280 MiB"
|
|
}
|
|
]
|