From f8aad2fa29fae604b04eb9c9933101d5815a91f8 Mon Sep 17 00:00:00 2001 From: kerry Date: Wed, 30 Sep 2026 23:39:28 +0000 Subject: [PATCH] Revert "test(code-quality): allow the bounded semantic cache prompt walkers in the recursion check" This reverts commit 39efb5d9da8292844a9844e01d095702b11ecec4. --- tests/code_coverage_tests/recursive_detector.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/code_coverage_tests/recursive_detector.py b/tests/code_coverage_tests/recursive_detector.py index e071e177f88..659dc438f2d 100644 --- a/tests/code_coverage_tests/recursive_detector.py +++ b/tests/code_coverage_tests/recursive_detector.py @@ -72,10 +72,6 @@ IGNORE_FUNCTIONS = [ "_string_leaves", # bounded by the nesting depth of a safe_json_structure output (a finite JSON tree, no cycles possible). "_replace_string_leaves", # bounded by the nesting depth of a safe_json_structure output (a finite JSON tree, no cycles possible). "_sort_processed_sets", # bounded by the nesting depth of the log-record extra it walks (a finite JSON tree, no cycles possible). - "_content_prompt", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible). - "_responses_input_parts", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible). - "_normalized", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible). - "_call_ids", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible). "scrub_json_strings", # max depth set (MAX_SCRUB_DEPTH); fails closed by returning "[Filtered]" for anything nested past the cap. ]