feat: fix: WebSocket 切断問題を修正 (Closes #23)#57
Closed
LaphoqueRC wants to merge 4 commits into
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Created a dedicated WebSocketManager class to handle connection lifecycle, reconnection logic, and keepalive mechanism, replacing the existing ad-hoc WebSocket handling in the client.
Closes #23
Payout Wallet
SOL:
HZV6YPdTeJPjPujWjzsFLLKja91K2Ze78XeY8MeFhfK8ETH:
0x010A63e7Ee6E4925d2a71Bc93EA5374c9678869bRTC:
RTC2fe3c33c77666ff76a1cd0999fd4466ee81250ffTON:
UQC3yiapHm9Y7o06eFJq_emW_BjTUnPMYuqeAacTJw_uXiQeType of Change
What Was Built
src/websocket/manager.tssrc/websocket/types.tssrc/moltlaunch/client.tstest/websocket.test.tsChecklist
console.logor debugging code left behindTesting
additional testing: 7 tests pass covering connection management, reconnection backoff, keepalive functionality, timeout detection, cleanup, and error scenarios. Verified single reconnection per disconnect and proper listener cleanup.