fix: spawn_test never raises — str-coerce env/command, wrap unexpected errors (#34) #41
Reference in New Issue
Block a user
Delete Branch "fix/34-spawn-test-env"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #34.
commandandenvkeys/values arestr()-coerced beforePopen(pasted JSON can legally carry numbers that never round-trip through the editor).spawn_testis now a fail-safe wrapper around_spawn_test_impl: any unexpected exception returns{"outcome": "error", ...}instead of escaping the tester thread — previously the GUI's Test launch / Test all buttons were left permanently disabled becausedonenever fired."error"maps to FAILED inhealth_from_spawn_resultand to the generic failure styling in_on_spawn_done(no GUI change needed).166→169 tests pass; ruff check/format clean.
🤖 Generated with Claude Code
8309e42dd8toc7b2c90518