this commit is basically a line-by-line copy of #135 to bring back the fix on master
How to test
reproduce the bug
using Botpress latest version, do a training on any bot and locate the following log in your terminal: [NLU] Engine Training worker successfully started on process with pid 92926.
once the training is done, run kill -9 92926 with the pid displayed in the log above
try training again, this should fail
package a new nlu bin from this branch
package a new nlu binary from source using cmd yarn package [--linux|--darwin|--win]
make sure the binary is located at <nlu-project-root>/dist/nlu-v0_1_9-YOUR_OS-x64
make sure this branches fixes the issue reproduced at step 1
copy the file created at step 2 and paste in <bp-root>/bin/nlu. This will override the previously used nlu server
try reproducing the issue like in step 1, but this time locate the following log in your terminal [NLU] Engine The following workers have died since last usage: [92926]. This indicates that the fix works.
Description
this commit is basically a line-by-line copy of #135 to bring back the fix on master
How to test
reproduce the bug
[NLU] Engine Training worker successfully started on process with pid 92926.
kill -9 92926
with the pid displayed in the log abovepackage a new nlu bin from this branch
yarn package [--linux|--darwin|--win]
<nlu-project-root>/dist/nlu-v0_1_9-YOUR_OS-x64
make sure this branches fixes the issue reproduced at step 1
<bp-root>/bin/nlu
. This will override the previously used nlu server[NLU] Engine The following workers have died since last usage: [92926]
. This indicates that the fix works.