[SMOKE] ignore internal containers in down count
This commit is contained in:
1 parent
7b98ba3dd7
commit
690ebe3376
4 files changed
+92
-1
No files matched your search
@@ -0,0 +1,50 @@
|
||||
# T14 — Fitness ledger v2 (Stage 2 re-run)
|
||||
|
||||
Дата: 2026-12-02 20:45 MSK
|
||||
Статус: **blocked**, S4 остаётся.
|
||||
|
||||
## Прогон
|
||||
|
||||
```text
|
||||
pytest tests/test_idempotency.py tests/test_adapter_contract.py
|
||||
4 passed in 0.95s
|
||||
|
||||
gate_g2.py:
|
||||
{"duplicate_messages":100,"processed_events":1,"inbox":1,"effects":1,
|
||||
"one_effect":true,"loss_pending_before":"pending","loss_published_after":"published",
|
||||
"relayed":1,"loss_processed":1,"loss_effects":1,"recovered":true}
|
||||
```
|
||||
|
||||
## Обновление
|
||||
|
||||
```text
|
||||
FIT-03 duplicate event → pass (100→1)
|
||||
FIT-04 lost response → pass (loss recovered)
|
||||
FIT-05 outbox recovery → pass (pending→published, effect=1)
|
||||
FIT-16 contract compatibility → pass (adapter tests)
|
||||
```
|
||||
|
||||
## Итог
|
||||
|
||||
```text
|
||||
green: 7/18
|
||||
blocking red: 7
|
||||
S4: новые стадии/сервисы запрещены
|
||||
```
|
||||
|
||||
Осталось blocking:
|
||||
|
||||
```text
|
||||
FIT-02 media without Hub
|
||||
FIT-06 projection rebuild
|
||||
FIT-07 entity unmerge
|
||||
FIT-09 lease expiry/fencing
|
||||
FIT-12 expired approval
|
||||
FIT-17 private facets
|
||||
FIT-18 cancel/partial failure
|
||||
```
|
||||
|
||||
## Замечание
|
||||
|
||||
`gate_g2` один раз получил `ConnectionRefusedError 192.168.1.115:4222`, затем успешно завершил proof.
|
||||
NATS живой, но старт/ретрай нестабилен — отдельный сигнал.
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"task_id": "T14",
|
||||
"status": "blocked",
|
||||
"facts": [
|
||||
{"source": "pytest ops/events/tests", "value": "4 passed in 0.95s", "observed_at": "2026-12-02T20:45:00+03:00"},
|
||||
{"source": "gate_g2.py", "value": "one_effect=true recovered=true relayed=1", "observed_at": "2026-12-02T20:45:00+03:00"},
|
||||
{"source": "gate_g2 stderr", "value": "one transient ConnectionRefusedError 192.168.1.115:4222, then success", "observed_at": "2026-12-02T20:45:00+03:00"}
|
||||
],
|
||||
"hypotheses": [
|
||||
{"claim": "FIT-03/04/05 now pass", "why_unverified": "test suite passed; normal", "how_to_verify": "CI fixture repeat"},
|
||||
{"claim": "FIT-06 projection rebuild still absent", "why_unverified": "no test run", "how_to_verify": "projection test"}
|
||||
],
|
||||
"actions": [
|
||||
{"action": "install test deps psycopg2-binary pytest nats-py in work venv", "reversibility": "RR", "approval": "T14", "result": "done"},
|
||||
{"action": "run Stage 2 tests", "reversibility": "R", "approval": "T14", "result": "4 passed + gate recovered"}
|
||||
],
|
||||
"artifacts": [
|
||||
"docs/architecture/evidence/T14/T14-fitness-ledger-v2.md",
|
||||
"docs/architecture/evidence/T14/T14-report-v2.json",
|
||||
"docs/architecture/evidence/T14/stage2-tests.txt"
|
||||
],
|
||||
"acceptance_check": [
|
||||
{"criterion": "all 18 listed with owner/date", "met": true, "proof": "ledger v1/v2"},
|
||||
{"criterion": ">=12/18 green", "met": false, "proof": "7/18"},
|
||||
{"criterion": "blocking red <=2", "met": false, "proof": "7 blocking red -> S4"}
|
||||
],
|
||||
"metrics_delta": {"fitness_green": {"before": 4, "after": 7}, "blocking_red": {"before": 9, "after": 7}},
|
||||
"decision": "FIT-03/04/05 pass; S4 remains until blocking red <=2.",
|
||||
"next": "Run projection rebuild/lease/approval tests or explicitly defer with owner/date.",
|
||||
"rollback_ready": true,
|
||||
"stop_line_triggered": "S4",
|
||||
"confidence": "high"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
pytest tests/test_idempotency.py tests/test_adapter_contract.py
|
||||
.... [100%]
|
||||
4 passed in 0.95s
|
||||
|
||||
gate_g2.py:
|
||||
{"duplicate_messages": 100, "processed_events": 1, "inbox": 1, "effects": 1, "one_effect": true, "loss_pending_before": "pending", "loss_published_after": "published", "relayed": 1, "loss_processed": 1, "loss_effects": 1, "recovered": true}
|
||||
|
||||
Note: one transient ConnectionRefusedError to 192.168.1.115:4222 before successful run.
|
||||
@@ -51,7 +51,7 @@ def check_core():
|
||||
try:
|
||||
d = get(HUB + "/status.json", 30)
|
||||
total = len(d.get("services") or [])
|
||||
down = len([s for s in (d.get("services") or []) if not s.get("up")])
|
||||
down = len([s for s in (d.get("services") or []) if not s.get("up") and not s.get("internal")])
|
||||
if total >= 70 and down <= 3:
|
||||
ok("службы", "%d всего, лежит %d" % (total, down))
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user