Files
mtusi2026lab4/evidence/reconcile/demo.json
T
ArtyomandClaude Opus 5.5 d2e684f0cf Record the track 2 demo and the cost of a pass up to 100k
The demo on a clean stand (61dcb6b) passes 13 of 13 checks: the dry-run
finds exactly the injected ids in every class, apply writes one
audit.attachment_discarded reason=reconcile per stale intent, the
original bytes leave the quarantine while random bytes of the same
length keep it, docker stop ends a pass hanging on a paused S3 in
0.11 s with exit code 143, and 74 passes during 3454 uploads lose no
ready attachment; 46 times the HEAD recheck kept an in-flight upload
out of the quarantine.

The cost matrix now reaches 100k: a shallow pass takes 0.108 / 1.032 /
3.761 / 20.211 s for 1k / 10k / 30k / 100k with ceil(N/1000) listings
and SQL pages and the same 87-88 MiB of RSS. t(100k)/t(10k) is 19.6,
outside the preregistered 10 +- 30 %, because a RustFS listing page
costs 91 ms at 1k and 197 ms at 100k objects in the prefix; the
reconciler's own CPU and SQL stay linear. The previous 30k series moves
to cost-b191623/, and the old after-checks give way to the full series
that follows the track.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2026-10-30 09:54:29 +03:00

245 lines
7.1 KiB
JSON

