Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

fix(auth): stop blocking OAuth callback on getThreadCount, fixing state_mismatch logins

merged#2825CedarCopilot

CedarCopilot wants to merge 1 commit into staging from fix/oauth-callback-blocking-getthreadcount

What Libra verified

  • Initial synchronization is limited to genuinely new inbound connections

    Libra ran this behavior against the change and confirmed the check detects when it breaks.

    Technical evidence
    • an outbound-only connection is left unchanged without checking synced-thread history
    • a non-outbound-only connection with an existing synced thread is left unchanged
    • a non-outbound-only connection with no synced threads starts the initial synchronization

    Changed code: auth-initial-sync.ts.

run 394b4631-03ae-4d00-98cf-ab99aa4a791b, completed Sep 18, 2026, 4:30 PM