Skip to content

fix #125#126

Merged
ValwareIRC merged 1 commit into
mainfrom
fix/sasl-auth
Jan 20, 2026
Merged

fix #125#126
ValwareIRC merged 1 commit into
mainfrom
fix/sasl-auth

Conversation

@matheusfillipe
Copy link
Copy Markdown
Contributor

@matheusfillipe matheusfillipe commented Jan 20, 2026

fixes #125
tested web and desktop build.

Summary by CodeRabbit

  • Bug Fixes
    • Improved IRC server authentication flow to ensure SASL authentication completes successfully before finalizing capability negotiation, enhancing connection stability and reliability.

✏️ Tip: You can customize this high-level summary in your review settings.

@github-actions
Copy link
Copy Markdown

Pages Preview
Preview URL: https://fix-sasl-auth.obsidianirc.pages.dev

Automated deployment preview for the PR in the Cloudflare Pages.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jan 20, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

The changes enhance CAP (Capability) negotiation in the IRC client by making it SASL-aware. When SASL authentication is enabled and acknowledged, CAP END is deferred until SASL completes. This applies to three scenarios: CAP LS finalization, CAP END timeout handling, and final CAP ACK acknowledgment.

Changes

Cohort / File(s) Change Summary
SASL-aware CAP negotiation
src/lib/ircClient.ts
Enhanced CAP (Capability) negotiation with conditional SASL coordination. Defers CAP END when SASL is enabled and acknowledged across: (1) CAP LS finalization logic, (2) CAP END timeout handling, (3) final CAP ACK acknowledgment processing

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 Oh CAP negotiations, now SASL aware!
The rabbit ensures protocols play fair,
No hasty goodbyes 'til auth is done,
A perfectly choreographed IRC run! ✨

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ValwareIRC ValwareIRC merged commit 2fed956 into main Jan 20, 2026
3 of 4 checks passed
zocram4cc pushed a commit to zocram4cc/ObsidianIRC that referenced this pull request Feb 17, 2026
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.

SASL not working [ FIXED ]

2 participants