Skip to content

Commit b363acd

Browse files
committed
temp
1 parent 271c5a3 commit b363acd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

codeflash/optimization/optimizer.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,12 @@ def run(self) -> None:
283283
return
284284

285285
function_to_tests, _ = self.discover_tests(file_to_funcs_to_optimize)
286+
# --- TEMPORARY: Early exit after test discovery to avoid full optimization run ---
287+
# This is intentionally hard-coded (no CLI flag) per request.
288+
console.rule()
289+
logger.info("Forced early exit after test discovery (temporary). Skipping optimization phase.")
290+
return
291+
# -------------------------------------------------------------------------------
286292
if self.args.all:
287293
self.functions_checkpoint = CodeflashRunCheckpoint(self.args.module_root)
288294

0 commit comments

Comments
 (0)