Skip to content

Add structured log for webhook flagged as failing after all retries exhausted #587

Description

@Chucks1093

Summary

When a webhook exhausts all delivery retries and is flagged as failing, an error-level log should be emitted with enough context for an operator to identify the webhook and manually investigate the callback URL.

Scope

  • Emit a structured error log when a webhook is flagged failing after retry exhaustion with fields: webhook_id, creator_id, event_type, total_attempts, last_error_code, flagged_at
  • Callback URL must not appear in the log — use the masking helper
  • Log is emitted once per exhaustion event, not on each failed attempt

Acceptance Criteria

  • Error log emitted exactly once on retry exhaustion
  • All six fields present with correct values
  • Callback URL absent from log output
  • Log not emitted on individual retry failures (those use the existing retry log)

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions