feat(consistency): rebuild authoritative intake IDs
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Multi-Context Image / build-and-push (push) Successful in 23s

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a023c0-a0a3-7c03-b395-5a0d2757214d
This commit is contained in:
tegwick 2026-08-22 12:23:43 +02:00
parent 03c7924b7f
commit 059de9358e
5 changed files with 68 additions and 6 deletions

View file

@ -407,6 +407,17 @@ class TestTasks:
# ---------------------------------------------------------------------------
class TestDecisions:
async def test_create_preserves_explicit_authoritative_id(self, client):
await _create_domain(client)
topic = await _create_topic(client)
expected = "22222222-2222-4222-8222-222222222222"
r = await client.post(
"/decisions/",
json={"id": expected, "title": "File decision", "topic_id": topic["id"]},
)
assert r.status_code == 201
assert r.json()["id"] == expected
async def test_create_and_resolve(self, client):
await _create_domain(client)
topic = await _create_topic(client)