Hence the subsequent poll query would always fetch the last activation. This can be checked in server logs. Below logs are based on changes in apache/openwhisk#4688 and log the result size. As seen the result size remains 1. To fix this we should set the pollSince to last activations activation.Start + 1
With #396 the activation poll internal
pollSince
time was set to activation start time. This ensured thatpollSince
moves forward with newer result.However this changed set the
pollSince
to lastactivation.Start
.https://github.com/apache/openwhisk-cli/blob/3669173ca7c69f5305b42260ba5c991d6a5694d6/commands/activation.go#L394-L409
Hence the subsequent poll query would always fetch the last activation. This can be checked in server logs. Below logs are based on changes in apache/openwhisk#4688 and log the result size. As seen the result size remains 1. To fix this we should set the
pollSince
to last activationsactivation.Start + 1
This was found as part of work being done for apache/openwhisk#4684