You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/04/13 18:42:44 UTC

[GitHub] [openwhisk-wskdebug] alexkli commented on issue #25: restoring action sometimes fails from vscode, then on next run polling fails

alexkli commented on issue #25: restoring action sometimes fails from vscode, then on next run polling fails
URL: https://github.com/apache/openwhisk-wskdebug/issues/25#issuecomment-613035464
 
 
   Turns out there was a bug that on the next run _after_ a failed shutdown (e.g. VS code killed `wskdebug` before it completed restoring the original action and the agent was left behind in place of the actual action), it did things in the wrong order:
   
   The agent was installed first, effectively doing a no op, since the agent was still there. Then it restored the original from the backup copy. And then it started to wait for invocations and expecting the agent to be there, while in fact the original action is present and `wskdebug` can't work properly.
   
   Fixed in #40.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services