-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: named pipe issues #3627
fix: named pipe issues #3627
Conversation
Note: this is marked as a draft while we work to ensure this resolves the issue. |
Pull Request Test Coverage Report for Build 857639948
💛 - Coveralls |
ac089b7
to
fb8c4d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solid improvements, thank you Josh!
fb8c4d0
to
29367cc
Compare
This has been running stable in a sample bot for >24 hours so I think it's safe to say it works. |
29367cc
to
12a0e19
Compare
libraries/botframework-streaming/src/namedPipe/namedPipeServer.ts
Outdated
Show resolved
Hide resolved
12a0e19
to
dae157c
Compare
A bot running with this code actually did reproduce the customer issue. Let's hold off on this (converting back to a draft for now). EDIT: We have some confidence that this code, along with the web.config change here mitigates the issues we've seen with JS bots and Diretline ASE. |
dae157c
to
ff33d01
Compare
4e3cc33
to
9e62552
Compare
8954275
to
101c4ec
Compare
libraries/botframework-streaming/src/namedPipe/namedPipeServer.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
466e35a
to
257e868
Compare
- Remove unnecessary autoReconnect logic - Simplify connection management - Properly support client reconnection to incoming/outgoing servers
470f93d
to
04acee0
Compare
* fix: named pipe issues - Remove unnecessary autoReconnect logic - Simplify connection management - Properly support client reconnection to incoming/outgoing servers * fix: PR comments, failing tests * fix: "lock" sockets to mitigate split brain * test: no split brain * fix: reject listening only if server is listening * fix: naming for clarity * fix: clarify onListen doc string * feat: retry helper, use for named pipes * fix: handle retry edge cases
* fix: named pipe issues (#3627) * fix: named pipe issues - Remove unnecessary autoReconnect logic - Simplify connection management - Properly support client reconnection to incoming/outgoing servers * fix: PR comments, failing tests * fix: "lock" sockets to mitigate split brain * test: no split brain * fix: reject listening only if server is listening * fix: naming for clarity * fix: clarify onListen doc string * feat: retry helper, use for named pipes * fix: handle retry edge cases * bump: adal-node to 0.2.2 (#3705) Fixes #3704 * fix: ignore node_modules declarative assets (#3709) See microsoft/BotFramework-Composer#7916 for details.
Fixes #3472