fix(runtime): emit workplan_id in progress posts (STATE-WP-0070 T04)
This commit is contained in:
parent
99f25b6427
commit
b8dac443f3
3 changed files with 7 additions and 4 deletions
|
|
@ -102,7 +102,7 @@ class TestExecuteLive:
|
|||
def test_posts_progress_event(self):
|
||||
plan = {
|
||||
"progress_events": [
|
||||
{"summary": "session note", "workstream_id": "ws-1", "event_type": "note"}
|
||||
{"summary": "session note", "workplan_id": "ws-1", "event_type": "note"}
|
||||
],
|
||||
"tasks_to_update": [],
|
||||
"tasks_to_flag": [],
|
||||
|
|
@ -113,6 +113,8 @@ class TestExecuteLive:
|
|||
mock_post.assert_called_once()
|
||||
payload = mock_post.call_args[1]["json"]
|
||||
assert payload["summary"] == "session note"
|
||||
assert payload["workplan_id"] == "ws-1"
|
||||
assert "workstream_id" not in payload
|
||||
|
||||
def test_patches_task_status(self):
|
||||
plan = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue