imbajin commented on issue #360:
URL: https://github.com/apache/hugegraph-ai/issues/360#issuecomment-4645467437

   Thanks @Muawiya-contact, yes, please feel free to open a PR for this.
   
   The fix should be small: after the streaming `async for` loop in the 
`pipeline is None` branch, add a bare `return` after `manager.add(pipeline)` so 
it does not fall through into the reuse path.
   
   Please also add a focused scheduler regression test for the 
no-reusable-pipeline case (`manager.fetch()` returns `None`) and assert the 
pipeline is built/run/streamed only once.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to