Skip to content

Fix email webhook hanging and interaction analyzer bug#629

Merged
bokelley merged 2 commits into
mainfrom
bokelley/email-tracking-fix-2
Jan 5, 2026
Merged

Fix email webhook hanging and interaction analyzer bug#629
bokelley merged 2 commits into
mainfrom
bokelley/email-tracking-fix-2

Conversation

@bokelley

@bokelley bokelley commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Added 25s timeout to Anthropic API calls to prevent webhook hangs
  • Fixed organization_domains column name bug in interaction-analyzer
  • Enhanced logging to track insight extraction progress

Root Cause

Email webhook was stopping at insight extraction due to Anthropic API calls not returning. The timeout prevents indefinite hangs and falls back to simple extraction on timeout. Also fixed a separate database query bug with incorrect column reference.

🤖 Generated with Claude Code

bokelley and others added 2 commits January 5, 2026 12:32
The column is workos_organization_id, not organization_id.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley force-pushed the bokelley/email-tracking-fix-2 branch from 0f07ee8 to eb2e3e5 Compare January 5, 2026 17:34
@bokelley bokelley merged commit 7bcb723 into main Jan 5, 2026
6 checks passed
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