CLIRuleTests fail, because action is not found
In the last days we had the issue, that CLIRuleTests failed. On looking into it, we realized, that the failed actions took old activations with the same name.
On looking into the old activations, that were probably taken, there is the error:
failed to invoke action [email protected]/A_421: not found on 'get'
My assumption is, that this happens because of the eventually consistency of the database. In the test, the action and the rule are created and invoked immediatly after creating. I think an check, if the action is already there should be inserted.
From out of band exchanges, I recall the doc not found error occurred at the invoker. The controller does not post activation requests for actions that do not exist. When it does request an activation, it does so by document id and revision. While it's possible for the document to be deleted between the time the activation is posted and when the invoker acts on it, in practice the db compaction does not happen that quickly to where the document no longer exists and a different error is expected any how (there should be a tombstone in place).
I'm not convinced we have enough evidence to call this a bug (a defect where exactly?).