{
"started_at": "2026-10-30T06:09:31Z",
"commit": "61dcb6b",
"faults": {
"injected": {
"orphan_stale": [
"aeebb4d7-95f8-4ebd-ac86-1031bc42e469",
"57198272-dd0d-46d6-97f0-e68295a5e65e",
"fc854d9e-6be4-4b3a-a676-d2dcf9be5993"
],
"missing": [
"01a18b6d-7fc2-73ac-839f-0107ae03f9a6",
"01a18b6d-7f6a-7296-81fd-fb883beb9b39",
"01a18b6d-7f51-7100-9ff4-889e89caccd9"
],
"size_mismatch": [
"01a18b6d-7f95-7491-92e4-8ecd4a5edd55",
"01a18b6d-7fd4-77f4-98c3-ebe387a28aea",
"01a18b6d-7fcb-759d-913d-211ccaa962ad"
],
"sha_mismatch": [
"01a18b6d-7fe5-7056-a2f5-7cdf0aa614f1",
"01a18b6d-7fa5-75f1-accf-49b1e660d865",
"01a18b6d-7fdc-74b5-85bf-4a96931cd5d5"
],
"pending_stale": [
"4fe15617-cab8-469d-a25e-34a981e7c4c5",
"2a195d07-ad0a-415c-9d36-f1a6d367c616",
"6678cf2a-8292-4943-8955-75d7df8f9307",
"32651f33-918e-4dff-a137-f0b4196286a1",
"8ec129d3-3721-4449-af97-4355cc19dd80",
"42fba42a-d020-4f89-aad3-e9e21840d25b"
],
"orphan_fresh": [
"4b21266b-8dfc-4c67-9ffc-11575d794795",
"fa6c3d18-8e06-4b14-8a7d-acd5e1671890"
],
"pending_fresh": [
"80259edc-7cb8-4181-9878-f642a2b34d71",
"a3e9efb4-3de5-43a8-8d18-296bf48cc4f8"
]
},
"targets": {
"missing": [
"01a18b6d-7f51-7100-9ff4-889e89caccd9",
"01a18b6d-7f6a-7296-81fd-fb883beb9b39",
"01a18b6d-7fc2-73ac-839f-0107ae03f9a6"
],
"corrupt": [
"01a18b6d-7f95-7491-92e4-8ecd4a5edd55",
"01a18b6d-7fcb-759d-913d-211ccaa962ad",
"01a18b6d-7fd4-77f4-98c3-ebe387a28aea"
],
"bitflip": [
"01a18b6d-7fa5-75f1-accf-49b1e660d865",
"01a18b6d-7fdc-74b5-85bf-4a96931cd5d5",
"01a18b6d-7fe5-7056-a2f5-7cdf0aa614f1"
]
},
"linked": [
"01a18b6d-7f51-7100-9ff4-889e89caccd9",
"01a18b6d-7f6a-7296-81fd-fb883beb9b39",
"01a18b6d-7f95-7491-92e4-8ecd4a5edd55",
"01a18b6d-7fa5-75f1-accf-49b1e660d865",
"01a18b6d-7faf-755c-8611-45ce0959e2d8",
"01a18b6d-7fb8-736c-82d1-6b8705f0d8d5"
]
},
"seconds": 257.9,
"checks": [
{
"name": "dry-run находит каждый внедрённый класс, и найдено ровно внедрённое",
"ok": true,
"expected": {
"orphan_stale": 3,
"missing": 3,
"size_mismatch": 3,
"sha_mismatch": 3,
"pending_stale": 6,
"orphan_fresh": 2,
"pending_fresh": 2,
"quarantined": 0
},
"found": {
"orphan_stale": 3,
"orphan_fresh": 2,
"missing": 3,
"size_mismatch": 3,
"sha_mismatch": 3,
"pending_stale": 6,
"pending_fresh": 2,
"quarantined": 0,
"healed": 0
}
},
{
"name": "dry-run ничего не меняет",
"ok": true,
"objects": [
24,
24
],
"rows": [
27,
27
]
},
{
"name": "apply исправляет ровно найденное dry-run, удаление намерений — в журнале аудита",
"ok": true,
"dry_run": {
"orphan_stale": 3,
"missing": 3,
"size_mismatch": 3,
"sha_mismatch": 3,
"pending_stale": 6
},
"fixed": {
"orphan_stale": 3,
"missing": 3,
"size_mismatch": 3,
"sha_mismatch": 3,
"pending_stale": 6
},
"audit_discarded": 6
},
{
"name": "повторный apply — 0 действий",
"ok": true,
"fixed": {
"orphan_stale": 0,
"missing": 0,
"size_mismatch": 0,
"sha_mismatch": 0,
"pending_stale": 0,
"healed": 0
},
"found": {
"orphan_stale": 0,
"orphan_fresh": 2,
"missing": 0,
"size_mismatch": 0,
"sha_mismatch": 0,
"pending_stale": 0,
"pending_fresh": 2,
"quarantined": 9,
"healed": 0
}
},
{
"name": "независимая проверка после apply: нарушений нет, готовые не потеряны",
"ok": true,
"counts": {
"orphan_stale": 0,
"orphan_fresh": 2,
"missing_referenced": 0,
"missing_unreferenced": 0,
"size_mismatch": 0,
"sha_mismatch": 0,
"pending_stale_with_object": 0,
"pending_stale_without_object": 0,
"pending_fresh": 2,
"quarantined": 9,
"incomplete_stale": 0,
"incomplete_fresh": 0,
"lost_ready": 0
}
},
{
"name": "строки с расхождениями и ссылки сообщений сохранены",
"ok": true,
"quarantine": {
"01a18b6d-7f51-7100-9ff4-889e89caccd9": "missing",
"01a18b6d-7f6a-7296-81fd-fb883beb9b39": "missing",
"01a18b6d-7f95-7491-92e4-8ecd4a5edd55": "size_mismatch",
"01a18b6d-7fa5-75f1-accf-49b1e660d865": "sha_mismatch",
"01a18b6d-7fc2-73ac-839f-0107ae03f9a6": "missing",
"01a18b6d-7fcb-759d-913d-211ccaa962ad": "size_mismatch",
"01a18b6d-7fd4-77f4-98c3-ebe387a28aea": "size_mismatch",
"01a18b6d-7fdc-74b5-85bf-4a96931cd5d5": "sha_mismatch",
"01a18b6d-7fe5-7056-a2f5-7cdf0aa614f1": "sha_mismatch"
},
"message_links": 6
},
{
"name": "карантин: метаданные 200, /content 404; нетронутое скачивается",
"ok": true
},
{
"name": "вернули те же байты — карантин снят; другие байты той же длины — остался",
"ok": true,
"fixed": {
"orphan_stale": 0,
"missing": 0,
"size_mismatch": 0,
"sha_mismatch": 0,
"pending_stale": 0,
"healed": 1
},
"s3_get": 5
},
{
"name": "второй одновременный проход пропущен",
"ok": true
},
{
"name": "SIGTERM: идущий проход останавливается за секунды, блокировка освобождена",
"ok": true,
"s3": "paused",
"state_before_stop": "running",
"init": "true",
"stop_seconds": 0.11,
"exit_code": 143,
"next_pass_skipped": false
},
{
"name": "S3 остановлен: код 1 за ограниченное время, состояние не изменилось",
"ok": true,
"exit_code": 1,
"wall_seconds": 2.802
},
{
"name": "под нагрузкой: исправлены только внедрённые, ошибок нет",
"ok": true,
"fixed": {
"orphan_stale": 5,
"missing": 0,
"size_mismatch": 0,
"sha_mismatch": 0,
"pending_stale": 5
},
"runs": 74
},
{
"name": "под нагрузкой: все 201 готовы и совпадают по SHA-256, потерь 0",
"ok": true,
"uploads": {
"201": 3454
},
"lost_ready": 0
}
],
"ok": true
}