Skip to content

fix(webhooks): hold subscription checkpoint on non-2xx delivery - #1769

Closed
EnriqueL8 wants to merge 2 commits into
mainfrom
fix-webhooks-non-2XX
Closed

fix(webhooks): hold subscription checkpoint on non-2xx delivery#1769
EnriqueL8 wants to merge 2 commits into
mainfrom
fix-webhooks-non-2XX

Conversation

@EnriqueL8

@EnriqueL8 EnriqueL8 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Proposed changes

Initial investigation into a bug on webhooks

Types of changes

  • Bug fix
  • New feature added
  • Documentation Update

Please make sure to follow these points

  • I have read the contributing guidelines.
  • I have performed a self-review of my own code or work.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generates no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • My changes have sufficient code coverage (unit, integration, e2e tests).

Webhook delivery previously acknowledged every event regardless of the HTTP
response, so a failed delivery (non-2xx, or a network error synthesised as a
502) advanced the subscription checkpoint and the event was never redelivered.

Also adds INFO-level logging of the outcome and the checkpoint offset(s), so
delivery success/hold is visible without enabling debug logging, and error
FF10486 for the held-delivery case.

Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>
@EnriqueL8
EnriqueL8 requested a review from a team as a code owner August 3, 2026 13:20
Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>
@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
internal/coremsgs/en_error_messages.go 0.00% <ø> (ø)
internal/events/webhooks/webhooks.go 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@EnriqueL8 EnriqueL8 closed this Aug 3, 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.

1 participant