Stop dual-writing workstream_id on State Hub progress POSTs
Progress scope helpers and schedule-miss alerts now send workplan_id only. Legacy workstream_id in sink config still maps to workplan_id on the wire.
This commit is contained in:
parent
f171bb037a
commit
5a9292319e
6 changed files with 10 additions and 12 deletions
|
|
@ -117,7 +117,7 @@ def test_state_hub_progress_sink_posts(monkeypatch) -> None:
|
|||
]
|
||||
assert posts[0]["url"] == "http://state-hub.test/progress/"
|
||||
assert posts[0]["json"]["workplan_id"] == "workstream-1"
|
||||
assert posts[0]["json"]["workstream_id"] == "workstream-1"
|
||||
assert "workstream_id" not in posts[0]["json"]
|
||||
assert posts[0]["json"]["detail"]["activity_core_run_id"] == payload_run_id()
|
||||
assert posts[0]["json"]["detail"]["output_validated"] is True
|
||||
assert posts[0]["json"]["detail"]["review_required"] is False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue