Skip to content
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: add more debug logging to low level websocket event handlers #1757

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

filmaj
Copy link
Contributor

@filmaj filmaj commented Mar 15, 2024

also differentiate between primary and secondary websocket events in logs.

I have a suspicion that sometimes, both primary and secondary websockets could be briefly active and overlapping, however both websockets emit events into the SINGLE state machine configuration - I wonder if that could lead to unexpected state transitions (two websockets each with their own independent events being emitted into a single state machine).

NOTE: this change probably should cherry-picked into a new socket-mode-1.3.x maintenance branch, and a 1.3.4 patch release could be cut from that.

…lers, differentiate between primary and secondary websocket events in logs.
@filmaj filmaj added semver:patch enhancement M-T: A feature request for new functionality pkg:socket-mode applies to `@slack/socket-mode` labels Mar 15, 2024
@filmaj filmaj requested a review from a team March 15, 2024 16:29
@filmaj filmaj self-assigned this Mar 15, 2024
Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So much state! This'll be super helpful for debugging 🙌

@filmaj filmaj merged commit 6ab1e68 into main Mar 15, 2024
17 checks passed
@filmaj filmaj deleted the socket-mode-moar-debug-logs branch March 15, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement M-T: A feature request for new functionality pkg:socket-mode applies to `@slack/socket-mode` semver:patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants