@@ -372,9 +372,6 @@ async fn evaluate_op_scope(
372372 AnalyzedReactiveOp :: Transform ( op) => {
373373 let transform_key = format ! ( "transform/{}{}" , op_scope. scope_qualifier, op. name) ;
374374
375- // eprintln!("🔍 DEBUG: Transform op '{}' (function: {}) starting, timeout: {:?}",
376- // op.name, op.op_kind, op.function_exec_info.timeout);
377-
378375 // Track transform operation start
379376 if let Some ( ref op_stats) = operation_in_process_stats {
380377 op_stats. start_processing ( & transform_key, 1 ) ;
@@ -395,8 +392,6 @@ async fn evaluate_op_scope(
395392 let op_kind_for_warning = op. op_kind . clone ( ) ;
396393 let warn_handle = tokio:: spawn ( async move {
397394 tokio:: time:: sleep ( warn_duration) . await ;
398- // eprintln!("WARNING: Function '{}' is taking longer than 30s", op_name_for_warning);
399- // warn!("Function '{}' is taking longer than 30s", op_name_for_warning);
400395 eprintln ! (
401396 "⚠️ WARNING: Function '{}' ({}) is taking longer than 30s" ,
402397 op_kind_for_warning, op_name_for_warning
@@ -429,7 +424,6 @@ async fn evaluate_op_scope(
429424 let timeout_result = tokio:: time:: timeout ( timeout_duration, eval_future) . await ;
430425 if timeout_result. is_err ( ) {
431426 Err ( anyhow ! (
432- // "Function '{}' timed out after {} seconds",
433427 "Function '{}' ({}) timed out after {} seconds" ,
434428 op. op_kind,
435429 op. name,
@@ -447,7 +441,6 @@ async fn evaluate_op_scope(
447441 let timeout_result = tokio:: time:: timeout ( timeout_duration, eval_future) . await ;
448442 if timeout_result. is_err ( ) {
449443 Err ( anyhow ! (
450- // "Function '{}' timed out after {} seconds",
451444 "Function '{}' ({}) timed out after {} seconds" ,
452445 op. op_kind,
453446 op. name,
@@ -468,40 +461,6 @@ async fn evaluate_op_scope(
468461 }
469462
470463 result. with_context ( || format ! ( "Evaluating Transform op `{}`" , op. name) ) ?
471- // let result = if op.function_exec_info.enable_cache {
472- // let output_value_cell = memory.get_cache_entry(
473- // || {
474- // Ok(op
475- // .function_exec_info
476- // .fingerprinter
477- // .clone()
478- // .with(&input_values)?
479- // .into_fingerprint())
480- // },
481- // &op.function_exec_info.output_type,
482- // /*ttl=*/ None,
483- // )?;
484- // evaluate_with_cell(output_value_cell.as_ref(), move || {
485- // op.executor.evaluate(input_values)
486- // })
487- // .await
488- // .and_then(|v| head_scope.define_field(&op.output, &v))
489- // } else {
490- // op.executor
491- // .evaluate(input_values)
492- // .await
493- // .and_then(|v| head_scope.define_field(&op.output, &v))
494- // }
495- // .with_context(|| format!("Evaluating Transform op `{}`", op.name,));
496-
497- // // Track transform operation completion
498- // if let Some(ref op_stats) = operation_in_process_stats {
499- // let transform_key =
500- // format!("transform/{}{}", op_scope.scope_qualifier, op.name);
501- // op_stats.finish_processing(&transform_key, 1);
502- // }
503-
504- // result?
505464 }
506465
507466 AnalyzedReactiveOp :: ForEach ( op) => {
0 commit comments