Skip to content

fix: send auth_result for auto-authenticated sockets#3440

Merged
siddseethepalli merged 1 commit into
mainfrom
swarm/task-2
Feb 17, 2026
Merged

fix: send auth_result for auto-authenticated sockets#3440
siddseethepalli merged 1 commit into
mainfrom
swarm/task-2

Conversation

@siddseethepalli
Copy link
Copy Markdown
Contributor

@siddseethepalli siddseethepalli commented Feb 17, 2026

Summary

When hasSocketOverride() auto-authenticates a connection, the server now sends auth_result so clients with session tokens don't hang waiting for the auth handshake. Also handles the case where an already-authenticated socket sends an auth message by responding with auth_result instead of silently dropping it.

Addresses feedback from codex and devin on #3431.

🤖 Generated with Claude Code


Open with Devin

When hasSocketOverride() auto-authenticates a connection, the server now
sends auth_result so clients with session tokens don't hang waiting for
the auth handshake. Also handles the case where an already-authenticated
socket sends an auth message by responding with auth_result instead of
dispatching it to the message handler (which doesn't handle auth).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@siddseethepalli siddseethepalli self-assigned this Feb 17, 2026
@siddseethepalli siddseethepalli merged commit e9f443e into main Feb 17, 2026
1 check failed
@siddseethepalli siddseethepalli deleted the swarm/task-2 branch February 17, 2026 05:51
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ba41d59966

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread assistant/src/daemon/server.ts
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

View 4 additional findings in Devin Review.

Open in Devin Review

Comment thread assistant/src/daemon/server.ts
@siddseethepalli
Copy link
Copy Markdown
Contributor Author

Addressed in #3521

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant