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.
426 lines
8.8 KiB
JSON
426 lines
8.8 KiB
JSON
[
|
|
{
|
|
"name": "duplicate",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 32.0,
|
|
"attachment_id": "5935c541-99c8-4870-ac4c-0b56fa0d1695",
|
|
"job_attempts": [
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "5 duplicate deliveries were absorbed by the DB fence"
|
|
},
|
|
{
|
|
"name": "duplicate",
|
|
"repeat": 2,
|
|
"passed": true,
|
|
"duration_s": 29.828,
|
|
"attachment_id": "479b209f-da35-4f5f-9f63-e69687219640",
|
|
"job_attempts": [
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "5 duplicate deliveries were absorbed by the DB fence"
|
|
},
|
|
{
|
|
"name": "duplicate",
|
|
"repeat": 3,
|
|
"passed": true,
|
|
"duration_s": 31.497,
|
|
"attachment_id": "ae5a273e-46b5-47b5-8b95-31bcba873522",
|
|
"job_attempts": [
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "5 duplicate deliveries were absorbed by the DB fence"
|
|
},
|
|
{
|
|
"name": "reorder",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 74.003,
|
|
"attachment_id": "e6cb0d4f-d3b8-4cad-be1d-0b082f772d32",
|
|
"job_attempts": [
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "attempt 99 and a duplicate attempt 1 were acked as skips"
|
|
},
|
|
{
|
|
"name": "reorder",
|
|
"repeat": 2,
|
|
"passed": true,
|
|
"duration_s": 81.88,
|
|
"attachment_id": "b8e17ee2-316c-4d47-852a-eb954438e951",
|
|
"job_attempts": [
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "attempt 99 and a duplicate attempt 1 were acked as skips"
|
|
},
|
|
{
|
|
"name": "reorder",
|
|
"repeat": 3,
|
|
"passed": true,
|
|
"duration_s": 76.46,
|
|
"attachment_id": "3ecaef19-fca6-468e-ad6c-b6ec89f16fd2",
|
|
"job_attempts": [
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "attempt 99 and a duplicate attempt 1 were acked as skips"
|
|
},
|
|
{
|
|
"name": "crash_before_side_effect",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 84.929,
|
|
"attachment_id": "f796e4ef-e4f7-4980-9969-2d7af7f8173f",
|
|
"job_attempts": [
|
|
2
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "crashed at worker.before_side_effect"
|
|
},
|
|
{
|
|
"name": "crash_before_side_effect",
|
|
"repeat": 2,
|
|
"passed": true,
|
|
"duration_s": 82.228,
|
|
"attachment_id": "dff97faf-a729-4c82-ac96-8580aff44606",
|
|
"job_attempts": [
|
|
2
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "crashed at worker.before_side_effect"
|
|
},
|
|
{
|
|
"name": "crash_before_side_effect",
|
|
"repeat": 3,
|
|
"passed": true,
|
|
"duration_s": 82.816,
|
|
"attachment_id": "2f187d8a-3d12-4f9e-af10-b94ad87bca31",
|
|
"job_attempts": [
|
|
2
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "crashed at worker.before_side_effect"
|
|
},
|
|
{
|
|
"name": "crash_after_side_effect",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 83.342,
|
|
"attachment_id": "20a45ae3-6f74-4547-bb76-f44c0c35fdd5",
|
|
"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_side_effect",
|
|
"repeat": 2,
|
|
"passed": true,
|
|
"duration_s": 82.109,
|
|
"attachment_id": "42b41254-417d-41a8-b8ea-5836dc4dbcff",
|
|
"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_side_effect",
|
|
"repeat": 3,
|
|
"passed": true,
|
|
"duration_s": 81.735,
|
|
"attachment_id": "beaad33b-5f44-452c-bf4e-d2577b248cfb",
|
|
"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": 74.213,
|
|
"attachment_id": "c01dd235-7257-48f4-85c2-d6025d85a09e",
|
|
"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": "crash_after_commit_before_ack",
|
|
"repeat": 2,
|
|
"passed": true,
|
|
"duration_s": 70.885,
|
|
"attachment_id": "d165ea80-ed1c-4d96-9246-0c637a19b191",
|
|
"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": "crash_after_commit_before_ack",
|
|
"repeat": 3,
|
|
"passed": true,
|
|
"duration_s": 74.808,
|
|
"attachment_id": "15414a8c-0230-40be-97b4-8bcbee990147",
|
|
"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": "relay_crash_after_publish",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 84.973,
|
|
"attachment_id": "cbc4a105-9966-4ff4-906e-f8cafbb4c58b",
|
|
"job_attempts": [
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "relay republished the same message; duplicate absorbed"
|
|
},
|
|
{
|
|
"name": "relay_crash_after_publish",
|
|
"repeat": 2,
|
|
"passed": true,
|
|
"duration_s": 83.561,
|
|
"attachment_id": "8607c972-a90b-45d4-b5ce-05ba3f201b31",
|
|
"job_attempts": [
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "relay republished the same message; duplicate absorbed"
|
|
},
|
|
{
|
|
"name": "relay_crash_after_publish",
|
|
"repeat": 3,
|
|
"passed": true,
|
|
"duration_s": 83.425,
|
|
"attachment_id": "7119cbcd-cc68-4b5d-ae94-3ac9b2cd9869",
|
|
"job_attempts": [
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "relay republished the same message; duplicate absorbed"
|
|
},
|
|
{
|
|
"name": "stale_version",
|
|
"repeat": 1,
|
|
"passed": true,
|
|
"duration_s": 89.723,
|
|
"attachment_id": "495ff6af-c20d-485e-9294-fa0fe835d9df",
|
|
"job_attempts": [
|
|
1,
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "v1 finished after v2 and was recorded as superseded"
|
|
},
|
|
{
|
|
"name": "stale_version",
|
|
"repeat": 2,
|
|
"passed": true,
|
|
"duration_s": 90.277,
|
|
"attachment_id": "d1a7eb56-5b9d-4631-b61e-45e642c9c247",
|
|
"job_attempts": [
|
|
1,
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "v1 finished after v2 and was recorded as superseded"
|
|
},
|
|
{
|
|
"name": "stale_version",
|
|
"repeat": 3,
|
|
"passed": true,
|
|
"duration_s": 86.614,
|
|
"attachment_id": "4f3f0abe-86b0-43bb-a49e-8a9dd93015b4",
|
|
"job_attempts": [
|
|
1,
|
|
1
|
|
],
|
|
"events_summary": {},
|
|
"invariants": {
|
|
"I1": true,
|
|
"I2": true,
|
|
"I3": true,
|
|
"I4": true,
|
|
"I5": true,
|
|
"I6": true
|
|
},
|
|
"notes": "v1 finished after v2 and was recorded as superseded"
|
|
}
|
|
]
|