Fix/validate run save params (#1630)
* fix: validate run save parameters * test: add test for fmt * fix test * fix: normalize save policy case * fix: support path objects for save glob * fix: guard save policy type * Wrap resolve_save_paths in safe.block Replace the previous try/except around path resolution with a safe.block context to centralize error handling and ensure failures produce a single fallback behavior (returning None). The resolve_save_paths docstring and parameter docs were translated to Chinese and clarified behavior for relative vs absolute globs. Tests adjusted: the monkeypatched console.error stub now accepts kwargs (appends args or kwargs) to match the refactored error handling. --------- Co-authored-by: Kang Li <cunykang@gmail.com>
N
neyuki committed
fd71cca008f1967a7de457e6ec846dbbaf0047b4
Parent: 91ddcdb
Committed by GitHub <noreply@github.com>
on 5/23/2026, 12:22:49 PM