Open
Conversation
…ng for warnings and errors
…cleaning up expired contexts
…r and ProxyServerSystem
…ly and enhance authIndex validation in addConnection
…background wakeup logic
…ditions during concurrent initialization
…stability during account operations
…e task handling during preload
…ndling for account deletion
…dation - Add _safeCloseWebSocket() helper method to both ConnectionRegistry and ProxyServerSystem - Check WebSocket readyState before calling close() to avoid errors on already closing/closed connections - Replace silent error ignoring with proper logging (warn level for failures, debug for already-closed) - Apply safe close to all WebSocket termination points: invalid authIndex validation and duplicate connection handling - Improves robustness and debuggability by logging close failures instead of silently ignoring them Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…p operations - Replace /* ignore */ comments with descriptive warning logs in ConnectionRegistry and RequestHandler - Log failed message queue closures with request ID for better debugging - Log failed context closures with account index and error message - Improves observability and debugging capabilities for cleanup operations - Maintains non-blocking behavior while providing visibility into failures Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…ing account deletions
…to prevent race conditions
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.
中文:
由于近期 AIStudio 更新,原有的账号登录逻辑已发生变更,导致该分支的多账号同时登录功能暂时不兼容。请等待后续开发与适配更新。
English:
Due to recent updates to AIStudio, the original account login logic has changed, causing the multi-account concurrent login feature in this branch to become incompatible. Please wait for further development and compatibility updates.
支持多个账号同时登录,切换账号的时间降低到2秒。
Support multiple accounts to log in simultaneously, reducing the time to switch accounts to 2 seconds.