Use /workplans routes in state_hub context resolver
Replace /workstreams/workplan-index and per-workplan fetches with /workplans/index
and /workplans/{id}; task list queries use workplan_id param.
This commit is contained in:
parent
2a841d91fe
commit
f314bfc7f2
2 changed files with 8 additions and 8 deletions
|
|
@ -65,7 +65,7 @@ def test_daily_triage_queries(monkeypatch) -> None:
|
|||
"timeout": 10.0,
|
||||
},
|
||||
{
|
||||
"url": "http://state-hub.test/workstreams/workplan-index",
|
||||
"url": "http://state-hub.test/workplans/index",
|
||||
"params": {"refresh": False},
|
||||
"timeout": 10.0,
|
||||
},
|
||||
|
|
@ -617,7 +617,7 @@ def test_daily_triage_digest_is_curated_scalar_json(monkeypatch) -> None:
|
|||
}
|
||||
],
|
||||
},
|
||||
"/workstreams/workplan-index": {
|
||||
"/workplans/index": {
|
||||
"workstreams": {
|
||||
"ws-1": {
|
||||
"repo_slug": "the-custodian",
|
||||
|
|
@ -648,7 +648,7 @@ def test_daily_triage_digest_is_curated_scalar_json(monkeypatch) -> None:
|
|||
"created_at": "2026-05-19T05:00:00Z",
|
||||
}
|
||||
],
|
||||
"/workstreams/ws-1": {
|
||||
"/workplans/ws-1": {
|
||||
"planning_priority": "high",
|
||||
"planning_order": 45,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue