← Back to Pull requests

Update Real-Time Event Streams docs for dropped events, batching, and retries #457

Merged
ajayvijayakumar123 merged 1 files (128 lines) on Nov 30, 2026 16:09 UTC
View on GitHub
ajayvijayakumar123 ajayvijayakumar123 commented on Nov 25, 2026 18:38 UTC
Author

Adds an "Events that are not delivered" section to Delivery and Reliability: payloads over 10 MB after the Liquid template is applied, Liquid render errors, and events older than 5 days are dropped without retry. Temporary issues on Mixpanel's side are retried; destination failures follow the retry policy.

Also updates docs that no longer match delivery behavior:

  • Batching: max batch size and envelope template are configurable; shows the default array body.

  • Retry policy: 4xx responses where the destination rejected the request are not retried; 408, 425 and 429 are. Backoff table corrected to 200ms doubling (about 3 seconds of delay).

  • Pausing: a Sync pauses on an auth error or when more than 50% of events fail in a 15-minute window. Overview, States and Rate limits link to Alerting on failure instead of restating it.

  • Failed Events Log: each entry includes a sample event and, when a response was received, the destination's response body.

  • Setup: event-type filtering mentions the All events option.
  • Diff: 128 lines (+96 / -32) across 1 files Reviewer: None requested Review duration: 7050m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.44) × (1 − Review Confidence (0.44)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.44 · 128 lines diff across 1 files
    0.44
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    44%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.291
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Real PR Conversation Timeline
    1 comments
    "Review active on #457"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    ajayvijayakumar123 ajayvijayakumar123
    Labels
    risk: low confidence: 44.2% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 44.1% (MEDIUM) · Higher = larger blast radius
    44.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 44.2% · Lower = rushed or shallow review
    44.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 24.6% · Safe to merge
    24.6%
    Repository