The level 3 and 4 evidence was taken on24f9d61anda774a2f, before the lab 3 fixes were carried over and before the reconciler. Take all of it again in one series on81dd816, whose application and stand code is the final one: a fresh clone runs the launch block of the report from secrets to reset-data, then one stand from clean volumes gives the smoke, stack, limits, lb-check, failover of each replica and of the upload replica, persistence, S3 outage, S3 privacy, lost-answer retry, upload faults, all stack checks, storage layout and three runs of the upload memory matrix. The three memory runs keep the peak with three slots at 297-345 MiB against 512 MiB at the limit without them, but at 40 uploads of 10 MiB the wait for a slot nears the 8 s request timeout and one run of three gave 7 of 80 a 503. Those timeouts left 67 invisible intents; the record shows the reconciler seeing them as fresh and the sweep removing all of them after the grace period. Message write load is taken with tests/load.py from a container on the edge network: 2 106 RPS, no errors, replicas and PostgreSQL at their CPU limits. The first try from the macOS host is kept as a discarded attempt, it ran out of ephemeral ports while the replicas answered every request. The report gets the defense answers, the load section, the evidence commits, the upload limit order as the pipeline applies it, medians in the track 2 cost table and the proposals over the word limit; the evidence index lists every file with its command and commit. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
62 lines
3.2 KiB
Plaintext
62 lines
3.2 KiB
Plaintext
date: 2026-10-30T04:30:24Z commit: 81dd816 BASE_URL=http://127.0.0.1:18084
|
||
============================= test session starts ==============================
|
||
collecting ... collected 5 items
|
||
|
||
student-tests/stack/test_attachment_faults.py::test_user_errors_never_become_500 10 MiB + 1 с Content-Length, тело не отправлено: 413
|
||
10 MiB + 1 chunked: 413
|
||
PNG 100000×100000 (бомба): 413
|
||
PNG 8001×5000: 413
|
||
обрезанный PNG: 415
|
||
обрезанный JPEG: 415
|
||
JPEG как image/png: 415
|
||
GIF как image/png: 415
|
||
WebP как image/png: 415
|
||
текст как image/png: 415
|
||
PNG как image/jpeg: 415
|
||
пустое тело: 415
|
||
application/octet-stream: 415
|
||
без Content-Type: 415
|
||
filename='../a.png': 400
|
||
filename='a/b.png': 400
|
||
filename='a\\b.png': 400
|
||
filename='a\x00.png': 400
|
||
filename='a\x01.png': 400
|
||
filename='a\x7f.png': 400
|
||
filename='': 400
|
||
filename=' ': 400
|
||
filename='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: 400
|
||
filename=None: 400
|
||
посторонний: upload в чужой чат: 404
|
||
посторонний: метаданные: 404
|
||
посторонний: /content: 404
|
||
посторонний: ссылка на чужое вложение: 404
|
||
вложение другого чата: 404
|
||
неизвестное вложение: 404
|
||
11 вложений: 400
|
||
повтор вложения: 400
|
||
невалидный UUID: 400
|
||
пустой текст без вложений: 400
|
||
невалидный id вложения: 400
|
||
variant=thumbnail: 400
|
||
строк вложений в чате: 2 (= ответов 201); ответов в журнале реплик: 54, из них 5xx: 0
|
||
PASSED
|
||
student-tests/stack/test_attachment_faults.py::test_commit_failure_is_compensated_at_once отказ COMMIT после записи объекта: 503 unavailable
|
||
сразу после ответа: строка нет, объект HEAD 404
|
||
журнал: audit.attachment_discarded reason=compensation
|
||
PASSED
|
||
student-tests/stack/test_attachment_faults.py::test_crash_between_put_and_commit_is_swept_after_grace реплика 0cc3ee358e59 убита между PUT и COMMIT, клиент получил 502
|
||
реплика 899a952a5a21 убита между PUT и COMMIT, клиент получил 502
|
||
остаток после падения: строка pending, объект HEAD 200
|
||
остаток после падения: строка pending, объект HEAD 200
|
||
старше grace: строка убрана через 24.7 с, объект HEAD 404
|
||
моложе grace: строка pending, объект HEAD 200
|
||
тот же после сдвига: убран через 1.0 с, объект HEAD 404
|
||
готовое вложение в сообщении со сдвинутым created_at скачивается, SHA-256 совпадает
|
||
PASSED
|
||
student-tests/stack/test_attachment_faults.py::test_aborted_upload_leaves_nothing обрыв после 256 KiB из 5 MiB: статус в журнале реплики [400], намерение None
|
||
PASSED
|
||
student-tests/stack/test_attachment_faults.py::test_stalled_upload_is_cut_and_leaves_nothing тело зависло после 1 KiB: 503 unavailable за 8.01 с
|
||
PASSED
|
||
|
||
============================== 5 passed in 45.92s ==============================
|