Closed sw-joelmut closed 5 months ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
/libraries/AdaptiveExpressions/LRUCache.cs | 4 | 87.18% | ||
/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/AdaptiveDialog.cs | 57 | 88.72% | ||
<!-- | Total: | 61 | --> |
Totals | |
---|---|
Change from base Build 389234: | -0.009% |
Covered Lines: | 26184 |
Relevant Lines: | 33498 |
Fixes #6792
Description
This PR fixes an issue where QnA traces and requests to the CQA service were duplicated. This issue was related to how the QnA Intent recognized trigger is structured, it contains a TextInput and an Emit Custom Event. Both actions emit an "activityReceived" event, the first when an activity is received as a prompt response, and the second on purpose, which both execute the "recognized" functionality that triggers the duplication.
Specific Changes
Testing
The following image shows how it emits the double trace, and how it behaves after the fix.