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
[socket-mode] Pass an agent to WebSocket in a proper way #1162
Conversation
Hey @g12i, thanks for catching this issue and sending a patch! I've added a couple reviewers, so someone will pick up it up shortly to confirm the bug and review the work. If you have some time, I think we should also consider adding a test to prevent regression. :) |
Hey @mwbrooks - trust me this is the first thing I wanted to do :)
I see |
@g12i oops, my bad! SocketMode is hot off the press and don't have specs written for it yet. We've been looking into a reliable way to run non-integration tests and will most likely draw inspiration from the SocketMode tests for Bolt Python and Java. |
Co-authored-by: Wojciech Grzebieniowski <grzebieniowski@gmail.com>
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.
Thanks for catching this!
Summary
Fix passing an agent to
WebSocket
.this.clientOptions.agent
was wrongly spread to WebSocket options, which effectively mean it wasn't used.Requirements (place an
x
in each[ ]
)