From a4ec5260390192ca07e01f2b6194b96b1d894ee9 Mon Sep 17 00:00:00 2001 From: Marius Ciepluch <11855163+norandom@users.noreply.github.com> Date: Tue, 6 Oct 2026 08:21:37 +0200 Subject: [PATCH] tests: verify task identities are plain ids; the prefix is the workload kind [skip ci] Co-Authored-By: Claude Fable 5.1 --- tests/test_search_verify_transport.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_search_verify_transport.py b/tests/test_search_verify_transport.py index f4c1e20..cf812d7 100644 --- a/tests/test_search_verify_transport.py +++ b/tests/test_search_verify_transport.py @@ -48,7 +48,9 @@ def test_dispatch_uses_fresh_tasks_and_only_data(tmp_path): assert result.isolation_mode == "task-boundary" assert len(result.runs) == 3 assert len(calls) == 3 and calls[0].id != calls[1].id - assert all(i.id.startswith("search-verify-") for i in calls) + # The operator egress rules match the task-name prefix, which comes from the workload kind. + assert all(len(i.id) == 32 and i.id.isalnum() for i in calls) + assert len({i.id for i in calls}) == 3 @pytest.mark.parametrize(