docs: report reconcile cost results and evidence
Add the baseline label results to REPORT.md: H1, H2, H3 and S4 confirmed, H4 not verified (the fast-unlimited contrast did not saturate S3, r 1.08). Keep 2000 objects/s as a bound on the S3 share and give head/deep limits by S3 CPU per object. Refresh failure_checks (54/54, red run of task 1.3), test_isolated and the pace stop evidence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
- Спек `student-tests`: «Прогон на временной базе» (уборка префикса
|
||||
`test_<db>/`, «Хвост прошлого прогона», «Сохранить базу для разбора»).
|
||||
Design change `s3-storage`, решение 9 и «Уточнения apply», п. 11.
|
||||
- Раздел 0 — пересъёмка после change `fix-upload-put-flake` (зелёная).
|
||||
- Раздел 0 — пересъёмка после change `track2-reconcile-cost` (зелёная).
|
||||
Разделы 1–3 сняты на `f57635a` (change `s3-storage`): механизм уборки с
|
||||
тех пор не менялся (`student-tests/run_isolated.py`), а красное в них —
|
||||
ожидаемое до `attachments`, как сказано ниже. Прежние снимки раздела
|
||||
@@ -13,9 +13,61 @@
|
||||
/ 36; `ce1ae2c` (change `upload-memory`) — 193 passed, 5 skipped, 37
|
||||
deselected, сверка 227 / 210 / 45 / 17; `c1648d9` (change
|
||||
`track2-reconciler`) — 193 passed, 5 skipped, 45 deselected, сверка
|
||||
240 / 223 / 58 / 17.
|
||||
240 / 223 / 58 / 17; `723b6c3` (change `fix-upload-put-flake`) — 193
|
||||
passed, 5 skipped, 49 deselected, сверка 244 / 227 / 62 / 17.
|
||||
|
||||
## 0. Пересъёмка: код 0 (change `fix-upload-put-flake`)
|
||||
## 0. Пересъёмка: код 0 (change `track2-reconcile-cost`)
|
||||
|
||||
- Дата: 2026-10-23, 16:10:04–16:11:55 UTC.
|
||||
- Commit: `0072dbe`, рабочее дерево — только evidence и документы этой
|
||||
задачи, вне кода (`src`, `student-tests`, `Dockerfile` не менялись).
|
||||
Код приложения — `8d4cf7e`.
|
||||
- Что изменилось с `723b6c3`:
|
||||
- пять новых проверок отказов сверки и 6 сценариев спеков, покрытых
|
||||
проверками отказов (`deselected` 54 вместо 49, сверка 250 / 233 /
|
||||
68 / 17);
|
||||
- тестов вне `fault` столько же — 193 и 5 пропусков,
|
||||
`test_exclusion_evidence_exists` зелёный.
|
||||
- Стенд: рабочий `mtusi-lab4` на образе этого кода (сборка из кэша; `make run_docker
|
||||
APP_OUT_PORT=8090`: реплики `api-27`, `api-28`, уборщик), в остальном
|
||||
— как в снимке ниже.
|
||||
|
||||
```
|
||||
$ make test_isolated
|
||||
[test_isolated] database=test_messenger objects=/buckets/messenger/test_messenger/ container=mtusi-lab4-test-api base_url=http://127.0.0.1:18088
|
||||
[test_isolated] remove objects /buckets/messenger/test_messenger/
|
||||
[test_isolated] build image
|
||||
[test_isolated] create database test_messenger
|
||||
[test_isolated] migrations
|
||||
[test_isolated] start api container
|
||||
[test_isolated] ready
|
||||
[test_isolated] make test
|
||||
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
|
||||
[test_isolated] make student_test
|
||||
coverage: 250 scenarios in 13 specs, 233 tested (68 by make failure_checks), 17 excluded
|
||||
SKIPPED [1] student-tests/test_attachments.py:701: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
|
||||
SKIPPED [1] student-tests/test_idempotency.py:372: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
|
||||
SKIPPED [1] student-tests/test_load_balancing.py:18: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
|
||||
SKIPPED [1] student-tests/test_load_balancing.py:34: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
|
||||
SKIPPED [1] student-tests/test_race.py:169: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
|
||||
=========== 193 passed, 5 skipped, 54 deselected in 98.15s (0:01:38) ===========
|
||||
[test_isolated] cleanup
|
||||
[test_isolated] remove objects /buckets/messenger/test_messenger/
|
||||
[test_isolated] results: {'test': 0, 'student_test': 0}
|
||||
exit=0
|
||||
$ printf 'fs.ls /buckets/messenger/test_messenger\n' | docker compose exec -T s3 sh -c "exec weed shell -master=127.0.0.1:9333 2>&1" | wc -l
|
||||
0
|
||||
$ psql … -d postgres -tAc "SELECT count(*) FROM pg_database WHERE datname = 'test_messenger'"
|
||||
0
|
||||
$ docker ps -a --filter name=mtusi-lab4-test-api -q | wc -l
|
||||
0
|
||||
```
|
||||
|
||||
Вывод отфильтрован: строки `Container …` compose, сборка образа и
|
||||
построчный список pytest опущены. Префикс `test_messenger/` пуст,
|
||||
временной базы и контейнера нет.
|
||||
|
||||
## Прежний снимок: `723b6c3`, код 0 (change `fix-upload-put-flake`)
|
||||
|
||||
- Дата: 2026-10-22, 23:15:18–23:17:11 UTC.
|
||||
- Commit: `723b6c3`, рабочее дерево чистое (до записи этого файла). Код
|
||||
|
||||
Reference in New Issue
Block a user