Skip to content

fix(webhook): remove unused payload from retained delivery state (#2861 salvage) - #56945

Merged
teknium1 merged 3 commits into
mainfrom
salvage/2861-webhook-payload-retention
Jul 2, 2026
Merged

fix(webhook): remove unused payload from retained delivery state (#2861 salvage)#56945
teknium1 merged 3 commits into
mainfrom
salvage/2861-webhook-payload-retention

Conversation

@teknium1

@teknium1 teknium1 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Retained webhook delivery state no longer holds the full request payload — _delivery_info entries kept up to ~1MB of dead weight per delivery for the 1-hour idempotency TTL, and no consumer ever read it (all readers access only deliver / deliver_extra).

Salvage of #2861 by @VolodymyrBg (stale branch, cherry-picked onto current main with authorship preserved).

Changes

  • gateway/platforms/webhook.py: drop "payload": payload from the retained agent-mode deliver_config (the request-scoped deliver-only dict is untouched)
  • tests/gateway/test_webhook_adapter.py: remove the matching fixture key
  • scripts/release.py: AUTHOR_MAP entry for @VolodymyrBg

Validation

Before After
tests/gateway/test_webhook_adapter.py all pass
payload retained per delivery up to ~1MB × 1h TTL none

Infographic

infographic

Nous Research

@alt-glitch alt-glitch added type/perf Performance improvement or optimization P3 Low — cosmetic, nice to have comp/gateway Gateway runner, session dispatch, delivery platform/webhook Webhook / API server sweeper:risk-message-delivery Sweeper risk: may drop, duplicate, misroute, or suppress messages labels Jul 2, 2026
@teknium1
teknium1 merged commit 6546c58 into main Jul 2, 2026
31 checks passed
@teknium1
teknium1 deleted the salvage/2861-webhook-payload-retention branch July 2, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P3 Low — cosmetic, nice to have platform/webhook Webhook / API server sweeper:risk-message-delivery Sweeper risk: may drop, duplicate, misroute, or suppress messages type/perf Performance improvement or optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants