feat(STATE-WP-0064): enable cluster consistency sweep schedule

Enable the definition in k8s projection and pass activity-core source tags.
This commit is contained in:
2026-06-21 21:46:43 +02:00
parent adfd1a9067
commit faf5d60ae8
2 changed files with 5 additions and 4 deletions

View File

@@ -429,7 +429,7 @@ def test_consistency_sweep_remote_all_posts_batch(monkeypatch) -> None:
result = StateHubContextResolver().resolve(
"consistency_sweep_remote_all",
None,
{"max_seconds": 300, "required": True},
{"max_seconds": 300, "source": "activity-core", "required": True},
)
assert result["exit_code"] == 0
@@ -437,7 +437,7 @@ def test_consistency_sweep_remote_all_posts_batch(monkeypatch) -> None:
assert calls == [
{
"url": "http://state-hub.test/consistency/sweep/remote-all",
"json": {"max_seconds": 300},
"json": {"max_seconds": 300, "source": "activity-core"},
"timeout": 330.0,
}
]