From 02d93b2bf4748d0a1a79be24f84390e2d5b76fb2 Mon Sep 17 00:00:00 2001 From: HeshamHM28 Date: Thu, 14 Aug 2025 01:04:40 +0300 Subject: [PATCH 1/2] add missing args --- codeflash/api/cfapi.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codeflash/api/cfapi.py b/codeflash/api/cfapi.py index 48e7f92cf..5f388303c 100644 --- a/codeflash/api/cfapi.py +++ b/codeflash/api/cfapi.py @@ -203,6 +203,8 @@ def create_staging( generated_original_test_source: str, function_trace_id: str, coverage_message: str, + replay_tests: str, + concolic_tests: str, ) -> Response: """Create a staging pull request, targeting the specified branch. (usually 'staging'). @@ -243,6 +245,8 @@ def create_staging( "generatedTests": generated_original_test_source, "traceId": function_trace_id, "coverage_message": coverage_message, + "replayTests": replay_tests, + "concolicTests": concolic_tests, } return make_cfapi_request(endpoint="/create-staging", method="POST", payload=payload) From f3e2acd80c8a11db6fbda93f4881afe94cd4b04d Mon Sep 17 00:00:00 2001 From: Aseem Saxena Date: Wed, 13 Aug 2025 15:15:33 -0700 Subject: [PATCH 2/2] Update cfapi.py --- codeflash/api/cfapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codeflash/api/cfapi.py b/codeflash/api/cfapi.py index 5f388303c..2aff42a1a 100644 --- a/codeflash/api/cfapi.py +++ b/codeflash/api/cfapi.py @@ -203,8 +203,8 @@ def create_staging( generated_original_test_source: str, function_trace_id: str, coverage_message: str, - replay_tests: str, - concolic_tests: str, + replay_tests: str = "", + concolic_tests: str = "", ) -> Response: """Create a staging pull request, targeting the specified branch. (usually 'staging').