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
|
|
@ -98,7 +98,7 @@ def test_post_missed_fire_alert_dual_writes_workplan_scope(monkeypatch) -> None:
|
|||
assert result["status"] == "posted"
|
||||
body = posts[0]["json"]
|
||||
assert body["workplan_id"] == "wp-123"
|
||||
assert body["workstream_id"] == "wp-123"
|
||||
assert "workstream_id" not in body
|
||||
|
||||
|
||||
def test_no_interval_and_no_fire_is_not_flagged() -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue