Retire GET /workstreams/workplan-index with 410; railiance01 deploy runbook
Return 410 Gone for legacy workplan-index route (replacement /workplans/index). Add tests, update transition backlog, operator deploy evidence doc, and STATE-WP-0070 progress notes.
This commit is contained in:
parent
7e68f9e8e3
commit
14b7d8418d
7 changed files with 88 additions and 9 deletions
|
|
@ -189,8 +189,12 @@ class TestWorkstreams:
|
|||
|
||||
async def test_workplan_index_route(self, client):
|
||||
r = await client.get("/workstreams/workplan-index")
|
||||
assert r.status_code == 410
|
||||
assert r.headers["X-StateHub-Replacement"] == "/workplans/index"
|
||||
|
||||
r = await client.get("/workplans/index")
|
||||
assert r.status_code == 200
|
||||
assert "workstreams" in r.json()
|
||||
assert "workplans" in r.json()
|
||||
|
||||
async def test_workplan_bindings_sync_populates_index(self, client, tmp_path):
|
||||
await _create_domain(client)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue