nushell/crates/nu-plugin/src
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
..
plugin Add plugin error propagation on write/flush (#12670) 2024-04-26 06:23:58 -05:00
protocol Futher improve messages related to error propagation on plugin calls (#12646) 2024-04-24 08:39:04 -05:00
serializers Switch plugin msgpack protocol to named format (#12580) 2024-04-19 07:50:51 -05:00
util Fix (and test) for a deadlock that can happen while waiting for protocol info (#12633) 2024-04-24 08:44:04 -05:00
lib.rs Rename plugin cache file ⇒ plugin registry file (#12634) 2024-04-24 17:40:39 -05:00
sequence.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00