nushell/crates/nu-plugin/src/plugin
Devyn Cairns d126793290
Add plugin error propagation on write/flush (#12670)
# Description
Yet another attempt to fix the `stress_internals::test_wrong_version()`
test...

This time I think it's probably because we are getting a broken pipe
write error when we try to send `Hello` or perhaps something after it,
because the pipe has already been closed by the reader when it saw the
invalid version. In that case, an error should be available in state. It
probably makes more sense to send that back to the user rather than an
unhelpful I/O error.

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`
2024-04-26 06:23:58 -05:00
..
communication_mode Local socket mode and foreground terminal control for plugins (#12448) 2024-04-15 18:28:18 +00:00
interface Add plugin error propagation on write/flush (#12670) 2024-04-26 06:23:58 -05:00
command.rs Improve handling of custom values in plugin examples (#12409) 2024-04-05 21:57:20 -05:00
context.rs Refactor using ClosureEval types (#12541) 2024-04-22 14:15:09 +08:00
declaration.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
gc.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
interface.rs Local socket mode and foreground terminal control for plugins (#12448) 2024-04-15 18:28:18 +00:00
mod.rs Rename plugin cache file ⇒ plugin registry file (#12634) 2024-04-24 17:40:39 -05:00
persistent.rs Local socket mode and foreground terminal control for plugins (#12448) 2024-04-15 18:28:18 +00:00
process.rs Local socket mode and foreground terminal control for plugins (#12448) 2024-04-15 18:28:18 +00:00
source.rs Improve handling of custom values in plugin examples (#12409) 2024-04-05 21:57:20 -05:00