You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… source is not emitting new values (#523)
* Fixes a bug first observed in [NVIDIA-AI-Blueprints/vulnerability-analysis](https://github.com/NVIDIA-AI-Blueprints/vulnerability-analysis) and reported in nv-morpheus/Morpheus#2086
* `AsyncioRunnable` will now call `on_state_update(state_t::Kill)` when an exception is caught
* Replace blocking call to `await_read` with `await_read_until` allowing `AsyncioRunnable` to check `stop_source.stop_requested()`
* Define new `await_read_until` method in `IEdgeReadable`, unfortunately this interface has numerous subclasses which all then needed new `await_read_until` methods, even though `EdgeChannelReader` is the only class that really needed it. Alternatives:
- In `AsyncSink` perform a static cast of `this->get_readable_edge()` to `EdgeChannelReader`
- Define `await_read_until` method in `IEdgeReadable` but give it an implementation that throws a non-impl exception (or asserts false)
Authors:
- David Gardner (https://github.com/dagardner-nv)
Approvers:
- Will Killian (https://github.com/willkill07)
URL: #523
Version
25.02, 24.10
Which installation method(s) does this occur on?
Source
Describe the bug.
Originally observed in
vulnerability-analysis
with Morpheus 24.10, and reproduced in Morpheus 25.02.Bug happens when:
HttpServerSourceStage
orPydanticHttpStage
the key here is that it's a source without a natural stop condition (ex: end of file)LLMEngine
and one of the Nodes raises an exceptionIn this situation:
At this point one of two things will cause the pipeline to exit:
Minimum reproducible example
Relevant log output
Click here to see error details
Full env printout
Click here to see environment details
Other/Misc.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: