From 8ebe2d5232debc6ce2a620b9ce1cc6837ea8aee3 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 27 May 2026 09:15:17 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A7=AA=20Add=20tests=20for=20split=5F?= =?UTF-8?q?filter=5Fids=5Ffor=5Ffallback?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: SatoryKono <13055362+SatoryKono@users.noreply.github.com> --- .../adapters/common/test_fetch_retry_policy.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/unit/infrastructure/adapters/common/test_fetch_retry_policy.py b/tests/unit/infrastructure/adapters/common/test_fetch_retry_policy.py index a1aa170acf..2125abb1b9 100644 --- a/tests/unit/infrastructure/adapters/common/test_fetch_retry_policy.py +++ b/tests/unit/infrastructure/adapters/common/test_fetch_retry_policy.py @@ -314,3 +314,18 @@ async def primary_records() -> AsyncIterator[dict[str, object]]: assert [str(item["id"]) for item in results] == ["p1"] assert fallback.calls == [] + + +def test_split_filter_ids_for_fallback_custom_marker() -> None: + primary, title_only = split_filter_ids_for_fallback( + ["10.1/a", "__custom_marker_0__", "10.2/b"], + title_only_marker_prefix="__custom_marker_", + ) + assert primary == ["10.1/a", "10.2/b"] + assert title_only == ["__custom_marker_0__"] + + +def test_split_filter_ids_for_fallback_empty_input() -> None: + primary, title_only = split_filter_ids_for_fallback([]) + assert primary == [] + assert title_only == [] From f0899ac6911c71716fb12e11f1037ce63d376117 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 27 May 2026 09:25:50 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A7=AA=20Add=20custom=20marker=20and?= =?UTF-8?q?=20empty=20input=20tests=20for=20`split=5Ffilter=5Fids=5Ffor=5F?= =?UTF-8?q?fallback`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: SatoryKono <13055362+SatoryKono@users.noreply.github.com>