generated from coulomb/repo-seed
Implement post-triage operational hardening
This commit is contained in:
@@ -235,7 +235,7 @@ def test_daily_triage_digest_is_curated_scalar_json(monkeypatch) -> None:
|
||||
payloads = {
|
||||
"/state/summary": {
|
||||
"generated_at": "2026-05-19T05:20:00Z",
|
||||
"totals": {"tasks": {"todo": 4, "blocked": 1}},
|
||||
"totals": {"tasks": {"todo": 4, "wait": 1}},
|
||||
"topics": [
|
||||
{
|
||||
"slug": "custodian",
|
||||
@@ -306,7 +306,7 @@ def test_daily_triage_digest_is_curated_scalar_json(monkeypatch) -> None:
|
||||
{
|
||||
"id": "task-2",
|
||||
"title": "T06 - Canary Cutover",
|
||||
"status": "blocked",
|
||||
"status": "wait",
|
||||
"priority": "medium",
|
||||
"needs_human": True,
|
||||
},
|
||||
@@ -331,13 +331,13 @@ def test_daily_triage_digest_is_curated_scalar_json(monkeypatch) -> None:
|
||||
|
||||
import json
|
||||
digest = json.loads(raw_digest)
|
||||
assert digest["totals"] == {"tasks": {"todo": 4, "blocked": 1}}
|
||||
assert digest["totals"] == {"tasks": {"todo": 4, "wait": 1}}
|
||||
assert digest["open_workstreams"][0]["slug"] == "cust-wp-0045"
|
||||
assert digest["open_workstreams"][0]["planning_priority"] == "high"
|
||||
assert digest["open_workstreams"][0]["open_task_counts"] == {
|
||||
"wait": 1,
|
||||
"todo": 1,
|
||||
"in_progress": 0,
|
||||
"blocked": 1,
|
||||
"progress": 0,
|
||||
"needs_human": 1,
|
||||
"open_total": 2,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user