Back to feed
Dev.to
Dev.to
8/3/2026
The original headline is: "How a 60-Day Sliding Window Flooded Our Slack with 500 Duplicate Alerts"

The original headline is: "How a 60-Day Sliding Window Flooded Our Slack with 500 Duplicate Alerts"

Original: How a 60-Day Sliding Window Flooded Our Slack with 500 Duplicate Alerts

Short summary

A 60-day sliding window in a dev.to crosspost script caused hundreds of duplicate Slack alerts because aged-out articles fell outside the lookback range, triggering recreation attempts and 422 errors on every CI run. A well-intentioned auto-update feature for stale publishAfter dates created a commit-push-CI loop that amplified the problem. The fix was to remove the time window entirely and fetch all published articles with pagination.

  • 60-day sliding window in crosspost script caused duplicate 422 errors and Slack spam on every CI run
  • Auto-updating stale publishAfter dates created a commit-push-CI loop that amplified the alert storm
  • Fix: remove time window entirely and fetch all published articles with pagination

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more