Botframework-sdk: TranscriptLoggerMiddleware bug investigation

Created on 20 Aug 2019  路  7Comments  路  Source: microsoft/botframework-sdk

Describe the bug

The current JS implementation of handling invoke activities in Teams doesn't create an id for the activity that is sent from the bot.

This breaks the FileTranscriptStore used in the TranscriptLoggerMiddleware. (FileTranscriptStore uses activity.id as the temporary file name before it receives the activity from the service)

While this bug is already fixed, we need to determine how to test the new Teams code with the already existing code in our libraries.

Potential touch points:

  • State management
  • Transcripts
  • Invoke Handling followed by a Dialog

[bug]

bug investigate

All 7 comments

Transferring this issue to the botframework-sdk repository. We need to draw up a list of touch points and have one of the support engineers or another engineer help with testing the list.

Middleware bug in the Transcript Logger.

@jwiley84 Please sync with @stevengum regarding the investigation that needs to happen here.

It seems OK that Invokes are different in the transcript. Specifically Invokes are just regular HTTP POSTs plumbed into the framework. The outbound activity is just a mockup in the framework world. On the wire it is just an HTTP POST response payload. The id is intrinsically the request id.

So what we need to know is that the transcript code doesn't crash or behavior horribly when we send Invoke activities.

@stevengum & @jwiley84 please sync on this to close out

@CoHealer I'll sync with @jwiley84 today

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arpan14 picture arpan14  路  3Comments

Arimov picture Arimov  路  3Comments

mattlanham picture mattlanham  路  3Comments

bluekite2000 picture bluekite2000  路  4Comments

kenyeung128 picture kenyeung128  路  3Comments