question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Replay dialog and terminate

See original GitHub issue

I’m submitting a…


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Expected Behavior

When I try to replay a dialog, I am expecting it to be terminated after the AMAZON.StopIntent or AMAZON.CancelIntent has been responded. In this way I will be able to run a pre-determined voice commands and add this part of our automation end to end testing.

Current Behavior

If I add now to the jenkins it hangs for ever and I had to explicitly kill the job.

Possible Solution

Option 1: We can have an additional cli argument --terminat that will signal the dialog command to terminate after the list of uttrances has been played. Option 2: Whenever the dialog finds a AMAZON.StopIntent or AMAZON.CancelIntent part of response, it terminates automatically.

Steps to Reproduce (for bugs)

Please create a dialog json and run the below command,

ask dialog -r test_dialog.json -o logs/output.log

For example code refer, https://github.com/reflexdemon/skill-sample-nodejs-hello-world

Context

I am unable to put the end-to-end integration testing to jenkins.

Your Environment

OS: macOS 10.13.6 Node: v8.11.2 NPM: 6.4.1 ASK: 1.5.3

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:7

github_iconTop GitHub Comments

4reactions
dorian-marchalcommented, Aug 15, 2019

Any news on this?

3reactions
btburton42commented, Nov 22, 2019

Can we get a status update? We have an end-to-end test runner project on hold pending resolution of this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Replay dialog with special commands support (like !quit) #56
If we append .quit to userInputs array in replay file, this feature cannot be attained since .quit command forces CLI to exit the...
Read more >
Replay Options - SQL Server Profiler - Microsoft Learn
This topic describes the options specified with the Replay Configuration dialog box. Note. We recommend using the Distributed Replay Utility for ...
Read more >
Log and replay functions - Tera Term
Push Close or Pause button on the logging dialog box if you finish the logging or temporarily stop. Pause button will change into...
Read more >
Automatic Protocol Replay by Binary Analysis - CiteSeerX
tion Replay. To replay an application dialog, we must determine what con- ditions are necessary for a host to accept the dialog and...
Read more >
Automatic Protocol Replay by Binary Analysis
tion Replay. To replay an application dialog, we must determine what con- ditions are necessary for a host to accept the dialog and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found