test(code-quality): allow the bounded semantic cache prompt walkers in the recursion check

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
kerry 2026-09-30 23:15:34 +00:00
parent 5aed3ab3de
commit 39efb5d9da

View file

@ -72,6 +72,10 @@ 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.
]