File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -392,7 +392,8 @@ where
392392 // Send stop signal — use send().await to ensure delivery for critical control-plane command.
393393 // This is safe because stop signals are rare and waiting for queue space is acceptable.
394394 if let Some ( tx) = self . command_tx . read ( ) . await . as_ref ( ) {
395- tx. send ( SchedulerCommand :: Stop ) . await
395+ tx. send ( SchedulerCommand :: Stop )
396+ . await
396397 . map_err ( |e| CanoError :: Workflow ( format ! ( "Failed to send stop: {}" , e) ) ) ?;
397398 } else {
398399 return Err ( CanoError :: Workflow (
Original file line number Diff line number Diff line change @@ -403,8 +403,13 @@ mod tests {
403403 assert ! ( result. is_err( ) ) ;
404404
405405 // Verify the original value is still in the store (non-destructive error)
406- let retrieved: String = store. get ( key) . expect ( "Value should still exist after append error" ) ;
407- assert_eq ! ( retrieved, original_value, "Original value should be preserved after type mismatch" ) ;
406+ let retrieved: String = store
407+ . get ( key)
408+ . expect ( "Value should still exist after append error" ) ;
409+ assert_eq ! (
410+ retrieved, original_value,
411+ "Original value should be preserved after type mismatch"
412+ ) ;
408413 }
409414
410415 #[ test]
You can’t perform that action at this time.
0 commit comments