Repository navigation
fix(bot): honor delays after gotoFlow - #1276
harsh-thakkar7 wants to merge 2 commits into
Conversation
|
Antes de aprobar, necesitamos corregir una regresión en la interacción entre Lo reproduje en
El timeout de 450 ms solo acorta la reproducción; el predeterminado de ¿Podrías mantener la corrección por nodo y agregar un manejo controlado del timeout, propagando y respetando la cancelación, junto con un test de integración que exceda el timeout durante |
|
Listo, mantuve la corrección por nodo y agregué el manejo controlado del timeout:
Los 209 tests del paquete pasan (208 previos + el nuevo). |
|
Nota sobre CI: el job |
Signed-off-by: Harsh Thakkar <harsh-thakkar7@users.noreply.github.com>
3b92f7b to
50574a6
Compare
|
La re-ejecución del job |
Que tipo de Pull Request es?
Descripción
Fixes #877.
gotoFlowwaited once usingflowInstance.ctx.options.delay, which contains the final answer's options, and then sent the target answers without applying their individual delays. Consequently, consecutive delayedaddAnswermessages could be sent immediately, and the initial wait could use the wrong answer's delay.Changes
sendFlow.Verification
gotoFlowtests: 6/6 passed.pnpm test: all 29 monorepo test projects passed.pnpm --filter @builderbot/bot build: passed.