From 290aca45be2616d3e72064ef7adcb754c58f8a25 Mon Sep 17 00:00:00 2001 From: Moe Khalil Date: Fri, 30 Oct 2026 18:42:52 +0000 Subject: [PATCH] fix(ci): allow bounded Responses API retry recursion Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/code_coverage_tests/recursive_detector.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/code_coverage_tests/recursive_detector.py b/tests/code_coverage_tests/recursive_detector.py index 9b61c1d39ae..7895cf44652 100644 --- a/tests/code_coverage_tests/recursive_detector.py +++ b/tests/code_coverage_tests/recursive_detector.py @@ -86,6 +86,9 @@ IGNORE_FUNCTIONS = [ "scrub_json_strings", # max depth set (MAX_SCRUB_DEPTH); fails closed by returning "[Filtered]" for anything nested past the cap. "_without_requester_ip_address", # walks only the fresh tree _sanitize_request_body_for_spend_logs_payload returns (mapping cycles already cut), so it never goes deeper than that sanitizer did. "_merge_session_fields", # max depth set (_SESSION_MERGE_MAX_DEPTH); deeper mappings are replaced wholesale by the later session.update. + "response_api_handler", # fallback params switch to json_object, so only one retry can occur. + "_read_stream_head", # bounded to three unique lifecycle events and one terminal event. + "_aread_stream_head", # bounded to the same lifecycle events as its sync counterpart. ]