From 0f73fbfa9bef768f34bf427441054736fbdb9753 Mon Sep 17 00:00:00 2001 From: mateo Date: Thu, 13 Aug 2026 20:40:36 +0000 Subject: [PATCH] chore(ci): allow the bounded OpenAPI $ref inliners in the recursive-function check Both are bounded: the ref walk carries a seen-set cycle guard and the rest of the walk is limited by the spec's finite JSON-schema depth. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/code_coverage_tests/recursive_detector.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/code_coverage_tests/recursive_detector.py b/tests/code_coverage_tests/recursive_detector.py index 5bd6326d8f2..c2166ba70d5 100644 --- a/tests/code_coverage_tests/recursive_detector.py +++ b/tests/code_coverage_tests/recursive_detector.py @@ -60,6 +60,8 @@ IGNORE_FUNCTIONS = [ "json_string_leaves", # max depth set (MAX_STRUCTURED_CONTENT_SCAN_DEPTH); fails closed by raising at the cap so nothing goes unscanned. "with_json_string_leaves", # transitively bounded: only runs on a tree json_string_leaves already walked under the cap. "json_unrewritable_labels", # max depth set (MAX_STRUCTURED_CONTENT_SCAN_DEPTH); returns the None sentinel at the cap so the caller blocks. + "_inline_schema_refs", # OpenAPI: bounded by the `seen` ref cycle guard and by the spec's finite JSON-schema depth. + "_inlined_schema_value", # OpenAPI: transitively bounded, it only walks what _inline_schema_refs already bounded. ]